PEPPOL-T19-B24301
Value MUST be part of code list 'NA codes' or 'PackagingMarkedLabelAccreditationCode'.
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
Context
/ubl:Catalogue/cac:CatalogueLine/cac:Item/cac:Certificate/cbc:CertificateTypeCode
Test
(some $code in $clNA satisfies $code = normalize-space(text())) or (some $code in $clPackagingMarkedLabelAccreditationCode satisfies $code = normalize-space(text()))
Checked with Peppol Catalogue