#Eranga
1 messages · Page 1 of 1 (latest)
This is possible. You may refer to the guide here: https://stripe.com/docs/billing/subscriptions/backdating?dashboard-or-api=api
I tried this. It doesn't set the invoice to April 1st. Instead, it creates a proration item
This was my test API call:
stripe subscriptions create \
--customer="cus_Nr2PtLoqXQ3Uko" \
--backdate-start-date=1680307200 \
--collection-method=send_invoice \
--days-until-due=30 \
-d "items[0][price]"="price_1K7BEpC8JGuaUdU6J4e9FmyC"
Can you share the subscription ID (sub_xxx)?
sub_1N5KhpC8JGuaUdU6Ksvq0vrp
I don't see you setting the billing_cycle_anchor for the next year Apr 1st 2024: https://stripe.com/docs/billing/subscriptions/backdating?dashboard-or-api=api#backdating-billing-cycle
If it's not set, the next billing date will be the same day in next year from the request creation date, i.e. 5 May 2024