A leave-account represents a type of leave taken by your company employees. Common examples are: annual leaves, sick leaves, maternity, casual leaves, etc...

id
string
required
type
string
required
Allowed value: "leave-account"
url
string
required
name
string
required
Minimum length: 1
unit
enum<string>
required

Indicates which days should be included over the leave period, as well as the unit of the leave duration (fraction of days VS number of hours).

  • workingDays: Entire half days on any day the employee should work on.
  • workingHours: Part of a half day on any day the employee should work on.
  • businessDays: All days the employee should work one, plus Saturdays (6-days week).
  • calendarDays: All days, Sundays and holidays included.
Available options:
workingDays,
workingHours,
businessDays,
calendarDays

Was this page helpful?