#Aditya-Invoice
1 messages · Page 1 of 1 (latest)
Hi there, you can use Invoice delete API to delete draft invoices https://stripe.com/docs/api/invoices/delete
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@cold remnant I want to delete non draft invoices as well.
You cannot delete non-draft invoices, see https://stripe.com/docs/invoicing/overview#invoice-statuses
Yes I agree. But is it not possible in test mode.
Sorry I'm not following. You mean you can't delete draft invoices in test mode?
Oh sorry, let me reiterate. I want to delete all invoices(draft and non draft) and my point is that it is test mode, that we should be allowed to delete any kind of invoice. Will that be possible in any way ?
We want to keep the behaviour consistent in both test mode and live mode so that you won't be surprised when your test-mode-tested behave differently after deploying it to production.