Message

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

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