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.
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-115.