E-invoice rule explained · EN 16931
BR-CO-10: Sum of line net amounts does not match the invoice lines
Official message
Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-106, BT-131
What does BR-CO-10 mean?
The sum of invoice line net amounts in the totals (BT-106) must equal the net amounts of all invoice lines (BT-131) added up and rounded to two decimals. For example, lines of 100.00 and 50.00 need a BT-106 of exactly 150.00; 149.99 or 150.01 fails.
Usual causes
- Line amounts were rounded differently from the total, for example the total was computed from unrounded line values.
- A line was added, deleted or changed after the totals were calculated.
- The software put the amount after document-level allowances or charges into BT-106 instead of the plain sum of lines.
How do I fix BR-CO-10?
- Add up the net amount of every invoice line as written in the file (100.00 + 50.00 = 150.00).
- Write that sum in cbc:LineExtensionAmount in cac:LegalMonetaryTotal (UBL) or ram:LineTotalAmount in the header monetary summation (CII).
- Put document-level allowances and charges in their own totals (BT-107, BT-108), not into BT-106.
Corrected XML (minimal example we wrote)
UBL
<cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">150.00</cbc:LineExtensionAmount> </cac:LegalMonetaryTotal><cac:InvoiceLine> <cbc:ID>1</cbc:ID> <cbc:InvoicedQuantity unitCode="C62">2</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="EUR">100.00</cbc:LineExtensionAmount> </cac:InvoiceLine><cac:InvoiceLine> <cbc:ID>2</cbc:ID> <cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity> <cbc:LineExtensionAmount currencyID="EUR">50.00</cbc:LineExtensionAmount> </cac:InvoiceLine>
CII
<ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>100.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedLineTradeSettlement></ram:IncludedSupplyChainTradeLineItem><ram:IncludedSupplyChainTradeLineItem> <ram:SpecifiedLineTradeSettlement> <ram:SpecifiedTradeSettlementLineMonetarySummation> <ram:LineTotalAmount>50.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementLineMonetarySummation> </ram:SpecifiedLineTradeSettlement></ram:IncludedSupplyChainTradeLineItem><ram:ApplicableHeaderTradeSettlement> <ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>150.00</ram:LineTotalAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation></ram:ApplicableHeaderTradeSettlement>
Example values only. Put the elements in place of, or beside, what your file has; element order matters in both syntaxes.
Check your file for free
The free checker runs the official EN 16931, XRechnung and Peppol rules in your browser. Your file is not uploaded.
In development — early access
Fix-and-explain for accountants and invoicing teams
A paid service that explains every failed rule in plain German, French, Dutch or English and proposes a corrected file is in development. Early access
Source
Rule id and official message from the CEN/TC 434 EN 16931 validation artefacts, validation-1.3.17 (EUPL-1.2), compiled from upstream commit 6e35e0a. The explanation, causes, fix and XML on this page are our own, not the rule publisher's. CEN/TC 434 EN 16931 validation artefacts validation-1.3.17