Audience: PMs, QA, Customer Care, Implementation. Understand the leave & absence product from the outside in.
Companion: technical.md (implementation), configuration.md (forms), Requests (the approval flow).
Written from the code (leave entities + services) and the live product.
⚠️ VERIFYmarks items needing product confirmation.
This subsystem owns how much time off each employee is entitled to, how it accrues, and how much they've used — plus the non-working days (holidays) and absence records that affect pay. It does not own the raise/approve flow itself — a leave request rides the generic Requests engine. The two meet when an approved leave deducts a balance here.
A leave has three moving parts:
| Term | Meaning |
|---|---|
| Leave policy | A named leave type (Annual, Sick, Maternity…) with rules. LeavePolicy |
| Policy item | The per-paygrade entitlement inside a policy — days, accrual, waiting/notice/rollover. LeavePolicyItem |
| Accrual type | How entitlement builds up (e.g. granted annually vs earned monthly). AccrualType |
| Waiting period | Days after hire before the employee can use this leave. |
| Rollover / carry-over | Unused days carried into the next period, up to a limit. HasRolloverLimit, RolloverDays, RolloverDate |
| Notice period | How far ahead the employee must request. |
| Leave balance | Days remaining for an employee under a policy. EmployeeLeaveBalance (Current/Starting) |
| Leave liability | The accounting value of accrued-but-unused leave (paid leave you'd owe). |
| Perk | An extra granted with a leave (e.g. hotel accommodation, leave allowance). LeavePerk, EmployeeLeavePerkBalance |
| Reliever | The colleague who covers an employee while they're on leave. |
| Holiday | A non-working day (public/federal/paid). PublicHoliday, Paid_Holidays |
| Absence | A recorded period an employee didn't work (separate from a leave request). EmployeeAbsence |
A policy (e.g. "Annual Leave") is defined once and carries: whether it's paid, whether it's gender-specific (maternity/paternity), whether employees can self-apply, and a policy type. Inside it, policy items set the actual entitlement per paygrade — so senior grades can get more days than junior. Each item specifies the days (WorkingDays), the accrual type, the waiting period, rollover rules, and notice period. Policies are targeted at paybands / paygrades / custom groups.
Entitlement isn't always "all days on day one." The accrual type decides:
⚠️ VERIFY the exact accrual-type list (it's a configurable lookup).