Help with pagination and getRecords

Help with pagination and getRecords

I need to list the unpaid invoices, it works like this:

  1. search_map = {"status":"unpaid"};
    invoices = zoho.books.getRecords("Invoices",organization.get("organization_id"),search_map,"conn");
The problem is when there is more than 200 results, in the results I can see there is more entries:

  1. pagination = invoices.get("page_context");
  2. info pagination.get("has_more_page"); // this returns TRUE if more than 200
How can I request the page 2?