#GiovanniV - invoice without changing cycle
1 messages · Page 1 of 1 (latest)
Hello, I think this should be possible some way by just making the create an invoice call. By default it should be able to pick up any existing invoice items without affecting their original subscription https://stripe.com/docs/api/invoices/create
Wait I may be misunderstanding your question. You are talking about doing a standard update to a subscription that would not change the billing cycle and you want to invoice for that immediately for that?
yes correct
Gotcha. Have you already tested passing in a proration_behavior of always_invoice ? I don't think that that should change the billing cycle by itself. If you have already tested that, would you mind sending me the request ID from when an update like that changed the billing cycle?
That’s another good idea.
I’m more just thinking through options right now.
In the particular use case I’m thinking through, it probably makes more sense to change the billing cycle anchor — example: customer wants to trigger annual renewal before end of year, but invoice isn’t upcoming until, say, 1/3. In that case, just changing the billing cycle makes most sense.
The other scenarios I’m thinking through largely involve refunds. I might actually start another thread for that q.
We can keep that discussion here as well. So you essentially want to let the user pay for another year before their first year is actually up?
yes thats one scenario
Gotcha. Can you tell me a bit about your refund scenarios too?
Trying to think of whether there is a good way to do this.
In that particular use case yes. Seems billing_cycle_anchor: ‘now’ will work well for that, correct?
no it wouldn't
if you pass that parameter you change the billing cycle completely and you said earlier you don't want that
@quick crow did that make sense? Do you have more questions?
Yes , in this particular use-case i think it’s ok to do
there could potentially be other use cases where we want to trigger a one-off invoice. in that case i think your suggestion to do invoices create should work. Thank you very much
awesome glad you got the help you needed!