You can select all invoices from the customer portal by selecting all on the left hand side.
Then you will see a “Select all X invoices” button that allows you to select all invoices across all pages.
Please keep in mind standard limitations of selecting invoices (if there are invoices in multiple currencies the “Select all X invoices” won’t appear).