# Delete a draft invoice Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be [voided](https://docs.stripe.com/api/invoices/void.md). ## Returns A successfully deleted invoice. Otherwise, this call raises [an error](https://docs.stripe.com/api/errors.md), such as if the invoice has already been deleted. ```go sc := stripe.NewClient("<>") params := &stripe.InvoiceDeleteParams{} result, err := sc.V1Invoices.Delete( context.TODO(), "in_1MtHbELkdIwHu7ixl4OzzPMv", params) ``` ### Response ```json { "id": "in_1MtHbELkdIwHu7ixl4OzzPMv", "object": "invoice", "deleted": true } ```