BR-CO-11fatal

How to fix BR-CO-11

Sum of allowances on document level (BT-107) = Σ Document level allowance amount (BT-92).

What this rule checks

The AllowanceTotalAmount does not equal the sum of individual document-level allowance amounts. This fires when a document-level allowance is added or removed without updating the total.

Referenced business terms

This rule references the following EN 16931 business terms. Click through for the full definition, the UBL XPath and the cardinality.

How to fix it

Recalculate <cbc:AllowanceTotalAmount> under <cac:LegalMonetaryTotal> as the exact sum of all <cbc:Amount> values from document-level <cac:AllowanceCharge> elements where ChargeIndicator is false.

Related rules

Validate your invoice

Upload your corrected invoice to check it passes BR-CO-11 and all other EN 16931 and Peppol BIS 3.0 rules. Free, instant, no signup.