Message

Invoice tax categories MUST be coded using UNCL5305 code list

Context
cac:TaxCategory/cbc:ID
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' AE L M E S Z G O K B ',concat(' ',normalize-space(.),' ') ) ) )
Usage
/ ubl:Invoice / cac:AllowanceCharge / cac:TaxCategory / cbc:ID
/ ubl:Invoice / cac:TaxTotal / cac:TaxSubtotal / cac:TaxCategory / cbc:ID
/ ubl:CreditNote / cac:AllowanceCharge / cac:TaxCategory / cbc:ID
/ ubl:CreditNote / cac:TaxTotal / cac:TaxSubtotal / cac:TaxCategory / cbc:ID