invoices

Update Attachment

Changed on
patch/api/invoices/{invoice_id}/attachments/{attachment_id}

Request

Path parameters

invoice_idstring uuid required
attachment_idstring uuid required

Headers

X-Workspace-Idstring nullable

Request body

kind'bill' | 'fiscal' | 'receipt' | 'contract' | 'other' nullable
sourcestring nullable
document_numberstring nullable
issued_atstring date nullable
is_primaryboolean nullable

Response

Successful Response

idstring uuid required
invoice_idstring uuid required
sourcestring nullable
external_idstring nullable
kindstring required
is_primaryboolean required
document_numberstring nullable
issued_atstring date nullable
filenamestring required
content_typestring required
sizeinteger required
created_atstring date-time required

Changes