Message

Invoice period description code must be according to UNCL 2005 D.16B.

Context
cac:InvoicePeriod/cbc:DescriptionCode
Test
some $code in $UNCL2005 satisfies normalize-space(text()) = $code
Usage
/ ubl:Invoice / cac:InvoicePeriod / cbc:DescriptionCode
/ ubl:CreditNote / cac:InvoicePeriod / cbc:DescriptionCode