Rules › EN 16931 (European standard) › BR-CL-24

An attached file's type is not allowed

In short: A file attached to the invoice must be a PDF, a PNG or JPEG image, a CSV file or a spreadsheet (XLSX, ODS), declared with its type.

✗ ErroriAn invoice that fails this rule is not valid under its rule set.Attachments

  1. What the rule checks

    An e-invoice can carry files inside it: a timesheet, a delivery note… Each file declares its type, its MIME code. Only six types are allowed: application/pdf, image/png, image/jpeg, text/csv, and the XLSX and ODS spreadsheet types. The rule checks that each attached file declares one of them.

  2. Common causes

    • A Word document or a ZIP archive attached as is.
    • A generic type, text/plain for a CSV file.
  3. How to fix it

    1. Attach your supporting documents as PDF, PNG, JPEG, CSV, XLSX or ODS files; convert the others.
    2. Check that the e-invoice declares the file's exact type, text/csv for a CSV file.
    3. If your software writes another value, report it to the software's publisher, quoting BR-CL-24.
  4. Why it matters

    BR-CL-24 is a rule of the European e-invoicing standard, EN 16931. The French, German (XRechnung) and European (Peppol) rules build on this standard, so an invoice that fails BR-CL-24 also fails each of them.

    In public procurement, buyers in the European Union must accept e-invoices that follow this standard (Directive 2014/55/EU).

Does your invoice pass BR-CL-24?

Check it against this rule only. The check runs in your browser, so nothing is sent.

Technical details

If you are interested in the technical side: the data the rule checks in the invoice file.

The attached document is BT-125, its MIME code BT-125-1. In CII, it is the mimeCode of ram:AttachmentBinaryObject in an ram:AdditionalReferencedDocument; in UBL, the mimeCode of cbc:EmbeddedDocumentBinaryObject. The list is the same in both syntaxes: application/pdf, image/png, image/jpeg, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet and application/vnd.oasis.opendocument.spreadsheet.

The example invoice attaches a CSV timesheet declared as text/plain; its fixed counterpart declares text/csv. The Factur-X EN 16931 profile checks the same list with its own rule FX-SCH-A-000287, which fails next to it in a Factur-X invoice.

Fields (EN 16931)BT-125
CII/rsm:CrossIndustryInvoice/rsm:SupplyChainTradeTransaction/ram:ApplicableHeaderTradeAgreement/ram:AdditionalReferencedDocument/ram:AttachmentBinaryObject/@mimeCode
UBL/Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode
Reported asBR-CL-24

The fix in the example file

Between the example invoice that fails the rule (−, removed) and the same invoice, valid (+, added):

      <ram:TypeCode>916</ram:TypeCode>      <ram:Name>Timesheet</ram:Name>−     <ram:AttachmentBinaryObject mimeCode="text/plain" filename="timesheet.csv">ZGF0ZSxob3VycwoyMDI2LTEwLTE0LDgKMjAyNi0xMC0xNSw4Cg==</ram:AttachmentBinaryObject>+     <ram:AttachmentBinaryObject mimeCode="text/csv" filename="timesheet.csv">ZGF0ZSxob3VycwoyMDI2LTEwLTE0LDgKMjAyNi0xMC0xNSw4Cg==</ram:AttachmentBinaryObject>    </ram:AdditionalReferencedDocument>  </ram:ApplicableHeaderTradeAgreement>

Official text

For Mime code in attribute use MIMEMediaType.

BR-CL-24, EN 16931 validation artefacts 1.3.17, CII and UBL.

Page updated on 2026-11-23

EN 16931 concepts (business terms, rules): these pages are an implementation of the semantic data model EN 16931-1:2017 and its two mandatory syntaxes (CEN/TS 16931-2:2017), and reproduce parts of them with the permission of CEN and its member national standardisation bodies. CEN and the national standardisation bodies bear no liability for the content and implementation of these pages, and give no warranty, express or implied, for any purpose. In case of doubt, always refer to the official text of the standard.