#elianbraja
1 messages · Page 1 of 1 (latest)
Hi, when you make the request, https://stripe.com/docs/api/invoices/upcoming you can pass in various parameters like a date for when a proration takes place: https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_proration_date. Or you can pass in https://stripe.com/docs/api/invoices/upcoming#upcoming_invoice-subscription_proration_date proration behavior to none. I'm still not 100% on what you're trying to specifically, if the above does not answer your question, can you share the steps you're taking so I can try to reproduce what you mean?
ah thank you, I missed those fields
Also I wanted to ask you, Stripe does not let me to update a subscription from monthly to annual or vice-versa. Why? Isn't that possible?
And this happens only on the upcoming invoice
Can you speak more to that? You can change the price on your subscription: https://stripe.com/docs/billing/subscriptions/upgrade-downgrade#changing
Yes I can
but on the upcoming invoice I cannot set another interval
This is the error I get: "Currency and interval fields must match across all plans on this subscription. Found mismatch in interval field.",
So my subscription is in a monthly interval and I am trying to pass it to annual. Setting a subscription item with different interval that the subscription's one in the upcoming invoice firs this error
sorry, I was missing subscription item id