# Get Balance Per Client Report Returns a paginated list of balances per client, with optional date-range, client, and tax filtering. Endpoint: GET /api/v3/reports/balance_per_client Version: 3.1.0 Security: apiKeyAuth ## Query parameters: - `api_key` (string, required) Your API Key. Example: "YOUR_API_KEY" - `page` (integer) Page number for pagination, starting at 1. 0 or a negative value answers 500. Example: 1 - `per_page` (integer) Number of items per page. No maximum is enforced. Example: 10 - `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 the report. Defaults to false. ## Response 200 fields (application/json): - `balance_per_client` (array) - `balance_per_client.client_id` (integer) Example: 123 - `balance_per_client.client_name` (string) Example: "John Doe" - `balance_per_client.client_fiscal_id` (string,null) Example: "508025338" - `balance_per_client.total` (number) Example: 100 - `balance_per_client.total_paid` (number) Example: 80 - `balance_per_client.balance` (number) Example: 20 - `pagination` (object) - `pagination.current_page` (integer) Example: 1 - `pagination.total_pages` (integer) Example: 10 - `pagination.total_count` (integer) Example: 100 - `pagination.per_page` (integer) Example: 10 - `page_total` (object) ## 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)