BR-CO-10
The sum of the line net amounts (BT-106) does not equal the line amounts added up.
Official rule text
Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
Quoted unchanged from CEN EN 16931 Schematron 1.3.16.
Worked example
Three lines of 7 units at €1.4292 net each. Each line comes to €10.0044; the invoice shows each line net amount (BT-131) rounded to €10.00.
Wrong: the software adds the unrounded amounts (€30.0132) and rounds only the total. BT-106 then says €30.01, but the lines add up to €30.00. The validator reports BR-CO-10.
Right: BT-106 is the sum of the rounded line amounts, €30.00. That is exactly how the rule calculates: it adds the BT-131 values and compares to the cent.
Correct in the XML
UBL: <cac:LegalMonetaryTotal>
<cbc:LineExtensionAmount currencyID="EUR">30.00</cbc:LineExtensionAmount>
CII: <ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>30.00</ram:LineTotalAmount>Usual causes
- The total was built from unrounded line amounts, as in the example.
- A line was changed or deleted after the total was calculated.
- Document-level allowances or charges were counted in BT-106. They belong in BT-107 and BT-108, not in the sum of the lines.
What to do
BT-106 must be the exact sum of all line net amounts (BT-131), to the cent. The cause is usually rounding: round each line net amount to two decimals first, then add the rounded amounts up.
If you received the invoice, send the issuer the rule code and ask for a corrected e-invoice. If you made it, correct the value in your invoicing software and check the file again.
Where it is in the XML
- UBL
- cac:LegalMonetaryTotal/cbc:LineExtensionAmount
- CII
- ram:SpecifiedTradeSettlementHeaderMonetarySummation/ram:LineTotalAmount
Which invoices it applies to
Every e-invoice that follows the European standard EN 16931, for example XRechnung, ZUGFeRD and Peppol BIS.
Level
Error: a file that breaks this rule is not valid.