aligned-ibrp-cl-04
Mime code (ibt-125-1) MUST be according to subset of IANA code list.
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
cbc:EmbeddedDocumentBinaryObject[@mimeCode]
Test
((@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet'))
Checked with PINT A-NZ Invoice, PINT A-NZ Credit Note