#dhruvTech
1 messages · Page 1 of 1 (latest)
hi! this should be possible but it might be complicated if you're on an older API version. Do you have some examples of the Invoice in_xxx you created that was incorrect or so on?
but in general this should just work, you'd follow https://stripe.com/docs/invoicing/integration to create a new invoice, and that doesn't interact with the existing subscription at all.
Let me check that @stiff warren . Thanks!!
Please suggest!!
Here is the screenshot
what's the subscription ID sub_xxx that is from?
sub_1NYnpUDylUKG7Lbf2LrX4wTN
yeah this is complicated because you're on a 6 year old API version, as I assumed at the start
what you should do is follow the guide https://stripe.com/docs/invoicing/integration, but in step 5 when you create the Invoice, pass pending_invoice_items_behavior="exclude" , which allows you to create the Invoice as a blank draft, and then add the InvoiceItems directly to it. (in your old version it works differently, so you need that parameter to opt into the new behaviour)
https://stripe.com/docs/api/invoices/create#create_invoice-pending_invoice_items_behavior
sure Thank you.!!!
I will check that.