post /v1/invoices/{invoice}/lines/{line_item_id}

Update an invoice's line item

PostInvoicesInvoiceLinesLineItemId

<p>Updates an invoice’s line item. Some fields, such as <code>tax_amounts</code>, only live on the invoice line item, so they can only be updated through this endpoint. Other fields, such as <code>amount</code>, live on both the invoice item and the invoice line item, so updates on this endpoint will propagate to the invoice item as well. Updating an invoice’s line item is only possible before the invoice is finalized.</p>

Parameters

Name In Type Required Description
invoice path string yes Invoice ID of line item
line_item_id path string yes Invoice line item ID

Request Body

application/x-www-form-urlencoded

Responses

200 Successful response.
default Error response.