Reference
Markdown exportBR-CL-19 Coded allowance reason must come from UNCL5189
When an allowance reason is coded (BT-98 at document level, BT-140 at line level), the code must belong to the UNCL5189 subset used by EN 16931.
Problem Description
ERROR
EN 16931 code-list rule (BR-CL)
Interactive pipeline
Where BR-CL-19 is checked
Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.
BR-CL-19 EN 16931 code list 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.
Solution
Set the allowance reason code to an allowed UNCL5189 value, e.g. 95 (discount), 100 (special rebate) or 105 (yearly turnover); give any other reason as free text (BT-97 or BT-139). In UBL, the code is cbc:AllowanceChargeReasonCode in a cac:AllowanceCharge with cbc:ChargeIndicator false; in CII, ram:ReasonCode in a ram:SpecifiedTradeAllowanceCharge.
Quick actions
Context and Significance
Allowances use their own numeric code list (UNCL5189), separate from the list for charges (UNCL7161, BR-CL-20); EN 16931 allows 19 of these codes. The rule fails when a charge code such as FC is copied to an allowance, when a text such as "DISC" sits in the code field, or when the charge indicator is wrong, so that a charge is checked against the allowance list. Example: a volume discount uses code 95 with the reason "Volume discount".
Valid Examples
- BT-98 = 95 — discount
- BT-140 = 100 — special rebate at line level
Invalid Examples
- BT-98 = FC — charge code (UNCL7161) on an allowance
- BT-98 = DISC — free text instead of a code
Code Examples
<cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>
</cac:AllowanceCharge><cac:AllowanceCharge>
<cbc:ChargeIndicator>false</cbc:ChargeIndicator>
<cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>
</cac:AllowanceCharge>