Tools › SmartFormular E-Rechnung lite › Validation rules › BR-CL-24
BR-CL-24
The file type of an attachment (BT-125) is not allowed
What the message means
The file type of an attachment (BT-125) is not allowed.
What the issuer needs to change
Attach it as PDF, PNG, JPEG, CSV, XLSX or ODS.
Fields concerned
BT-125attached document
Your invoice reports BR-CL-24? Check it with SmartFormular E-Rechnung lite, free to try until 31 December 2026: the tool shows every finding with an explanation, the invoice in readable form and a GiroCode to pay – in your browser, no upload.
Check an e-invoiceOrigin
- Rule set
- EN 16931 (CEN, rule set 1.3.16)
- Syntax
- CII, UBL
- Level
- Error
Original rule text
For Mime code in attribute use MIMEMediaType.
Technical details for IT
UBL
Context: cbc:EmbeddedDocumentBinaryObject[@mimeCode] Test: not(((@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet')))
CII
Context: ram:AttachmentBinaryObject[@mimeCode] Test: not(((@mimeCode = 'application/pdf' or @mimeCode = 'image/png' or @mimeCode = 'image/jpeg' or @mimeCode = 'text/csv' or @mimeCode = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' or @mimeCode = 'application/vnd.oasis.opendocument.spreadsheet')))
Related rules
- BR-CL-21The scheme of an item standard identifier (BT-157) is not allowed
- BR-CL-22The VAT exemption reason code (BT-121) is not allowed
- BR-CL-23A unit of measure is not a valid code
- BR-CL-25The scheme of an electronic address (BT-34 or BT-49) is not a valid code
- BR-CL-26The scheme of the delivery location identifier (BT-71) is not allowed