#TheWizard2112
1 messages · Page 1 of 1 (latest)
Hi there!
It's possible to void an invoice yes: https://stripe.com/docs/api/invoices/void?lang=node
However there's no directly way to duplicate an invoice, but you could re-create a new invoice.
WDYM by recreate?
You can create a brand new invoice: https://stripe.com/docs/api/invoices/create
Yeah, but how would I include the same subscription items with the same quantities from the previous one? And how would I associate that invoice with the subscription?
You can set a subscription when creating an invoice if needed: https://stripe.com/docs/api/invoices/create?lang=node#create_invoice-subscription
And like I said it's not possible to duplicate an invoice, so yea you will have to create a brand new invoice from scratch (items, quantity, etc.)
and our invoices have some issues now...
Can you clarify what is the exact issue you see with your existing invoices?
My problem is that because the default behavior changed in the new API, some invoices that were supposed to be separate from each other got merged into one. It's bad in terms of customer invoicing and also the associated fees weren't calculated correctly because of this
Does this only work in the API or can I do it in the dashboard?
I don't think it's possible to set the subscription field in the dashboard.