An attachment has a file type that is not allowed · BR-DEX-01
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
The XRechnung extension allows PDF, PNG, JPEG, CSV, XLSX, ODS and XML as embedded attachments. This finding indicates that the attachment’s MIME code is outside that list.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Ask the sender to convert the attachment to an allowed format (usually PDF) and send the invoice again.
- If you issued the invoice yourself: attach supporting documents as PDF and check that your software declares the file type correctly.
Rule text and source
Paraphrase · Embedded attachments in the XRechnung extension require an allowed MIME code. The accepted formats are PDF, PNG, JPEG, CSV, XLSX, ODS and XML with the code application/xml.
Message to the sender
Subject: Invoice {invoiceNumber} – attachment file type not allowed
Hello,
Thank you for your invoice {invoiceNumber} dated {issueDate}. When checking it we noticed that one attachment has a file type that is not allowed in an XRechnung (rule BR-DEX-01). Allowed types include PDF, PNG, JPEG and CSV. Could you please send the invoice again with the attachment in an allowed format?
Kind regardsExample
An embedded ZIP archive labelled application/zip triggers the rule. The sender exports the supporting document as a PDF and embeds that PDF with application/pdf.
Related rules
Business terms
Rule versions
KoSIT · XRechnung Schematron 2.6.0