Back to the error catalogue
BR-CO-10BT-106
blocked

The sum of the lines does not match the declared total

The sum of invoice line net amounts (BT-106) must equal the sum of each invoice line net amount (BT-131).

A financial field: the expected value is computed and offered, never written into the document — the correction is the issuer's to make. Test your invoice to find out whether it is affected.

The message your validator prints

Copied verbatim from the sealed artefact: this is the exact sentence the check prints when this rule fails.

[BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).

Quoted from schematron-cen 1.3.16, licensed under EUPL-1.2.

Common searches around this code

These phrases mirror what an integrator searches for: code, syntax, rule, business field and correction.

BR-CO-10 The sum of the lines does not match the declared totalBR-CO-10 CEN EN 16931 SchematronBR-CO-10 BT-106[BR-CO-10]-Sum of Invoice line net amount (BT-106) = Σ Invoice line net amount (BT-131).BR-CO-10 correction

Test your file with this error in mind

Upload the invoice involved: the report will say whether this code appears, where it appears in the document, and whether Factlint can only report it or also fix it.

To automate this check in an ERP flow, call the validation API and link every returned code to its public page.

Why this error happens

The gap appears when a line is added, cancelled or rounded after the header is computed — typically in a flow where header and lines are serialised in two passes. The total then reflects a state of the basket the lines no longer describe.

How to fix it

Fix the calculation in the system that produced the invoice, not in the file. Factlint computes the expected value and returns it in `suggested_value`, but never writes the field.

Reason it is blocked:

financial_field_policy

XML correction example

BEFORE (invalid)
<ram:LineTotalAmount>1000.00</ram:LineTotalAmount>  <!-- lignes : 1050.00 -->
AFTER (compliant)
<ram:LineTotalAmount>1050.00</ram:LineTotalAmount>