PintLint

Rules / IBR-075

IBR-075 error

Binary object elements

Binary object elements (ibt-125) must contain the filename attribute (ibt-125-2).

Fails

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

Fix

Add @filename.

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

Official text: Binary object elements (ibt-125) MUST contain the filename attribute (ibt-125-2).

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

Check an invoice