#Jim Raptis-MRR
1 messages ยท Page 1 of 1 (latest)
Until now, I've managed to calculate the current MRR from the user's subscriptions .
But I'm a bit stuck on how to calculate MRR for the previous months (eg last month's MRR). Do you have any hints?
PS. I understand if it's not a publicly available formula and you can't answer my question
you could get list all the invoices between 2 dates https://stripe.com/docs/api/invoices/list if that helps
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's a smart trick. Thanks, I'll try it ๐
but you'll have to do pagination so I suggest using this as well https://stripe.com/docs/api/pagination/auto
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.