ErrorCalculation rules (EN 16931)
BR-CO-10: Sum of lines does not match
Last updated: · XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31
What does the message mean?
The stated sum of line net amounts (BT-106) does not equal the total of all line net amounts (BT-131).
The invoice is invalid under this rule and the recipient may reject it.
Typical causes
- The software sums unrounded line amounts and only rounds at the end.
- A line (e.g. shipping or a discount as a separate line) appears on the PDF but is missing from the XML, or vice versa.
- The total was edited by hand afterwards.
How to fix it
- Add up the net amounts of all lines (BT-131) as they appear in the XML and compare with BT-106.
- If the difference is a few cents, it is almost always rounding: round each line to two decimals first, then add them up.
- If the rounding cannot be configured in your software, report the problem to the vendor.
Example (XRechnung, UBL syntax)
Shortened excerpt from an official KoSIT test invoice. We tested with the official rules that the faulty version triggers exactly this message and the corrected one does not.
<cbc:LineExtensionAmount currencyID="EUR">314.85</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">314.86</cbc:TaxExclusiveAmount><cbc:LineExtensionAmount currencyID="EUR">314.86</cbc:LineExtensionAmount>
<cbc:TaxExclusiveAmount currencyID="EUR">314.86</cbc:TaxExclusiveAmount>Official rule text
BR-CO-10: Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).
Source: KoSIT/CEN validation rules (XRechnung 3.0.2 · KoSIT validation configuration of 2026-08-31).