Update the line items of a receivable
Use this endpoint to update the line items in:
- draft quotes,
- invoices in the
draft
andrecurring
statuses, - (non-compliant mode only) invoices in the
issued
andoverdue
statuses.
Invoices and quotes in other statuses cannot be updated.
The list of line items provided in the request body fully replaces all previous line items in the specified document.
To update the line items in draft credit notes, use PATCH /receivables/{receivable_id}
instead.
Path parameters
receivable_id
ID of the invoice or quote you want to update.
Headers
Authorization
Bearer authentication of the form Bearer <token>
, where token is your auth token.
x-monite-version
x-monite-entity-id
The ID of the entity that owns the requested resource.
Request
This endpoint expects an object.
data
The new list of line items that will replace existing line items.
Response
Successful Response
data
The list of line items.