Message

Value MUST be part of code list 'Consignment Status Reason (openPEPPOL)'.

Context
/ubl:ReceiptAdvice/cac:Shipment/cac:Consignment/cac:Status/cbc:StatusReasonCode
Test
(some $code in $clConsignmentStatusReason satisfies $code = normalize-space(text()))
Code lists
Consignment Status Reason (openPEPPOL)
Usage
/ ubl:ReceiptAdvice / cac:Shipment / cac:Consignment / cac:Status / cbc:StatusReasonCode