Leave balances report
keypay_report_leave_balancesLeave balances of all employees as at a date, per leave category. The report has no paging: at most 200 rows are returned (narrow with location_id or leave_category_id). For one employee use keypay_get_leave_balances. GET /business/{businessId}/report/leavebalances.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_at_date | No | Balances as at this date (yyyy-mm-dd); default today. | |
| business_id | Yes | Business id (from keypay_list_businesses). | |
| location_id | No | Only this location. | |
| leave_category_id | No | Only this leave category. |