Functional Weave
Code in Python

payroll.holiday-entitlement@1.0.1

data/holiday-rules.json

524 bytes · view raw

[
  { "basis": "weeks", "weeksX10": 56, "capDays": 28, "accrualBasisPoints": 0, "validFrom": "2009-04-01", "validTo": null, "note": "WTR 1998 regs 13 and 13A: 4 + 1.6 weeks, at most 28 days, for leave years beginning on or after 1 April 2009" },
  { "basis": "accrual", "weeksX10": 0, "capDays": 28, "accrualBasisPoints": 1207, "validFrom": "2024-04-01", "validTo": null, "note": "WTR 1998 reg 15B: irregular-hours and part-year workers accrue 12.07% of hours worked, for leave years beginning on or after 1 April 2024" }
]