Message

Value MUST be part of code list 'Document name code, full list (UNCL1001)'.

Context
/ubl:ApplicationResponse/cac:DocumentResponse/cac:DocumentReference/cbc:DocumentTypeCode
Test
(some $code in $clUNCL1001 satisfies $code = normalize-space(text()))
Code lists
Document name code, full list (UNCL1001)
Usage
/ ubl:ApplicationResponse / cac:DocumentResponse / cac:DocumentReference / cbc:DocumentTypeCode