Back to Playbook
Act 2: Setting Up the Kingdom

9. HR Foundations (Leave Types & Holidays)

Story

Sarah now focuses on configuring leave and holiday policies because time-off management directly affects employee experience, staffing visibility, attendance tracking, and payroll accuracy.

She defines leave categories, allocation rules, carry-forward behavior, and holiday calendars so employees clearly understand their entitlements while approvals, attendance, payroll, and reporting workflows remain consistent and automated.

Happy Path

Leave and holiday policies are configured successfully, allowing requests, balances, approvals, and attendance adjustments to work automatically across the organization.

  • Open Operations > Leave > Leave Types and add each type: Leave Name, Quota, Paid Leave, Allow Partial Leave, and the rules around waiting time and the first year ("Months of service before it can be taken", "Cut the first year by months worked")
  • Say what happens at year end: "Carry over at year close" with a cap in days, and optional year-end encashment (percent and the month it opens). "Paid out when an employee leaves" decides if the balance is encashed on final settlement
  • "Assign to everyone" gives the quota to all employees; otherwise balances are given one by one under Operations > Leave > Leave Balances
  • "How leave is earned" has three choices: Yearly (the whole quota at the start of the year), Monthly (a twelfth each month, credited on the 1st for the month before) or By days worked (one day of leave per set number of days worked, 18 by default as in the Labour Act). On Leave Types, "Run accrual for" the last month credits it by hand and is safe to run twice. Switch a type before closing the leave year; after the year is closed, next year's yearly amount is already granted and the switch waits a year
  • Pick a Law category (Earned, Casual, Sick or Other). Law warnings on the leave type form are amber and stay on the form while you edit. They never stop you from saving
  • Open Organization > Holiday Calendar and add holidays with a Start Date and End Date and a Type: Public, Company, Optional, or Weekend with office open (a working day)
  • Tick Recurring Holiday for dates that repeat every year. For an Optional holiday, employees choose their own days up to a yearly quota set by the company
  • Holidays and leave are applied automatically in attendance and payroll. A holiday cannot be created, moved or deleted in a month whose payroll is locked

Failure Modes

FailureWhat the user seesWhat happens next
Duplicate leave type name"Leave type ... already exists in this company"Use a unique leave type name
Zero or negative leave quota configuredValidation rejectionEnter a quota above zero
Delete leave type that already has leaves, balances or year settings"Cannot delete leave type with existing leaves, balances, or year configs"Keep the type; it cannot be deleted once used
Holiday end date before start date"endDate must be on or after startDate"Fix the dates
Holiday created, moved or deleted in a payroll-locked month"Payroll for ... is locked"Unlock the payroll period first
A holiday covers a working day (Weekend with office open)The save is refused and names the clashing dayMove or delete the working day first
Recurring holiday overlaps with approved leaveHoliday days automatically excluded from leave calculationSystem recalculates leave duration automatically

Edge Cases

ScenarioBehaviorWhy
Carry-over rule changed during the yearIt applies when the year is closed (Operations > Leave > Leave Year Close)Prevents retroactive balance inconsistencies
Unpaid leave type configuredApproved days are not paid in payrollSupports unpaid absence management
Optional holiday provided by company policyEmployees pick their own optional holidays up to the yearly quota. When the quota is used up the app says soSupports flexible holiday benefits
Holiday falls on a weekendThe weekend stays a weekend. To make a weekend a working day, add a holiday of type Weekend with office openKeeps weekend and holiday pay rules separate