BR-CL-24ErrorCode lists (BR-CL)
BR-CL-24: Attachment MIME code: invalid code
The invoice is invalid and will be rejected.
What does the error mean?
The value for the attachment MIME code is not in the required code list (IANA MIME types, EN 16931 subset). Typical causes are typos, lower case, or a code from a different list.
How to fix it
Allowed: application/pdf, image/png, image/jpeg, text/csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet and application/vnd.oasis.opendocument.spreadsheet.
Original validator message
[BR-CL-24] For Mime code in attribute use MIMEMediaType.
Checked in: UBL, CII
Check your invoice now
Upload your XRechnung or ZUGFeRD file. The validator lists every error with an explanation – free, no sign-up.
Open the validatorAvoid the errors in the first place
With the Invoicify API you create XRechnung and ZUGFeRD from JSON. Totals, VAT and mandatory fields are checked before any XML is written.
Read the API docs