Rules / PEPPOL-EN16931-CL001 · Markdown
Peppol BIS Billing 3.0 · rule
PEPPOL-EN16931-CL001
What does PEPPOL-EN16931-CL001 mean? Mime code must be according to subset of IANA code list.
Why did my invoice fail PEPPOL-EN16931-CL001?
The MIME code that declares the format of an embedded attachment must come from the subset of the IANA media-type list allowed by Peppol BIS 3.0. This guarantees receivers only get attachment types they can be expected to handle. The code is carried in the mimeCode attribute of cbc:EmbeddedDocumentBinaryObject.
Official rule text
Mime code must be according to subset of IANA code list.
Common causes
- Using a MIME type outside the Peppol subset (e.g. application/zip or application/xml)
- Typos such as 'pdf' or 'application/PDF' instead of application/pdf
- Copying the file extension instead of a proper media type
- Omitting the mimeCode attribute or leaving it empty
How do I fix it?
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="invoice.pdf">aHR0cHM...</cbc:EmbeddedDocumentBinaryObject>
Related rules
PEPPOL-EN16931-CL002 · PEPPOL-EN16931-CL003 · PEPPOL-EN16931-CL006 · PEPPOL-EN16931-CL007 · PEPPOL-EN16931-CL008
Check your invoice against this rule
Paste it into the live demo, or call POST /v1/validate. See the quickstart.