e-Factura validator

All error codes › BR-CL-24

BR-CL-24 – Value not in the official code list

Erroren16931applies to Romanian e-Factura

What the rule says

For Mime code in attribute use MIMEMediaType.

How to fix it

Use a value from the code list named in the message.

Check your invoice for free

Paste the XML and see every error with the exact fix and the correct amounts.

Where it is checked in the XML

Context: cbc:EmbeddedDocumentBinaryObject[@mimeCode]

Test (XPath):

((@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