Remove invoice lines

Removes one or more line items from a draft invoice and recalculates the invoice total. Pass the id of every line item to remove. If any id does not belong to a line item of the invoice, the whole request fails and no line item is removed. The invoice must be in draft status.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The id of the invoice to remove line items from.

Body Params
lines
array of strings
required
length ≥ 1

ids of the line items to remove from the invoice. Must contain at least one id, and every id must belong to a line item of the invoice.

lines*
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json