Invoices

Execute invoice modification

Execute a modification on a draft invoice. Currently supports line item changes: add (bulk), update (one line item per call; the edit is versioned, so the line item id changes), and remove (bulk, soft delete). Totals are recalculated from the remaining line items; a manual edit marks the invoice as manually edited, which disables recompute.

post/invoices/{id}/modify/execute

Path parameters

idstring required

Invoice ID

Request body

type'line_item' required

Response

OK

Changes

Changed in 1 of the 112 revisions of this API.1