Provide the sum of invoice line net amounts

Error BR-12 EN 16931

An Invoice shall have the Sum of Invoice line net amount (BT-106).

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

ram:LineTotalAmount is missing from ram:SpecifiedTradeSettlementHeaderMonetarySummation. As a result, the sum of invoice line net amounts is not provided.

What the rule means

ram:LineTotalAmount contains the sum of the net amounts of all invoice lines. This amount is a required part of the invoice totals.

Affected fields BT-106
Please add the sum of invoice line net amounts

The invoice totals are missing ram:LineTotalAmount. Add the total amount so that the net amounts of the invoice lines are reported.

What to do
  1. Check FacturXInvoice.LineTotalAmount.
  2. Provide the sum of the invoice line net amounts.
  3. Generate the invoice again and validate it.
What it looks like
✗ Triggers the message
<ram:SpecifiedTradeSettlementHeaderMonetarySummation/>
✓ Correct
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>100.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
Check in FactoorSharp
  • FacturXInvoice.LineTotalAmount (BT-106)
Technical details

The test (ram:LineTotalAmount) checks for the presence of the element 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:LineTotalAmount)