InvoiceGlass

The charge reason code is outside the list · BR-CL-20

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

The check concerns the reason code on a charge (BT-105 or BT-145). The check covers charges 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 7161 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=true()]/cbc:AllowanceChargeReasonCode · CII ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=true()]/ram:ReasonCode

Rule text and source

Paraphrase · The code for the reason code on a charge (BT-105 or BT-145) must come from the subset of UNTDID 7161 used in the check.

Message to the sender

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

Hello,

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

Thank you and kind regards

Example

A freight charge can use code FC. The word Freight in the code field triggers the rule.

UBL

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

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

Corrected
<cbc:AllowanceChargeReasonCode>FC</cbc:AllowanceChargeReasonCode>

CII

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

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

Corrected
<ram:ReasonCode>FC</ram:ReasonCode>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file