Attachments (e.g. invoice PDF, CMR, proof of delivery) can be included in two ways:
- In JSON payloads: Use the
attachmentsarray, where each item contains adocumentobject withbase64,content_type,document_type, andfilenamefields. - In multipart uploads: Send the JSON invoice data as the first part, followed by file attachments as additional parts.
See the e-invoicing webhook endpoint for detailed examples of all formats and attachment handling.