Functional Weave
Code in Python

payroll.holiday-pay-accrual@1.0.0

data/holiday-pay-rules.json

558 bytes · view raw

[
  { "method": "average-week", "referenceWeeks": 52, "lookbackWeeks": 104, "accrualBasisPoints": 0, "validFrom": "2020-04-06", "validTo": null, "note": "WTR 1998 reg 16(3)(e)-(f) as amended by SI 2018/1378: 52 paid weeks, looking back no more than 104 weeks, from 6 April 2020" },
  { "method": "rolled-up", "referenceWeeks": 0, "lookbackWeeks": 0, "accrualBasisPoints": 1207, "validFrom": "2024-04-01", "validTo": null, "note": "WTR 1998 reg 16A: 12.07% uplift for irregular-hours and part-year workers, leave years beginning on or after 1 April 2024" }
]