EN16931 · BR-CO-13 · Severity: ERROR
Invoice net total does not match
The total before VAT must equal the line total, minus document allowances, plus document charges.
- Rule ID & Severity
BR-CO-13· ERROR- Standard & Version
- EN16931 (explanation-2026-10-11)
- Formula / Condition
Net total = line total − allowances + charges- Affected Fields
BT-106, BT-107, BT-108, BT-109
The calculation
Net total = line total − allowances + charges
BT-109 = BT-106 − BT-107 + BT-108. Absent document allowance and charge totals contribute zero.
Common causes
- A document discount was left out.
- A delivery charge was counted twice.
Affected fields
BT-106 · BT-107 · BT-108 · BT-109
cac:LegalMonetaryTotal/cbc:TaxExclusiveAmount
Invalid and corrected examples
For a line total of EUR 1,275.00 with no document allowances or charges, the net total is EUR 1,275.00.
Invalid header value
<cbc:TaxExclusiveAmount currencyID="EUR">1270.00</cbc:TaxExclusiveAmount>
Corrected header value
<cbc:TaxExclusiveAmount currencyID="EUR">1275.00</cbc:TaxExclusiveAmount>
These are XML fragments. They are not complete invoices. Reconcile the business data before changing any commercial amount.
Published source
BR-CO-13 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-13 mismatch. The sample is an arithmetic teaching fixture, not a standards-conformant invoice.