Message

Value MUST be part of code list 'Recommandation 20, including Recommondation 21 codes - prefixed with X (UN/ECE)'.

Context
/ubl:OrderResponse/cac:OrderLine/cac:SellerSubstitutedLineItem/cac:Item/cac:AdditionalItemProperty/cbc:ValueQuantity
Test
not(@unitCode) or (some $code in $clUNECERec20 satisfies $code = @unitCode)
Code lists
Recommandation 20, including Recommondation 21 codes - prefixed with X (UN/ECE)
Usage
/ ubl:OrderResponse / cac:OrderLine / cac:SellerSubstitutedLineItem / cac:Item / cac:AdditionalItemProperty / cbc:ValueQuantity / @unitCode