#Emily Medrado-subscription
1 messages · Page 1 of 1 (latest)
Hi there!
You could use the list invoice endpoint, while passing a customer ID or subscription ID https://stripe.com/docs/api/invoices/list
Can you tell me how I get the zeroed invoices, without any gain?
I'm not sure I understand. what do you mean by "get the zeroed invoices, without any gain"?
Sorry, I only want to extract data from invoices that have some gain, removing those that are zeroed from the return.
what do you mean by "that have some gain"? you mean non-zero amounts?
if so, you would list all paid invoice, and then filter out the invoice with a 0 amount on your end.
or you could use the search endpoint for this, for example: https://stripe.com/docs/search#numeric-filters