BR-CO-16: The amount due 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 amount due for payment (BT-115) does not equal the total with VAT less prepaid amounts, corrected by rounding (BT-112 − BT-113 + BT-114).
How to fix it
Recalculate BT-115. A prepayment is declared in TotalPrepaidAmount: subtracting it from the total without declaring it there breaks this rule.
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:DuePayableAmount>1150.00</ram:DuePayableAmount>
What to write instead:
<ram:DuePayableAmount>1200.00</ram:DuePayableAmount>
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-115.