Message

Value MUST be part of code list 'Despatch advice type code (openPEPPOL)'.

Context
/ubl:DespatchAdvice/cbc:DespatchAdviceTypeCode
Test
(some $code in $clDespatchAdviceTypeCode satisfies $code = normalize-space(text()))
Code lists
Despatch advice type code (openPEPPOL)
Usage
/ ubl:DespatchAdvice / cbc:DespatchAdviceTypeCode