Hi,
According to what you are writing in your email, this is working as intended.
The first response says that you have 447 invoices available, and then when you call page 2 of 500 invoices per page you get an empty response.
Eg. Pagesize = 500: Page 1 will contain item 1-500, Page 2 will contain 500-1000.
Changing the pagesize between the calls while incrementing the pagenumber would mean that you miss getting the difference in pageSize.
Please have a look at this article:, it looks like some of these changes are already being implemented:
Enforcement of pagination on API endpoints and change of maxPagesize - September release (8.25)
... View more