Message

Value MUST be part of code list 'Electronic Address Scheme (EAS)'.

Context
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cbc:EndpointID
Test
not(@schemeID) or (some $code in $cleas satisfies $code = @schemeID)
Code lists
Electronic Address Scheme (EAS)
Usage
/ ubl:Invoice / cac:AccountingSupplierParty / cac:Party / cbc:EndpointID / @schemeID