BR-CO-10
Sum of Line Net Amounts Mismatch (BT-106)
What This Error Means
The sum of all InvoiceLine net amounts (BT-131) must equal the Invoice total net amount (BT-106). This arithmetic validation ensures data consistency across all line items and the document totals section. Even a 1-cent rounding difference will cause rejection.
Why this happens
BR-CO-10 fires when the sum of the line net amounts (BT-131, one per InvoiceLine) does not equal the document line total (BT-106, cbc:LineExtensionAmount in LegalMonetaryTotal). The classic cause is rounding: line amounts are computed at full precision (quantity × unit price) and summed, but the document total is rounded independently — producing a one-cent gap. Another frequent cause is mixing rounded and unrounded values, or summing line amounts that already include line-level allowances/charges while the document total does not, or vice versa.
How to Fix It
Recalculate all line item net amounts and ensure their sum matches the document-level total in cbc:TaxExclusiveAmount. Use 2 decimal places consistently and apply half-up rounding per line before summing.
Step-by-step
1) Round each line net amount (BT-131) to 2 decimals at the line level, before summing — never sum at full precision and round the total separately. 2) Compute BT-106 as the exact arithmetic sum of the already-rounded line amounts. 3) Make sure line-level allowances/charges are consistently included or excluded on both sides. 4) Watch for currencies: every amount must carry the same currencyID. 5) Re-validate. If the gap is exactly one or two cents, it is almost always a per-line vs. total rounding mismatch.
Fix Automatically
Upload your invoice to our Smart Repair engine. It will detect and fix BR-CO-10 errors automatically with a GoBD audit trail.
Open Smart RepairFrequently asked questions
Why do I get a one-cent difference?
Because the line amounts and the document total were rounded at different stages. Round each line to 2 decimals first, then sum those rounded values to get the document total.
Which fields must match for BR-CO-10?
The sum of all BT-131 (line net amounts) must equal BT-106 (cbc:LineExtensionAmount in LegalMonetaryTotal), exactly, with no tolerance.
Related Errors
Other commonly encountered validation errors