EN16931 · BR-CO-10 · Severity: ERROR

Invoice line total does not match

The declared line total must equal the sum of the net amounts of all invoice lines.

Rule ID & Severity
BR-CO-10 · ERROR
Standard & Version
EN16931 (explanation-2026-10-11)
Formula / Condition
Line total = sum of line net amounts
Affected Fields
BT-106, BT-131

The calculation

Line total = sum of line net amounts

BT-106 = Σ BT-131, with the rounding expressed by the published syntax binding.

Common causes

Affected fields

BT-106 · BT-131

cac:LegalMonetaryTotal/cbc:LineExtensionAmount
cac:InvoiceLine/cbc:LineExtensionAmount

Invalid and corrected examples

For lines of EUR 1,125.00 and EUR 150.00, the expected line total is EUR 1,275.00.

Invalid header value

<cbc:LineExtensionAmount currencyID="EUR">1270.00</cbc:LineExtensionAmount>

Corrected header value

<cbc:LineExtensionAmount currencyID="EUR">1275.00</cbc:LineExtensionAmount>

These are XML fragments. They are not complete invoices. Reconcile the business data before changing any commercial amount.

Published source

BR-CO-10 in the published EN16931 UBL syntax binding ↗

Explanation version: explanation-2026-10-11. This worked example uses UBL paths; the dedicated CII validator runs its separate official syntax binding.

Try a failing calculation locally

Load the fictional sample below to inspect a BR-CO-10 mismatch. The sample is an arithmetic teaching fixture, not a standards-conformant invoice.

E-invoice / Validate
No invoice uploads or storage
No invoice uploads or storage

Validate

Choose files · E-invoice

XML · PDF
5 MB XML · 20 MB PDF · 500 documents per batch

Related rules and tools