Skip to content

Rolled-up holiday pay and vacation pay as a per cent of earnings

The rule

Some workers earn their holiday pay as a share of what they are paid, rather than as paid time off at a rate:

  • in the United Kingdom, irregular-hours and part-year workers may be paid their holiday pay with their wages: 12.07% of the pay for the work done in each pay period, shown on the payslip apart from the wages (rolled-up holiday pay);
  • in Canada, vacation pay is a per cent of what was earned (4%, 6% after some years of service, by province), paid with each pay where the province and the agreement allow it, or when the vacation is taken.

Who uses it

Employers of irregular-hours, part-year and casual workers in the United Kingdom; employers in Canada paying vacation pay with each pay; anyone whose leave pay is a fixed share of earnings.

How the recipe does it

Configuration only: the package (package.toml) has two layers.

[[layer]]
id = "pay"
[[layer.step]]
id = "straight-time"
uses = "standard/earnings"
params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150 } }
[[layer]]
id = "rolled-up"
applies_to = "attributes.rolled_up_holiday_pay = true"
[[layer.step]]
id = "holiday-pay"
uses = "standard/percent_of_pay"
params = { pay = "wages", includes = ["work", "overtime"], percent = 12.07, category = "rolled_up_holiday" }
  • earnings pays each hour at the person’s rate, as money in wages.
  • percent_of_pay adds percent per cent of the period’s money in the includes categories, as money in wages in rolled_up_holiday, on the last day with such pay, rounded down to the penny. The categories it counts are named, so holiday pay is never counted toward itself.
  • The layer applies only to the people whose employment attribute rolled_up_holiday_pay is true: everyone else takes their holiday as paid time off.

Vacation pay of 4% is the same step with percent = 4; a layer for those with the longer service raises it to 6. Where vacation pay is held until the vacation is taken, the category it is added in is one payroll holds rather than pays out.

What your setup needs

Set up before you adopt the recipe; the recipe’s steps read them by name, and adopting it is refused, with a list of what is missing, until they exist.

  • A measure called wages: the amount the recipe adds up (money in a currency, or a count).

The scenarios show each as it was set up for them.

Parameters

ParameterMeaning
payThe money measure counted and added in.
includesThe categories of pay the per cent is of.
percentThe per cent, to the hundredth (12.07).
categoryThe category the holiday or vacation pay is added in.

What the scenarios show

  • twelve-point-oh-seven-per-cent-on-top-of-the-pay: 360.00 of wages rolls up 43.45 of holiday pay.
  • regular-hours-roll-up-nothing: without the attribute, none.
  • vacation-pay-of-four-per-cent: 4% of 360.00 is 14.40.

This is how rolled-up holiday pay and vacation pay are commonly worked out; check the rules where you operate. Rules change and vary by agreement: who may be paid rolled-up holiday pay, what pay it is a share of, and when vacation pay may be paid with each pay differ by country, province and contract.

Get the recipe

The recipe’s package and its scenarios are in the example packages repository: attendance/rolled_up_holiday_pay. Test it, or your own copy of it, with hourctl attend test, and publish it with hourctl attend pkg publish.

The policy package

The package’s layers, with the standard steps each one runs and their settings:

rolled_up_holiday_pay/package.toml
name = "rolled_up_holiday_pay"
version = "1.0.0"
description = "Holiday pay paid with each period's wages as a per cent of them: 12.07% for irregular-hours and part-year workers, the same step paying a vacation pay of 4% or 6% of what was earned."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
measures = ["wages"]
# Everyone's hours are paid at their pay rate, in wages. For irregular-
# hours and part-year workers (the employment attribute
# rolled_up_holiday_pay), 12.07% of the period's pay for work is added as
# holiday pay, in rolled_up_holiday.
[[layer]]
id = "pay"
[[layer.step]]
id = "straight-time"
uses = "standard/earnings"
params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150 } }
[[layer]]
id = "rolled-up"
applies_to = "attributes.rolled_up_holiday_pay = true"
[[layer.step]]
id = "holiday-pay"
uses = "standard/percent_of_pay"
params = { pay = "wages", includes = ["work", "overtime"], percent = 12.07, category = "rolled_up_holiday" }

Scenarios

Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).

A worker with regular hours takes their holiday as time off: none is rolled up into their wages
scenarios/regular-hours-roll-up-nothing.toml
description = "A worker with regular hours takes their holiday as time off: none is rolled up into their wages"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 18:00", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 18:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 18:00", kind = "out" },
]
[policy]
zone = "Europe/London"
[[employment]]
effective = "2026-01-05"
kind = "hired"
[[category]]
id = "rolled_up_holiday"
worked = false
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[rate]]
kind = "pay"
amount = 1200
currency = "GBP"
[expect.period]
day = "2026-10-05"
quantities = ["2026-10-07 wages 360.00 GBP work"]
An irregular-hours worker paid 360.00 for 30 hours in the week is paid 12.07% of it on top as holiday pay: 43.45, shown apart from the wages
scenarios/twelve-point-oh-seven-per-cent-on-top-of-the-pay.toml
description = "An irregular-hours worker paid 360.00 for 30 hours in the week is paid 12.07% of it on top as holiday pay: 43.45, shown apart from the wages"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 18:00", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 18:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 18:00", kind = "out" },
]
[policy]
zone = "Europe/London"
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { rolled_up_holiday_pay = true }
[[category]]
id = "rolled_up_holiday"
worked = false
[[measure]]
id = "wages"
kind = "money"
currency = "GBP"
[[rate]]
kind = "pay"
amount = 1200
currency = "GBP"
[expect.period]
day = "2026-10-05"
quantities = ["2026-10-07 wages 43.45 GBP rolled_up_holiday", "2026-10-07 wages 360.00 GBP work"]
Vacation pay of 4% of what was earned, paid with each pay where the law and the agreement allow it: 14.40 on 360.00
scenarios/vacation-pay-of-four-per-cent.toml
description = "Vacation pay of 4% of what was earned, paid with each pay where the law and the agreement allow it: 14.40 on 360.00"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 18:00", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 18:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 18:00", kind = "out" },
]
[policy]
zone = "America/Toronto"
[[layer]]
id = "four-per-cent"
[[layer.step]]
id = "holiday-pay"
change = "params"
params = { percent = 4 }
[[employment]]
effective = "2026-01-05"
kind = "hired"
attributes = { rolled_up_holiday_pay = true }
[[category]]
id = "rolled_up_holiday"
worked = false
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 1200
currency = "CAD"
[expect.period]
day = "2026-10-05"
quantities = ["2026-10-07 wages 14.40 CAD rolled_up_holiday", "2026-10-07 wages 360.00 CAD work"]