#osamayawar_api

1 messages ¡ Page 1 of 1 (latest)

dire patrolBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1220615015930003466

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

royal pondBOT
celest raft
#

The invoice created in https://dashboard.stripe.com/logs/req_3Fpu88SPwrkEUJ was an one-time invoice.

For invoiced from subscription, you will need to create a subscription first and Stripe will create the invoices automatically: https://docs.stripe.com/billing/subscriptions/build-subscriptions

Create and manage subscriptions to accept recurring payments.

marble cave
#

Right but lets say we manually created an invoice for an existing customer against the assigned subscription and never charged a customer for it, how do i delete it then?

celest raft
marble cave
#

I did not through API but rather on dashboard, i do not see an option for deleting draft invoice that are connected to recurring subscriptions

#

Another case i just saw where auto collection is turned off for an invoice which was created by the subscriotion and was never paid. It has been almost months that the invoice is still in DRAFT status

celest raft
#

Can you share example invoice IDs for both scenarios?

marble cave
#

where do i create such example invoices?

cinder ore
#

@celest raft : Just to be clear you want Invoice ID for the invoices in question ?>

celest raft
#

Yes! We will need the invoice ID in questions to investigate the issue

marble cave
#

Ok let me get you one

#

in_1Mw9hpCDh0iRDKQBbcbW77rZ

#

Another example: in_1KoXKgCDh0iRDKQBNQ1igERd

celest raft
#

What is your expectation on these invoices? With auto_advance being turned off, the invoice will not be finalised and available for payments. They look fine to me

marble cave
#

Right but now in order to get rid of such invoices, what should we do?

celest raft
#

What do you mean by get rid?

marble cave
#

i mean we have alot of similar invoices that we want to delete

marble cave
celest raft
#

I see! An invoice created from subscription can't be deleted. You can either:

  1. Leave them in draft status as long as auto advance is set to false; OR
  2. Finalise (https://docs.stripe.com/api/invoices/finalize) and void (https://docs.stripe.com/invoicing/overview#void) the invoice

Learn more about the basics of Stripe Invoicing.

marble cave
#

Perfect, thank you @celest raft. We'll take a look