#shubhamjha
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
?
in my case i used invoice.finalized and get the url but it contains privious invoice
The Invoice object has an invoice_pdf propety: https://stripe.com/docs/api/invoices/object#invoice_object-invoice_pdf
and my current subscription charged is gong n into draft
so how can i get current invoice recipt
You can retrieve an upcoming Invoice for a Subscription: https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription
look tell me one thing if i have a plan is is 99$ and i update the plan which is 25$ so i n my upcming days how i get the recipt of 25 $ when it will going to active which event i would like to lsiten?
Do you mean you downgrade the Subscription?
How are you doing it?
It matters because proprations might apply.
You need to finalize the Invoice before paying it.
Subscriptions do that automatically at each billing date.
?oh or what about invoice and recipt
I meant Invoices created by Subscriptions get finalized automatically on every billing cycle.
but why we gwt in draft in my case
Because it stays as a draft until the day it has to be paid.
Hello, what about these invoices are you trying to test?