erroren16931

BR-CO-12:Sum of line amounts incorrect

Line extension total must equal the sum of all line net amounts.

Fix this in your source system

MANUAL

Line amount calculations (quantity x price) must match your order/delivery documents. Discrepancies may indicate pricing or quantity errors.

See the step-by-step instructions below to fix this error manually.

Why This Error Matters

Invoice rejected. Calculation errors prevent proper invoice verification.

How to Fix It

1

Sum all lines

Add all InvoiceLine/LineExtensionAmount values

2

Compare to total

Must match LegalMonetaryTotal/LineExtensionAmount

3

Check rounding

Sum individual amounts exactly as shown

Code Example

<cac:LegalMonetaryTotal>
  <cbc:LineExtensionAmount currencyID="EUR">190.00</cbc:LineExtensionAmount>
  <!-- Line 1: 90.00 + Line 2: 100.00 = 190.00 -->
</cac:LegalMonetaryTotal>

Technical Details

XPath: /Invoice/cac:LegalMonetaryTotal/cbc:LineExtensionAmount

Common Causes

  • Sum of document charges does not match BT-108
  • ChargeTotalAmount calculation mismatch
  • Individual charge amounts don't sum to total
  • Charge added/removed without updating total
  • Rounding error in charge sum calculation

Commonly Seen In

All invoicing software

Frequently Asked Questions

Line extension total must equal the sum of all line net amounts.
Ensure LineExtensionAmount in LegalMonetaryTotal equals sum of all line amounts. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, BR-CO-12 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted by the recipient's system.
Many instances of BR-CO-12 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues, including sum of line amounts incorrect.
BR-CO-12 is commonly seen in exports from All invoicing software. These software packages sometimes generate invoices that need adjustment to meet full compliance standards.

See Also

Related Errors

Last updated: 18 January 2026

Share this guide: