#Spera
1 messages · Page 1 of 1 (latest)
This endpoint lets you filter by status: https://stripe.com/docs/api/invoices/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, but I need to filter by status and by date. I need all invoices that were voided in march, for example without fetching all voided invoices and then filtering manually
Oh ok I see
No you can't filter by voided date unfortunately
This doesn't help your current situation, but in the future I recommend using webhooks to get proactively notified when an invoice is voided, so you would be able to avoid having to make this API request later on
alright, thanks