Invoice/Credit note type code MUST be set according to the profile.
PEPPOL-EN16931-P0100pxs-taxdata:TaxData/pxs-taxdata:ReportedTransaction/pxs-taxdata:ReportedDocument/pxs-taxdata:DocumentTypeCode $profile != '01' or (some $code in tokenize('71 80 82 84 102 218 219 261 326 331 380 382 383 384 386 388 389 393 395 553 575 623 780 817 870 875 876 877 381 396 81 83 527 532', '\s') satisfies normalize-space(text()) = $code)