Message

Value MUST be part of code list 'Duty or tax or fee category code (UNCL5305)'.

Context
/ubl:OrderChange/cac:AllowanceCharge/cac:TaxCategory/cbc:ID
Test
(some $code in $clUNCL5305 satisfies $code = normalize-space(text()))
Code lists
Duty or tax or fee category code (UNCL5305)
Usage
/ ubl:OrderChange / cac:AllowanceCharge / cac:TaxCategory / cbc:ID