List Invoices for Customer
In order to use the API to add Payments we must include the invoice IDs. We need an API to retrieve the invoices for a particular customer, preferably with a specified status. Currently we may only retrieve all invoices for all customers regardless of status.
You can now use the following request URI to retrieve a list of invoices for a particular customer through the API.
https://subscriptions.zoho.com/api/v1/invoices?customer_id={customer_id}&filter_by=Status.Paid
You can filter the list of invoices by these possible status criteria, depending on how you’d like to filter it:
Status.Paid, Status.OverDue, Status.Sent, Status.Void, Status.All