Faktura

UBL-DT-06

fatalEN 16931syntax binding ruleUBL

Binary object elements shall contain the mime code attribute

Why it fails

An embedded binary object has no mimeCode attribute, so the receiver cannot tell what kind of file it is.

How to fix it

Add mimeCode to cbc:EmbeddedDocumentBinaryObject, e.g. mimeCode="application/pdf".

What the validator checks

UBL — context //*[ends-with(name(), 'BinaryObject')]

(@mimeCode)

Related rules

Part of UBL-DT — UBL data types.

Validate an invoice against this rule →