E-invoice error explained
The line total in the invoice header (BT-106) must equal the sum of the net amounts of all lines (BT-131).
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.
Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
Source: KoSIT configuration XRechnung 3.0.2 (31 Jan 2026).
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.
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>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.
Check your invoice for free. The validator shows every finding with an explanation and its location in the XML.