cURL
curl --request POST \ --url https://api.e-invoice.be/api/documents/{document_id}/attachments \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "file_name": "<string>", "id": "<string>", "file_type": "application/pdf", "file_size": 0, "file_url": "<string>" }
Add a new attachment to an invoice or credit note
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response