#ironbeard
1 messages · Page 1 of 1 (latest)
You can preview an upcoming invoice: https://stripe.com/docs/api/invoices/upcoming
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That should tell you
Hmm, yeah I use that functionality to generate preview invoices when people are checking out and doing an upgrade
But if the next invoice is a positive value the negative balance should just be applied automatically
Gotcha. Is it possible to prevent that?
Lemme see if I can give you a more concrete example with an ID
So this subscription: sub_1MCpy8CoTIfwbn28MKKoGoi9
I see that it Applied a Balance in the Upcoming Invoice, so that next year they won't owe anything for the 2023-2024 year's subscription. Is it possible to prevent that?
Unfortunately not: https://stripe.com/docs/billing/customer/balance#details