#Madhavi-invoice

1 messages · Page 1 of 1 (latest)

buoyant fog
#

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.

stiff juniper
#

status of the invoice stays in draft for an hr

#

we want to delete the invoice generated from subscription

buoyant fog
#

yep, not possible!

#

why do you want to delete it exactly, what is the use case or problem you're trying to solve?

stiff juniper
#

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

buoyant fog
#

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

stiff juniper
#

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

buoyant fog
stiff juniper
#

so we cannot delete the stripe generated invoice?

buoyant fog
#

no

stiff juniper
#

using teh delete invoice api

buoyant fog
#

there is no delete invoice API

stiff juniper
buoyant fog
#

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?

stiff juniper
#

Good for now.. Thanks for the information