Models
Attachment
Properties
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | An identifier for the attachment within the document. Example: "ATT-001" |
mimeCode | string | No | MIME type of the document (e.g. application/pdf, text/csv, image/png). Default: application/pdf. Example: "application/pdf" |
filename | string | Yes | Filename for an embedded attachment. This is included in the Peppol XML only when embeddedDocument is provided. For URL-only attachments, the document contains an external reference and the filename is not embedded. Example: "contract.pdf" |
description | string | null | No | A short description of what the attachment contains. Example: "Signed contract" |
embeddedDocument | string | null | No | The contents of the attachment, base64 encoded. Provide this or url |
url | string | null | No | A link to the attachment, for when the contents are not embedded. Provide this or embeddedDocument. Example: "https://example.com/contract.pdf" |