## Problem

Listing all invoices with the v1 PHP client kept hitting the hardcoded 10 second cURL timeout. The reporter was loading years of invoices with all their lines, so the call was slow. A Mollie team member asked which call was slow and then deployed a fix for the list-invoices page speed: a costly internal function was optimized. The reporter confirmed that after the fix all 39 invoices with lines and settlements loaded in about 3 seconds. They also narrowed their query to the last 24 months to keep it fast.

## Verified fix

The v1 client's 10 second timeout was being hit because the list-invoices endpoint itself was slow. Mollie fixed the slow endpoint server-side, so the first thing to do is retry: the reporter saw all invoices load in about 3 seconds after the fix. If it's still slow, narrow the query window (for example the last 24 months) instead of pulling your full invoice history with lines. Longer term, upgrade to the v2 client, where you can inject your own Guzzle client with a custom timeout. Source: https://github.com/mollie/mollie-api-php/issues/414