Provide the amount due for payment

Error BR-15 EN 16931

An Invoice shall have the Amount due for payment (BT-115).

Mandatory rule: As long as it is violated, the invoice is invalid and will be rejected by validators.
What is wrong

ram:DuePayableAmount, which contains the amount still due for payment, is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation.

What the rule means

The amount still due is a required invoice value. It states the amount due for payment.

Affected fields BT-115
Please provide the amount still due for payment

The invoice totals are missing the amount still due for payment. Add ram:DuePayableAmount so that this amount is stated in the invoice.

What to do
  1. Add ram:DuePayableAmount to ram:SpecifiedTradeSettlementHeaderMonetarySummation.
  2. Check the value of DuePayableAmount.
  3. Generate the invoice again and validate it again.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
✓ Correct
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:DuePayableAmount>119.00</ram:DuePayableAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Check in FactoorSharp
  • FacturXInvoice.DuePayableAmount (BT-115)
Technical details

The test requires ram:DuePayableAmount to be present in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.

Where the rule applies

The rule applies to the invoice totals in ram:SpecifiedTradeSettlementHeaderMonetarySummation.

Context (rule/@context)
//ram:SpecifiedTradeSettlementHeaderMonetarySummation
Test expression (assert/@test)
(ram:DuePayableAmount)