#Gregg

1 messages · Page 1 of 1 (latest)

stable lotusBOT
torpid valley
#

What do you mean by "recreate the invoice" here?

#

What are you trying to accomplish?

rocky cedar
#

@torpid valley Let's say you have a subscription that renews and invoice automatically sent. The invoice that's sent may have an incorrect unit count and have to be voided. The problem then is we can't go and update the subscription to have the invoice resent with the same period. I just want to be able to create an invoice that inherits data from the subscription retroactively.

torpid valley
#

No that's not currently something that's supported.

You might be able to get something like what you're looking for by eg voiding the mistaken invoice and adding one-off invoice items for the subscription and create and out of cycle invoice for it:
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-subscription
https://stripe.com/docs/billing/invoices/subscription#adding-upcoming-invoice-items
https://stripe.com/docs/billing/invoices/subscription#generating-invoices

Learn how to manage subscription invoices.

rocky cedar
#

@torpid valley thanks for your help