BR-CL-24:For Mime code in attribute use MIMEMediaType (IANA media types).
Fix: Invoice Navigator automatically fixes this issue by correcting the `@mimeCode` element in your Invoice. Upload your invoice to fix this automatically.
An attached document has an invalid MIME type code. MIME types must follow the standard format (type/subtype), such as application/pdf for PDF files, image/png for PNG images, or text/csv for CSV files.
Engine Classification
Maps file extensions and common invalid MIME types to valid IANA media types
Confidence: 90% · Applied automatically in pipeline
What is BR-CL-24?
BR-CL-24 is a fatal validation rule defined in the EN 16931 specification. It validates the @mimeCode element under Attachment > EmbeddedDocumentBinaryObject in the UBL invoice XML.
When this rule fires, the invoice is rejected by Peppol access points and never reaches the buyer.
Target path: cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCode
Why This Error Matters
Invoice rejected. Attachments must have valid MIME types for proper handling.
BR-CL-24 is a hard failure — the invoice must be corrected and re-sent before it can reach the recipient.
An invalid MIME type means the receiver may not be able to open the attachment. Some systems will reject the invoice entirely if the MIME type is not recognized.
Invoice Navigator can automatically correct this error in your pipeline. The fix is applied with full audit evidence, so your compliance trail remains intact.
Validator Behavior
- ·Causes invoice rejection
- ·Error returned: BR-CL-24
- ·Specification: EN 16931
How to Fix It
Identify the file type
What kind of file is attached? PDF, PNG, XML, CSV, etc.
Use the correct MIME type
Common types: application/pdf, image/png, image/jpeg, text/csv, application/xml, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (for Excel).
Update the mimeCode attribute
Set the mimeCode attribute on the EmbeddedDocumentBinaryObject to the correct MIME type.
Before / After
<cbc:EmbeddedDocumentBinaryObject> <@mimeCode>INVALID_CODE</@mimeCode> </cbc:EmbeddedDocumentBinaryObject>
<cbc:EmbeddedDocumentBinaryObject> <@mimeCode>VALID_CODE</@mimeCode> </cbc:EmbeddedDocumentBinaryObject>
Technical Reference
cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject/@mimeCodeCommon Causes
- ·MimeCode set to file extension instead of MIME type (e.g. 'pdf' instead of 'application/pdf')
- ·MIME type misspelled or using non-standard format
- ·MimeCode attribute left empty
Seeing this in production? The API handles BR-CL-24 automatically. See the fix response →
Commonly Seen In
Frequently Asked Questions
BR-CL-24 occurs when an attachment's MIME type code is not valid. Valid codes include application/pdf, image/png, image/jpeg, text/csv, and other IANA registered media types.
Update the mimeCode attribute in the EmbeddedDocumentBinaryObject element to use a valid IANA media type that matches your file format.
Yes, BR-CL-24 is a code list violation that will cause invoice rejection. Attachments must have valid MIME types for proper processing.
In some cases. Invoice Navigator can detect common file extensions and suggest the correct MIME type, but manual verification is recommended for unusual file formats.
Related Errors
Related Content
Last updated: 27 February 2026
Validate your invoice
Drop your XML here to check for BR-CL-24
Auto-fix BR-CL-24 in seconds
Upload your invoice and we fix this error automatically. Financial fields are never touched.