#Madhavi-invoice
1 messages · Page 1 of 1 (latest)
hi! I don't think it is possible, there isn't really any such thing as a draft invoice in the API
maybe you could void the invoice instead, depends what you're trying to do.
status of the invoice stays in draft for an hr
we want to delete the invoice generated from subscription
yep, not possible!
why do you want to delete it exactly, what is the use case or problem you're trying to solve?
we are interfacing actual invoices from other system
and planning to delete stripe generated invoices from subscription
we were under the assumption that the stripe generated invoices will stay in draft mode for an hour and we can delete with in that time
that's not a correct assumption. They are draft for an hour to let you edit them to add in any additional or last minute changes before they get charged, but you just can't completely delete an Invoice.
I don't understand why you even have a Subscription running in Stripe if you're going to delete the Invoices.
if you don't want to charge the customer, consider subscribing to a $0 Price for example, so the subscription just continues forever without charging
in that case, all this info will be visible to the customer and might get confused with 0$ price subscription and invoices
we are planning to interface invoices from our system linked to the subscription created in stripe
and delete the stripe generated invoices
I don't understand the use case but ok! Then maybe look into voiding the invoice as I mentioned https://stripe.com/docs/invoicing/overview#invoice-statuses
so we cannot delete the stripe generated invoice?
no
using teh delete invoice api
there is no delete invoice API
yeah but this for a different concept of 'draft' unfortunately
the Stripe dashboard can create special draft invoices in its UIs , which can be deleted, but it doesn't work that way for recurring invoices on subscriptions or invoices you create yourself in the API
anyway I've given you all the options. Any other questions?
Good for now.. Thanks for the information