This page is also available in your language:
CRATEAPI Error reference EN · FR · DE · RO

BR-CO-10

EN 16931 FATAL

Official rule text

Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).

What this error means

The sum of line net amounts (BT-106) you declared does not equal the actual sum of all line net amounts (BT-131). One of the two sides is wrong - usually a rounding difference or a line changed after totals were computed.

How to fix it

  1. Recompute: BT-106 = Σ BT-131 over all invoice lines, each rounded to 2 decimals.
  2. Round per line first, then sum - summing raw values and rounding once gives a different result and fails this rule.
  3. Regenerate totals whenever any line changes.

Example

✗ Rejected
<LineExtensionAmount>874.99</LineExtensionAmount>
<!-- lines: 455.00 + 420.00 = 875.00 -->
✓ Accepted
<LineExtensionAmount>875.00</LineExtensionAmount>
<!-- lines: 455.00 + 420.00 = 875.00 -->

Related rules

Fix it faster

Paste your invoice XML in our free validator - every finding comes with its rule ID. Then generate, convert and render compliant invoices through one API.