E-invoice rule explained · EN 16931
BR-CO-14: Total VAT does not equal the sum of the VAT breakdown
Official message
Invoice total VAT amount (BT-110) = Σ VAT category tax amount (BT-117).
- Severity
- Error (the invoice is rejected)
- Checked in
- UBL, CII
- Business terms
- BT-110, BT-117
What does BR-CO-14 mean?
The invoice total VAT amount (BT-110) must equal the VAT amounts of all VAT breakdown rows (BT-117) added up and rounded to two decimals. For example, 19.00 at 19 % plus 3.15 at 7 % gives a total VAT of 22.15. In UBL, a tax total with no breakdown rows inside it is not checked, which is how the second tax total in the VAT accounting currency (BT-111) passes.
Usual causes
- The total VAT was computed line by line while the breakdown was computed per rate, so they differ by rounding.
- A VAT rate or category was added or removed in the breakdown without updating the total.
- In UBL, the breakdown rows were put in a second cac:TaxTotal instead of the one carrying BT-110.
How do I fix BR-CO-14?
- Add up the VAT amount of every breakdown row (19.00 + 3.15 = 22.15) and use that as the total VAT.
- In UBL put the total in cac:TaxTotal/cbc:TaxAmount with the rows as cac:TaxSubtotal in the same cac:TaxTotal; in CII put it in ram:TaxTotalAmount with currencyID equal to the invoice currency.
- If rounding per line and per rate disagree, take the breakdown amounts as the reference and adjust the total.
Corrected XML (minimal example we wrote)
UBL
<cac:TaxTotal> <cbc:TaxAmount currencyID="EUR">22.15</cbc:TaxAmount> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="EUR">100.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="EUR">19.00</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> <cac:TaxSubtotal> <cbc:TaxableAmount currencyID="EUR">45.00</cbc:TaxableAmount> <cbc:TaxAmount currencyID="EUR">3.15</cbc:TaxAmount> <cac:TaxCategory> <cbc:ID>S</cbc:ID> <cbc:Percent>7</cbc:Percent> <cac:TaxScheme> <cbc:ID>VAT</cbc:ID> </cac:TaxScheme> </cac:TaxCategory> </cac:TaxSubtotal></cac:TaxTotal>
CII
<ram:ApplicableHeaderTradeSettlement> <ram:InvoiceCurrencyCode>EUR</ram:InvoiceCurrencyCode> <ram:ApplicableTradeTax> <ram:CalculatedAmount>19.00</ram:CalculatedAmount> <ram:TypeCode>VAT</ram:TypeCode> <ram:BasisAmount>100.00</ram:BasisAmount> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>19</ram:RateApplicablePercent> </ram:ApplicableTradeTax> <ram:ApplicableTradeTax> <ram:CalculatedAmount>3.15</ram:CalculatedAmount> <ram:TypeCode>VAT</ram:TypeCode> <ram:BasisAmount>45.00</ram:BasisAmount> <ram:CategoryCode>S</ram:CategoryCode> <ram:RateApplicablePercent>7</ram:RateApplicablePercent> </ram:ApplicableTradeTax> <ram:SpecifiedTradeSettlementHeaderMonetarySummation> <ram:LineTotalAmount>145.00</ram:LineTotalAmount> <ram:TaxBasisTotalAmount>145.00</ram:TaxBasisTotalAmount> <ram:TaxTotalAmount currencyID="EUR">22.15</ram:TaxTotalAmount> <ram:GrandTotalAmount>167.15</ram:GrandTotalAmount> <ram:DuePayableAmount>167.15</ram:DuePayableAmount> </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