Message

Value MUST be part of code list 'ISO 6523 ICD list'.

Context
/ubl:ReceiptAdvice/cac:DespatchSupplierParty/cac:Party/cac:PartyLegalEntity/cbc:CompanyID
Test
not(@schemeID) or (some $code in $clICD satisfies $code = @schemeID)
Code lists
ISO 6523 ICD list
Usage
/ ubl:ReceiptAdvice / cac:DespatchSupplierParty / cac:Party / cac:PartyLegalEntity / cbc:CompanyID / @schemeID