Back to the error catalogue
BR-CO-11BT-107
blocked

The total of allowances does not match the allowances declared

The sum of allowances on document level (BT-107) must equal the sum of each document level allowance amount (BT-92).

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-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).

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-11 The total of allowances does not match the allowances declaredBR-CO-11 CEN EN 16931 SchematronBR-CO-11 BT-107[BR-CO-11]-Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).BR-CO-11 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 most frequent cause is an allowance counted twice: once at invoice level, once spread across the lines. The total sees it, the BG-20 groups see it only once — or the other way round.

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:AllowanceTotalAmount>50.00</ram:AllowanceTotalAmount>  <!-- remises : 30.00 -->
AFTER (compliant)
<ram:AllowanceTotalAmount>30.00</ram:AllowanceTotalAmount>