Attach A File
You can attach files to certain endpoints, for example when adjusting an invoice
curl --location -g --request POST '{{host}}/rest/v2/invoice-adjustments' \
--header 'Authorization: Bearer {{token}}' \
--form 'contract_id="m4zwgdr"' \
--form 'amount="100"' \
--form 'type="expense"' \
--form 'description="Work monitor and keyboard."' \
--form 'date_submitted="2022-07-25"' \
--form 'file=@"/file/to/path"'
Updated 7 months ago