Skip to main content
POST
cURL
Amends the invoice’s lines. Each entry of invoice.lines names an op: add with the new line under value, change with the line’s id as charge_item_uuid and the new price or quantity, or remove with the line’s id as charge_item_uuid. Each amendment raises the invoice’s version by one. The body is optional.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token. To send a raw JSON body instead of filling in fields, copy the cURL sample and edit its -d payload.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Path Parameters

invoice_id
string
required

The invoice's id, such as INV-0001. Not its uuid.

Body

application/json
invoice
object

Response

200 - application/json

The amended invoice, under invoice.

invoice
object