E-invoice rule explained · EN 16931
BR-CO-13: Total without VAT does not match lines, allowances and charges
Official message
Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-109, BT-131, BT-107, BT-108
What does BR-CO-13 mean?
The invoice total without VAT (BT-109) must equal the sum of line net amounts (BT-106) minus the sum of document-level allowances (BT-107) plus the sum of document-level charges (BT-108), rounded to two decimals; a missing allowance or charge total counts as zero. For example, 150.00 − 10.00 + 5.00 = 145.00.
Usual causes
- The total without VAT was copied from the line sum and the document-level allowance or charge was forgotten.
- An allowance was subtracted twice, once in the lines and once at document level.
- Allowance and charge totals were swapped, or an allowance was entered as a negative charge.
How do I fix BR-CO-13?
- Compute BT-109 as BT-106 − BT-107 + BT-108 (150.00 − 10.00 + 5.00 = 145.00).
- In UBL put it in cbc:TaxExclusiveAmount; in CII in ram:TaxBasisTotalAmount.
- Make sure BT-107 and BT-108 themselves are the sums of the document-level allowances and charges.
Corrected XML (minimal example we wrote)
UBL
<cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">150.00</cbc:LineExtensionAmount> <cbc:TaxExclusiveAmount currencyID="EUR">145.00</cbc:TaxExclusiveAmount> <cbc:TaxInclusiveAmount currencyID="EUR">172.55</cbc:TaxInclusiveAmount> <cbc:AllowanceTotalAmount currencyID="EUR">10.00</cbc:AllowanceTotalAmount> <cbc:ChargeTotalAmount currencyID="EUR">5.00</cbc:ChargeTotalAmount> <cbc:PayableAmount currencyID="EUR">172.55</cbc:PayableAmount> </cac:LegalMonetaryTotal>
CII
<ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>150.00</ram:LineTotalAmount> <ram:ChargeTotalAmount>5.00</ram:ChargeTotalAmount> <ram:AllowanceTotalAmount>10.00</ram:AllowanceTotalAmount> <ram:TaxBasisTotalAmount>145.00</ram:TaxBasisTotalAmount> <ram:TaxTotalAmount currencyID="EUR">27.55</ram:TaxTotalAmount> <ram:GrandTotalAmount>172.55</ram:GrandTotalAmount> <ram:DuePayableAmount>172.55</ram:DuePayableAmount> </ram:SpecifiedTradeSettlementHeaderMonetarySummation>
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