ErrorEN 16931Input required

UBL-DT-06

Binary object elements shall contain the mime code attribute

What does this rule mean?

Binary object elements shall contain the mime code attribute

A syntax rule binding the EN 16931 requirements to the concrete XML syntax (UBL or CII).

Official rule message (standard)

Binary object elements shall contain the mime code attribute

Where the rule applies

Syntax: UBL

Affected element (XPath):

  • //*[ends-with(name(), 'BinaryObject')]

Technical test

The rule passes when this Schematron expression holds true:

(@mimeCode)

How to fix it

A missing or incorrect business entry only you can supply. Add or correct it, then re-check.

Adjust the named element/attribute to the syntax requirement.

Correct the affected entry in your XML, then re-check the invoice. Validation runs locally in your browser — your file never leaves your machine.

Check an e-invoice here

Drop an XML or ZUGFeRD PDF file here. Validation runs locally in your browser against EN 16931 — your file never leaves your machine.

100% local — no upload, no account.

Related rules

← Back to the error library