The reason for the document level allowance or charge, expressed as a code. For allowances a subset of codelist UNCL5189 is to be used, and for charges codelist UNCL7161 applies. The Document level allowance reason code and the Document level allowance reason shall indicate the same allowance reason

Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2
Data type
Code
udt:CodeType
Example value
CAP
Business terms
BT-98, BT-105
Code lists
Allowance reason codes (UNCL5189 subset), Charge reason code (UNCL7161)
Rules
Identifier/Error message Flag
BR-33
[BR-33]-Each Document level allowance (BG-20) shall have a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98).
fatal
BR-38
[BR-38]-Each Document level charge (BG-21) shall have a Document level charge reason (BT-104) or a Document level charge reason code (BT-105).
fatal
BR-CO-05
[BR-CO-05]-Document level allowance reason code (BT-98) and Document level allowance reason (BT-97) shall indicate the same type of allowance.
fatal
BR-CO-06
[BR-CO-06]-Document level charge reason code (BT-105) and Document level charge reason (BT-104) shall indicate the same type of charge.
fatal
BR-CO-21
[BR-CO-21]-Each Document level allowance (BG-20) shall contain a Document level allowance reason (BT-97) or a Document level allowance reason code (BT-98), or both.
fatal
BR-CO-22
[BR-CO-22]-Each Document level charge (BG-21) shall contain a Document level charge reason (BT-104) or a Document level charge reason code (BT-105), or both.
fatal
PEPPOL-EN16931-CL003
Reason code MUST be according to UNCL 7161 D.16B.
fatal
PEPPOL-EN16931-CL002
Reason code MUST be according to subset of UNCL 5189 D.16B.
fatal
DK-R-004
When specifying non-VAT Taxes for Danish customers, Danish suppliers MUST use the AllowanceChargeReasonCode="ZZZ" and the 4-digit Tax category MUST be specified in AllowanceChargeReason
fatal
BR-CL-19
[BR-CL-19]-Coded allowance reasons MUST belong to the UNCL 5189 code list
fatal
BR-CL-20
[BR-CL-20]-Coded charge reasons MUST belong to the UNCL 7161 code list
fatal