# Export Balance Per Client Report Exports the full balance per client report as an XLSX file, using the same filters as the report endpoint. Results are not paginated — all matching rows are included. Generates the file, uploads it to S3, and returns a presigned download URL valid for about 7 days (X-Amz-Expires=597600). Endpoint: GET /api/v3/reports/balance_per_client/export Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" - `date_from` (string) Start date for filtering (format YYYY-MM-DD). Defaults to 1900-01-01 if not provided. Example: "2025-01-01" - `date_to` (string) End date for filtering (format YYYY-MM-DD). Defaults to today if not provided. Example: "2025-12-31" - `client_id` (string) Filter by client ID. Accepts a comma-separated list of ids (e.g. 123,456). Example: "123,456" - `with_taxes` (boolean) Include taxes in amounts. Defaults to false. ## Response 200 fields (application/json): - `url` (string, required) Presigned URL to download the XLSX file. Valid for about 7 days (597600 seconds, X-Amz-Expires=597600). Example: "https://invoicexpress-downloads.s3.eu-west-1.amazonaws.com/..." - `filename` (string, required) Suggested filename for the download Example: "balance_per_client_2025-02-23.xlsx" ## Response 401 fields (application/json): - `errors` (array) Example: [{"error":"Authentication Error"}] - `errors.error` (string) ## Response 403 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string) ## Response 500 fields (application/json): - `errors` (array) Example: [{"error":"An unexpected error occurred"}] - `errors.error` (string)