E-invoice rule explained · EN 16931
BR-CO-17: VAT amount in the breakdown does not match base times rate
Official message
VAT category tax amount (BT-117) = VAT category taxable amount (BT-116) x (VAT category rate (BT-119) / 100), rounded to two decimals.
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-117, BT-116, BT-119
What does BR-CO-17 mean?
In each VAT breakdown row, the VAT amount (BT-117) should be the taxable amount (BT-116) times the rate (BT-119) divided by 100, rounded to two decimals; for example 145.00 × 19 % = 27.55. The official test is looser than its message: it accepts any amount less than 1.00 away from that result (up to 1.00 inclusive in CII). With a rate of 0, or no rate, the VAT amount must round to zero, that is be under 0.50.
Usual causes
- The VAT amount was copied from another row or another invoice.
- The taxable amount was changed (for example by a document-level allowance) without recalculating the VAT.
- A 0 % row (exempt, reverse charge, export) carries a VAT amount.
- The rate was entered as a fraction (0.19) instead of a percentage (19).
How do I fix BR-CO-17?
- Recalculate each row: taxable amount × rate ÷ 100, rounded to two decimals (145.00 × 19 ÷ 100 = 27.55).
- For a 0 % category, set the VAT amount of the row to 0.00.
- Enter the rate as a percentage in cbc:Percent (UBL) or ram:RateApplicablePercent (CII).
Corrected XML (minimal example we wrote)
UBL
<cac:TaxSubtotal> <cbc:TaxableAmount currencyID="EUR">145.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="EUR">27.55</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>19</cbc:Percent> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:TaxCategory></cac:TaxSubtotal>
CII
<ram:ApplicableTradeTax> <ram:CalculatedAmount>27.55</ram:CalculatedAmount> <ram:TypeCode>VAT</ram:TypeCode> <ram:BasisAmount>145.00</ram:BasisAmount> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>19</ram:RateApplicablePercent> </ram:ApplicableTradeTax>
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