Message

Value MUST be part of code list 'UNCL1001 Document name code'.

Context
/ubl:Catalogue/cac:CatalogueLine/cac:Item/cac:ItemSpecificationDocumentReference/cbc:DocumentTypeCode
Test
(some $code in $clUNCL1001 satisfies $code = normalize-space(text()))
Code lists
UNCL1001 Document name code
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:Item / cac:ItemSpecificationDocumentReference / cbc:DocumentTypeCode