Delete an invoice item v1

DELETE /v1/invoiceitems/:id

Deletes an invoice item, removing it from an invoice. Deleting invoice items is only possible when they’re not attached to invoices, or if it’s attached to a draft invoice.

Parameters

  • idstringRequired

    Unique identifier for the object.

Returns

An object with the deleted invoice item’s ID and a deleted flag upon success. Otherwise, this call raises an error, such as if the invoice item has already been deleted.

curl -X DELETE https://api.stripe.com/v1/invoiceitems/ \
-u "sk_test_...sk_test_...:" \
-H "Stripe-Version: 2026-10-28.endive"
Response
{
"object": "invoiceitem",
"deleted": true
}