PintLint

Rules / IBR-CL-24

IBR-CL-24 error

Mime code must be according to subset of IANA code list

Mime code (ibt-125-1) must be according to subset of IANA code list.

Fails when this is false

((@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/xml' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet'))

The schematron test, verbatim. Context: cbc:EmbeddedDocumentBinaryObject[@mimeCode]

Fix

Change the data so the statement above is true. Paste the invoice into the validator to see the exact element that fails.

Official · PINT shared rules. Severity: error. Runs on UBL XML.

Check an invoice