Message

Value MUST be part of code list 'Price type codes (UNCL5387)'.

Context
/ubl:Catalogue/cac:CatalogueLine/cac:RequiredItemLocationQuantity/cac:Price/cbc:PriceType
Test
(some $code in $clUNCL5387 satisfies $code = normalize-space(text()))
Code lists
Price type codes (UNCL5387)
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:RequiredItemLocationQuantity / cac:Price / cbc:PriceType