#anrighi.WR
1 messages ยท Page 1 of 1 (latest)
Hello ๐
To rephrase, are you trying to retrieve invoices link to a specific subscription?
not a specific subscription, but to all the subscription to the same price
Gotcha, I don't think we have a way to filter invoices by prices unfortunately.
You can find a list of subscriptions first using the List all Subscriptions API with price ID
https://stripe.com/docs/api/subscriptions/list#list_subscriptions-price
And then use List all Invoices API endpoint to retrieve all the invoices related to those individual subscriptions
https://stripe.com/docs/api/invoices/list#list_invoices-subscription
does the List all Invoices API endpoint accept an array as parameter?
unfortunately no, you'll probably need to write a script that calls it per subscription
ok thanks, i'll try to understand if it is suitable
๐