Get the hires and leaves report
talenthr_get_hires_leaves_reportHires, terminations and attrition rate per month over a period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Filter: key=comma-separated ids, keys separated by ';', e.g. location=36;emp_state=1,2,3. Valid keys and ids come from talenthr_get_directory_filters. | |
| period | No | Reporting period: l12m (last 12 months) or a 4-digit year (the current or the previous calendar year). Alternatively pass start_date and end_date (max 36 months). | |
| end_date | No | Custom range end, yyyy-mm-dd. | |
| start_date | No | Custom range start, yyyy-mm-dd (use with end_date instead of period). |