Error code BR-CO-10
The sum of the lines doesn't add up
The total of the lines (BT-106) must equal the sum of all line amounts (BT-131).
The official rule
“Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).”
Official text, in the language the rule set publishes it in.
Fields named: BT-106 · BT-131
Common causes
- A line amount was changed by hand after the totals were calculated.
- Rounding is done differently on the lines and on the total.
- A line was added or removed without recalculating.
How to fix it
- Let your software recalculate the totals.
- Check that every line amount has at most two decimals.
Wrong vs. right (UBL)
Wrong
<cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">1777.50</cbc:LineExtensionAmount> … </cac:LegalMonetaryTotal> <!-- 850.00 + 937.50 = 1787.50 -->
Right
<cac:LegalMonetaryTotal> <cbc:LineExtensionAmount currencyID="EUR">1787.50</cbc:LineExtensionAmount> … </cac:LegalMonetaryTotal> <!-- 850.00 + 937.50 = 1787.50 -->