BR-DEC-14: More than two decimals on the total amount with VAT
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 total amount with VAT (BT-112) is written with more than two decimal places. This is almost always a calculation copied out as the software produced it (a division, an exchange rate, a pro-rata discount), without the final rounding to the cent.
How to fix it
Round BT-112 to two decimals before writing it into the XML. Rounding the display is not enough: it is the value in the file that gets read. If rounding then unbalances a total, recalculate the total from the rounded values, not the other way round.
Where it happens
This code comes from EN 16931, the European e-invoicing standard. It concerns business term BT-112.