What the rule requires
The sum of line net amounts (BT-106) must be exactly the sum of the net amounts of all invoice lines (BT-131).
How it is checked
The validator adds up the BT-131 of all lines as they are in the file, rounds the sum to two decimals and compares it with BT-106. There is no tolerance: one cent off means rejection.
Whether the line amounts themselves are right is not checked here — that is PEPPOL-EN16931-R120.
Common causes
- Sum of unrounded amounts. The program calculates with more decimals, writes rounded line amounts, but builds the sum from the unrounded ones.
- Floating point. According to KoSIT's FAQ, floating point processing can cause differences of several cents on invoices with many lines.
- A line was changed later (discount, quantity), but the sum was not recalculated.
How to fix it
Build BT-106 from the line amounts that are actually in the invoice: round each line to the cent first, then add. If you do not create the file yourself, report it to the vendor of your program — the difference comes from its calculation, not from your input.
What our recalculation shows
We add up the lines ourselves and show whether the sum was built from unrounded amounts or whether a single line does not match quantity × price.
Example (CII)
<!-- line 1 -->
<ram:LineTotalAmount>10.00</ram:LineTotalAmount>
<!-- line 2 -->
<ram:LineTotalAmount>9.99</ram:LineTotalAmount>
<!-- invoice totals -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
<ram:LineTotalAmount>19.99</ram:LineTotalAmount> <!-- BT-106 = 10.00 + 9.99 -->
...
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>
In UBL, BT-106 is cac:LegalMonetaryTotal/cbc:LineExtensionAmount and BT-131 is
cac:InvoiceLine/cbc:LineExtensionAmount.