#zenzen
1 messages · Page 1 of 1 (latest)
hello! can you elaborate a bit more? how do you want to prorate the invoice?
for example a subscription (billing anchor on the 1st of each month) has been paused on January (using the pause collection : void) then we resume the subscription on March 15th we want to prorate the next generated invoice from March 15th to the 30th plus the invoice on the 1st of the month
im thinking of just recreating a new subscription while cancelling the old one might work, but is there a cleaner way to do this?
if you resume the subscription on March 15, it won't generate the proration if i remember correctly, it'll just charge the normal subscription renewal on the 1st of the month. I think what you can consider is to create a separate invoice item for the March 15 - 30 (you would need to perform your own proration calculations though). Just recreating a new subscription honestly sounds a lot easier
if you cancel the old subscription does it still retain the old invoices generated for that subscription?
yes, the old invoices are still there
you can totally (and should) test all of these
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks
why does the invoice start / end date different from the line item start / end date like here : in_1MUkX2Jrjo0p2URYioSCgKBA