BR-CO-14: The total VAT does not match the breakdown
This code shows up when an electronic invoice is validated. Here is what it means, why it fires, and what to change in the file.
Why this code appears
The invoice total VAT amount (BT-110) differs from the sum of the VAT breakdown amounts (BT-117). This is the most frequent rejection for invoices with several rates: the total is recomputed on the global net amount instead of being added up rate by rate.
How to fix it
Add up the CalculatedAmount of every breakdown and carry the sum into TaxTotalAmount. With several rates, the VAT total is never recomputed globally.
What it looks like in the file
These two snippets are replayed against our own checker on a complete invoice, every time the site is built. The first one raises this code, the second one does not.
What raises the code:
<ram:TaxTotalAmount currencyID="EUR">210.00</ram:TaxTotalAmount>
What to write instead:
<ram:TaxTotalAmount currencyID="EUR">200.00</ram:TaxTotalAmount>
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-110.