Get the time off report
talenthr_get_time_off_reportApproved, non-canceled time off summarized per month and per weekday, split by time off type, for 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). |