Documents

Add one or more attachments to an invoice. Be careful: the attachments ARE NOT ADDED to the UBL! They are only stored in our database and can be downloaded later. To add attachments to the UBL, you need to add the attachment(s) via POST /api/documents

post/api/documents/{document_id}/attachments

Request

Path parameters

document_idstring required

Request body multipart/form-data

filestring binary required

Response

Successful Response

file_namestring required
file_typestring
file_sizeinteger
idstring required
file_urlstring nullable

Changes