Get absence stats: vacation balance (number of vacation days left) this vacation year plus compensation days per absence type with separate saldo.
Imported vacation balances will also be taken into account when calculating.
Permissions. User's vacation balance can be accessed by:
If long absences with separate saldo exist and user has compensation time set in settings
then compensation days saldo is returned.
{
"vacation_days": 10,
"start_date": "2025-04-01",
"end_date": "2026-03-31",
"comp_time": [
{
"absence_type": "Compensation time",
"days": 10.5,
}
]
}
| Param name | Description |
|---|---|
|
user_id
optional |
User ID. Default: current user ID. Validations:
|