PintLint

Rules / IBR-075

Binary object elements must contain the filename attribute

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

Fails

<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf">JVBERi0…</cbc:EmbeddedDocumentBinaryObject>
<!-- no filename -->

Fix

Add @filename to every binary object, such as cbc:EmbeddedDocumentBinaryObject, for example po.pdf.

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 your invoice for this rule