PintLint

Rules / IBR-074

IBR-074 error

Binary object elements

Binary object elements (ibt-125) must contain the mime code attribute (ibt-125-1).

Fails

<Invoice>
  <!-- @mimeCode is missing -->
</Invoice>

Fix

Add @mimeCode.

Schematron
Context
//*[ends-with(name(), 'BinaryObject')]
Test
(@mimeCode)

Official text: Binary object elements (ibt-125) MUST contain the mime code attribute (ibt-125-1).

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

Check an invoice