errorEN16931

UBL-DT-06:Binary object elements shall contain the mime code attribute

Your invoice contains an embedded attachment (EmbeddedDocumentBinaryObject) but the mimeCode attribute is missing. The MIME type (e.g., application/pdf, image/png) must be specified.

Why This Error Matters

Invoice will be rejected. Receiving systems need the MIME type to properly display or process the attachment.

Common Causes

  • Attachment added without specifying the file type
  • ERP export omitted the MIME type attribute
  • Binary content copied without metadata
  • Template missing mimeCode attribute on attachment element
  • File uploaded without extension or type detection

Frequently Asked Questions

Your invoice contains an embedded attachment (EmbeddedDocumentBinaryObject) but the mimeCode attribute is missing. The MIME type (e.g., application/pdf, image/png) must be specified.
Your invoice contains an embedded attachment (EmbeddedDocumentBinaryObject) but the mimeCode attribute is missing. The MIME type (e.g., application/pdf, image/png) must be specified. You can also use Invoice Navigator's automatic Fixer tool to correct this instantly.
Yes, UBL-DT-06 is a critical error that will cause invoice rejection. It must be fixed before submission to ensure your invoice is accepted.
Many instances of UBL-DT-06 can be automatically corrected using Invoice Navigator's Fixer tool. Upload your invoice and the tool will identify and fix common issues.

See Also

Last updated: 16 January 2026

Share this guide: