Back to the error catalogue
BR-CO-13BT-109
blocked

The net total does not follow from the lines, allowances and charges

The invoice total amount without VAT (BT-109) must equal the sum of invoice line net amounts (BT-131), minus the sum of allowances on document level (BT-107), plus the sum of charges on document level (BT-108).

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-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).

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-13 The net total does not follow from the lines, allowances and chargesBR-CO-13 CEN EN 16931 SchematronBR-CO-13 BT-109[BR-CO-13]-Invoice total amount without VAT (BT-109) = Σ Invoice line net amount (BT-131) - Sum of allowances on document level (BT-107) + Sum of charges on document level (BT-108).BR-CO-13 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

This is the rule that fails when an allowance or a charge exists in the document without having been carried into the totals — or the other way round. It also fails, more quietly, when BT-107 and BT-108 are absent while BG-20 or BG-21 groups are present.

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:TaxBasisTotalAmount>1050.00</ram:TaxBasisTotalAmount>  <!-- 1050.00 - 30.00 + 12.50 -->
AFTER (compliant)
<ram:TaxBasisTotalAmount>1032.50</ram:TaxBasisTotalAmount>