BR-CO-12: The sum of charges is wrong
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 sum of document-level charges (BT-108) does not match the declared charges (BT-99). Shipping costs are the charge most often left out of that total.
How to fix it
Add up the amounts of every charge element and carry the result into ChargeTotalAmount.
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-108.