# PEPPOL-T01-B20501

Source: https://xmlvalid.com/rules/PEPPOL-T01-B20501

> Value MUST be part of code list 'Allowance reason codes (UNCL5189 subset)' or 'Charge reason code (UNCL7161)'.

- Level: error
- Rule sets: Peppol Order rules 3.7
- Context: `/ubl:Order/cac:AllowanceCharge/cbc:AllowanceChargeReasonCode`
- Test: `(some $code in $clUNCL5189 satisfies $code = normalize-space(text())) or (some $code in $clUNCL7161 satisfies $code = normalize-space(text()))`

Validate a document against these rules: https://xmlvalid.com/validate
