- Home
- API reference
- Invoices
- Delete a draft invoice
Delete a draft invoice
Deletes a draft. Deleting an issued invoice voids it instead.
DELETE
/v1/invoices/{id}Requires
invoices:write permission.Path parameters
Section titled “Path parameters”idstringrequiredThe id of the invoice (inv_…).
Example: inv_01k7q3m8x2v5t9n4b6c1d0e7fa
Prefixed with inv_.
Response (200)
Section titled “Response (200)”dataobjectrequiredThe returned object, or an array of objects for a list.
idstringrequiredThe id of the invoice (inv_…).
Example: inv_01k7q3m8x2v5t9n4b6c1d0e7fa
Prefixed with inv_.
deletedstringrequiredAlways true: the object has been deleted.
Value: true
metaobjectrequiredRequest details such as its id and pagination cursor.
request_idstringrequiredThe id of this request. Quote it when you ask support about it.
Example: req_Hy3k9QzT2LmN8vXa
A failed request answers with the common error shape; see Errors.