BR-CO-13: The total without VAT does not follow its terms
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 amount without VAT (BT-109) does not equal the sum of lines, less allowances, plus charges (BT-106 − BT-107 + BT-108).
How to fix it
Recalculate BT-109 from the other three. If the gap is exactly the size of one discount, that discount has been applied twice: once in the lines, once at document level.
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:TaxBasisTotalAmount>900.00</ram:TaxBasisTotalAmount>
What to write instead:
<ram:TaxBasisTotalAmount>1000.00</ram:TaxBasisTotalAmount>
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-109.