Check the reason text and code on the line allowance · BR-CO-07
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
If the line allowance includes both text (BT-139) and a code (BT-140), they should describe the same reason. The assertion in the pinned CEN 1.3.16 and 1.3.17 rules does not compare their content.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Compare the code definition with the text and correct whichever differs from the actual reason.
- XML fields in the affected group · UBL cac:InvoiceLine/cac:AllowanceCharge[cbc:ChargeIndicator=false()]/cbc:AllowanceChargeReason, cbc:AllowanceChargeReasonCode · CII ram:SpecifiedLineTradeSettlement/ram:SpecifiedTradeAllowanceCharge[ram:ChargeIndicator/udt:Indicator=false()]/ram:Reason, ram:ReasonCode
Rule text and source
Paraphrase · Where both are supplied, the reason text and code for a line allowance should agree.
Message to the sender
Subject: Invoice {invoiceNumber} – Check the reason text and code on the line allowance
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CO-07)? If the line allowance includes both text (BT-139) and a code (BT-140), they should describe the same reason. Please check the text and code against the actual reason.
Could you send us the corrected invoice?
Thank you and kind regardsExample
Conceptual comparison: code 95 matches “Discount”. The text “Shipping fee” describes a different reason.
Related rules
Business terms
Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17