Peppol BIS Billing 3.0 · rule
UBL-DT-06
What does UBL-DT-06 mean? Binary object elements shall contain the mime code attribute
Why did my invoice fail UBL-DT-06?
Any binary object element (an embedded attachment, cbc:EmbeddedDocumentBinaryObject, BT-125) must carry the mimeCode attribute stating the file's MIME type. Without it the receiver cannot know how to interpret or open the embedded content.
Official rule text
Binary object elements shall contain the mime code attribute
Common causes
- Base64 content embedded without the mimeCode attribute
- Attachment pipeline does not detect or pass through the MIME type
How do I fix it?
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="invoice-spec.pdf">JVBERi0xLjQK...</cbc:EmbeddedDocumentBinaryObject>
Related rules
UBL-DT-01 · UBL-DT-07 · UBL-DT-08 · UBL-DT-09 · UBL-DT-10 · UBL-DT-11 · UBL-DT-12 · UBL-DT-13
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.