Provide the net total of invoice lines

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 the summary. This element contains the sum of the net amounts of the invoice lines (BT-106).

What the rule means

BT-106 represents the sum of the net amounts of all invoice lines and is part of the invoice monetary summary.

Affected fields BT-106
Please provide the net total of the invoice lines

The net total of the invoice lines is missing from the invoice monetary summary. Add this amount to complete the summary.

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

The check requires ram:LineTotalAmount to be present in the context of ram:SpecifiedTradeSettlementHeaderMonetarySummation.

Where the rule applies

Applies to the invoice monetary summary in ram:SpecifiedTradeSettlementHeaderMonetarySummation.

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