Skip to main content

BR-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

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

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

  • 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.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-CO-11: EN 16931 calculation rule, reported in the stage “EN 16931 rules”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

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

Affected Fields

Validation Tools