InvoiceGlass

The allowance reason code is outside the list · BR-CL-19

  • Severity · Error
  • Applies to · UBL / CII
  • Editorial review pending

The check concerns the reason code on an allowance (BT-98 or BT-140). The check covers allowances at document and line level.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Choose the code for the actual value from the subset of UNTDID 5189 used in the check. Check that your invoicing software uses the list for the selected format.
  2. XML fields in the affected group · UBL cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cbc:AllowanceChargeReasonCode · CII ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()]/ram:ReasonCode

Rule text and source

Paraphrase · The code for the reason code on an allowance (BT-98 or BT-140) must come from the subset of UNTDID 5189 used in the check.

Message to the sender

Subject: Invoice {invoiceNumber} – The allowance reason code is outside the list

Hello,

could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-19)? The check concerns the reason code on an allowance (BT-98 or BT-140). Please check the code against the list for the invoice format and send us the corrected invoice.

Thank you and kind regards

Example

The word Discount in the code field triggers the rule. Code 95 represents a discount.

UBL

cac:AllowanceCharge[cbc:ChargeIndicator=false]/cbc:AllowanceChargeReasonCode

Fails the rule
<cbc:AllowanceChargeReasonCode>Rabatt</cbc:AllowanceChargeReasonCode>

Corrected
<cbc:AllowanceChargeReasonCode>95</cbc:AllowanceChargeReasonCode>

CII

ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false]/ram:ReasonCode

Fails the rule
<ram:ReasonCode>Rabatt</ram:ReasonCode>

Corrected
<ram:ReasonCode>95</ram:ReasonCode>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file