Overtime — 1.5× on regular days, 2× on rest days
Employment Act 2007 §27 mandates two different overtime multipliers. Vendly applies each one automatically from the AttendanceRecord flags.
Kenya's Employment Act 2007 §27 sets two overtime rates that depend on the day of the week, not on the employee or the type of work. Vendly reads the day type from each AttendanceRecord's isHoliday and isWeekend flags so the right multiplier is applied automatically — no manual sorting needed.
| Day worked | Rate | Source |
|---|---|---|
| Regular working day (Mon-Fri or your shift pattern) | 1.5× ordinary hourly rate | Employment Act §27(1)(a) |
| Rest day (typically weekend) | 2× ordinary hourly rate | Employment Act §27(1)(b) |
| Public holiday | 2× ordinary hourly rate | Employment Act §27(1)(b) |
How the math works
The hourly rate is derived from basic salary ÷ working days in the period ÷ 8 hours. Overtime hours are summed into two buckets from the AttendanceRecord:
- regularOvertimeHours — total OT hours on days where isHoliday = false and isWeekend = false.
- restDayOvertimeHours — total OT hours on days where either flag is true.
Overtime pay = (regularOvertimeHours × hourlyRate × 1.5) + (restDayOvertimeHours × hourlyRate × 2). Both buckets are taxable.
If your attendance records lump weekend overtime into the regular bucket, the employee will be under-paid. Double-check the isWeekend / isHoliday flags on the AttendanceRecord rows before processing payroll.
Where to see it on the payslip
PayrollRecord stores both bucket totals as regularOvertimeHours and restDayOvertimeHours, alongside the combined overtimeHours and overtimeAmount. The Payslip carries the same fields so an employee can see how their overtime was rated.
Example
| Item | Hours | Rate | Amount |
|---|---|---|---|
| Hourly rate (KES 60,000 ÷ 22 × 8) | — | — | 341 |
| Regular OT (Mon-Fri) | 4 hrs | 1.5× | 2,045 |
| Rest-day OT (Saturday) | 4 hrs | 2.0× | 2,727 |
| Total OT pay | 8 hrs | — | 4,773 |
Kenya law that applies
- Employment Act 2007
Working hours, overtime rates (§27), leave entitlement, termination rules.