Update invoice
Changed onEndpoint for updating an existing invoice.
Request
- Base URLhttps://api.wafeq.com/v1
- URLhttps://api.wafeq.com/v1/invoices/{id}/
- AuthAPI key in header Authorization
Path parameters
Query parameters
Comma-separated related objects to return in full instead of as IDs. Accepted values: attachments, branch, contact, contact.persons, journal, line_items, line_items.account, line_items.item, line_items.tax_rate, line_items.cost_center, project, warehouse, discount_cost_center. Nested relations are joined with a dot. Pass journal to replace the journal ID with its object (ID, date, currency, reference, notes and timestamps). Documents without a journal still return null. Journal line items are retrieved separately with GET /v1/journal-line-items/?journal={journal_id}.
Headers
Client-provided UUID to uniquely identify a request
Request body
Response
Changes
- breaking
added to the
request propertyallOflist (media type: application/json) - breaking
added to the
request propertyallOflist (media type: application/x-www-form-urlencoded) - breaking
added to the
request propertyallOflist (media type: multipart/form-data) - breaking
removed from the
//request propertyoneOflist (media type: application/json) - breaking
removed from the
//request propertyoneOflist (media type: application/x-www-form-urlencoded) - breaking
removed from the
//request propertyoneOflist (media type: multipart/form-data) - breaking
added to the
//response propertyoneOflist for the response status - warning
removed from the
request propertyallOflist (media type: application/json) - warning
removed from the
request propertyallOflist (media type: application/x-www-form-urlencoded) - warning
removed from the
request propertyallOflist (media type: multipart/form-data) - info
added the new optional
queryrequest parameterexpand - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: multipart/form-data) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: multipart/form-data) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/x-www-form-urlencoded) - info
added the new optional request property
(media type: multipart/form-data) - info
added to the
//request propertyoneOflist (media type: application/json) - info
added to the
//request propertyoneOflist (media type: application/x-www-form-urlencoded) - info
added to the
//request propertyoneOflist (media type: multipart/form-data) - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status - info
removed from the
//response propertyoneOflist for the response status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking