listinvoices has an option to fetch the list by duration but it does not provide total number of invoices to show on the UI. Pagination with offset and total records will be a better option to consume the API efficiently and effectively.
listinvoices has an option to fetch the list by duration but it does not provide total number of invoices to show on the UI.
Pagination with offset and total records will be a better option to consume the API efficiently and effectively.