Emergency need zoho.invoice.getInvoices() to see more than 200 invoices.

Emergency need zoho.invoice.getInvoices() to see more than 200 invoices.

When I run this script it limits at 200 Invoices.  I have to be able to loop through all invoices to check status and balance of the invoice.  This script has been working, however we now have more than 200 invoices in Zoho Invoice and the records are not being updated back in Zoho Creator because of this limit and therefore we are unable to pay employees.

counter = 0;
inv_info = zoho.invoice.getInvoices();
for each rec in inv_info
{
            counter = (counter  +  1);
}
    
alert counter;