Reference
Markdown exportBR-CO-11 Sum of document-level allowances must equal the total of all allowance amounts
The Sum of allowances on document level (BT-107) must equal the arithmetic sum of every Document level allowance amount (BT-92).
Problem Description
ERROR
EN 16931 calculation and consistency rule (BR-CO)
Interactive pipeline
Where BR-CO-11 is checked
Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.
BR-CO-11 EN 16931 calculation rule
Reported in stage 2: EN 16931 rules.
Level error: the report recommends rejecting the invoice.
Stage 2 · What it checks
EN 16931 rules
- The core business terms are present (BR-01 to BR-65).
- Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
- Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).
Example codes
Typical fix
Recalculate totals and VAT from the line data, and correct the VAT category in the source data.
Context and Significance
BT-107 must equal the exact sum of all document level allowance amounts (BT-92); there is no tolerance. If allowances exist and BT-107 is missing, the rule also fails. A wrong BT-107 usually also makes the invoice total without VAT wrong (BR-CO-13). A typical cause is a discount that is deducted in the totals but not exported as a separate document level allowance (BG-20), or an allowance added after BT-107 was calculated.
Solution
Recompute BT-107 as the sum of all BT-92 amounts. UBL: cac:LegalMonetaryTotal/cbc:AllowanceTotalAmount = sum of the document level cac:AllowanceCharge/cbc:Amount with cbc:ChargeIndicator = false; CII: ram:AllowanceTotalAmount. If there is no document level allowance, omit BT-107 or set it to 0.00.
Quick actions
Valid Examples
- Two BT-92 allowances of 5.00 and 10.00 yield BT-107 = 15.00
- No document-level allowances and BT-107 = 0.00 (or absent)
Invalid Examples
- BT-107 = 10.00 but the only BT-92 in the document is 15.00
- BT-107 missing while BT-92 entries exist