E-invoice error explained

BR-CO-10: Sum of line net amounts does not match

The line total in the invoice header (BT-106) must equal the sum of the net amounts of all lines (BT-131).

What the rule checks

The line total in the invoice header (BT-106) must equal the sum of the net amounts of all lines (BT-131). Equal means to the cent. The check allows no rounding tolerance.

Official rule text

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

Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).

Typical causes

  • The ERP computes the total from unrounded values while the lines in the file are rounded.
  • Line amounts have more than two decimals.
  • A line is missing from the file but included in the total, or the other way round, for example text or subtotal lines.
  • An invoice-wide discount was subtracted from BT-106 instead of being shown as an allowance (BT-107).

How to fix it

Round each line amount (ram:LineTotalAmount in ram:SpecifiedTradeSettlementLineMonetarySummation) to two decimals and compute BT-106 (ram:LineTotalAmount in the header) as the sum of exactly these values. Invoice-wide discounts belong in a document-level allowance.

Example

Wrong (CII)

<!-- lines: 333.33 + 333.33 + 333.33 = 999.99 -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>1000.00</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

Right (CII)

<!-- lines: 333.33 + 333.33 + 333.33 = 999.99 -->
<ram:SpecifiedTradeSettlementHeaderMonetarySummation>
  <ram:LineTotalAmount>999.99</ram:LineTotalAmount>
</ram:SpecifiedTradeSettlementHeaderMonetarySummation>

In Dynamics 365, Business Central and Finance

Sales / Project Operations: Sales and Project Operations have no e-invoice output out of the box. In the WBS Invoice Accelerator for Dynamics 365 the Accelerator computes every total of the e-invoice from the lines it writes to the file. If this rule appears for a file from the Accelerator, send the whole message to WBS.

Related error codes

E-invoicing from Dynamics 365

Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.