/ubl:Invoice/cac:AdditionalDocumentReference/cac:Attachment/cbc:EmbeddedDocumentBinaryObject
Attachment File
| Context ID | INV0221 |
| Cardinality | 0..1 |
| Usage | O |
Description
A binary large object containing an attached document.
An attached document embedded as binary object (b64 encoded), sent together with the invoice.
Child elements
| Cardinality | Usage | Description | Element |
|---|---|---|---|
| 0..1 | M |
Attachment Filename
The filename of the binary object. |
@filename |
| 1..1 | - |
Attachment Mime Code
The mime type of the binary object. |
@mimeCode |
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-DE-XR-25 | The value of the Attachment Mime Code must be contained in MIME Media Types [VRBL-CL-DE-XR-MIMEMediaType]. Allowed values: application/pdf, application/vnd.oasis.opendocument.spreadsheet, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/xml, image/jpeg, image/png, text/csv. |
| VRBL-INV-PEPPOL-RCM-31 | The value of the Attachment Mime Code must be contained in MIME Media Types [VRBL-CL-PEPPOL-MIMEMediaType]. |
| VRBL-INV-EN16931-CM-333 | The value of the Attachment Mime Code must be contained in MIME Media Types [VRBL-CL-MIMEMediaType]. |
| VRBL-INV-EN16931-S-213 | The Attachment Filename must exist within the Attachment File. |
| VRBL-INV-CORE-582 | The Attachment Mime Code must match the file extension in the Attachment Filename. |