Skip to content

On-call allowance and call-outs

The rule

Someone on call is not working, but must stay reachable and ready to come in. For every hour on call they earn an allowance (here 3.00 an hour). When they are called out, the work is call-out time, and each call-out is paid for at least 2 hours, however short it was. The allowance is paid whether or not they are called out.

Who uses it

IT operations, utilities, maintenance and facilities, healthcare, transport: any employer with a standby rota. Allowances by the hour, by the night or by the week are common in collective agreements across Europe, Australia and North America.

How the recipe does it

On-call periods are scheduled shifts, marked by a value:

[[shift_definition]]
id = "on-call"
start = "17:00"
end = "07:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
values = { on_call = "yes" }

Work during an on-call period is matched to that shift (the shifts of the shifts of the days before and the day after are asked of too, so 02:00 on Tuesday is Monday night’s on-call), and so carries on_call = yes in its context.

The rest is configuration: a package (package.toml) of one policy layer with three standard steps.

[[layer]]
id = "on-call"
[[layer.step]]
id = "standby"
uses = "standard/allowance"
params = { basis = "scheduled", shift_values = { on_call = "yes" }, per_hour = 300, pay = "allowances", category = "standby" }
[[layer.step]]
id = "called-out"
uses = "standard/premium"
params = { context = { on_call = "yes" }, counts = ["work"], category = "call_out" }
[[layer.step]]
id = "call-out-minimum"
uses = "standard/minimum_pay"
params = { basis = "stretch", counts = ["call_out"], context = { on_call = "yes" }, at_least = "2h", category = "call_out_minimum" }
  • standby adds up the length of every on-call shift scheduled in the pay period and pays it at per_hour, as money in the allowances measure. It is worked out once for the period, on its last on-call workday, whether or not anyone was called out.
  • called-out moves the regular work done on an on-call shift to call_out. A call-out is on the workday it starts in.
  • call-out-minimum tops each call-out (a stretch of call-out work) shorter than 2 hours up to 2 hours, in call_out_minimum, a category set up as not worked: the top-up is paid and never counted toward overtime.

Work on the ordinary shifts is untouched. For call-backs outside any shift, with no on-call rota, see call_back_pay.

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 allowances: 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

StepParameterMeaning
standbybasis, shift_valuesPay the scheduled shifts whose values are on_call = yes.
standbyper_hourThe allowance for each hour on call, in minor units.
standbypay, categoryThe money measure, and the category of its lines.
called-outcontext, countsThe work that is a call-out: regular work on an on-call shift.
called-outcategoryThe category of work done when called out.
call-out-minimumbasis, counts, contextEach stretch of call-out work on call is paid at least the minimum.
call-out-minimumat_leastThe least each call-out is paid for.
call-out-minimumcategoryThe category of the top-up, set up as not worked.

What the scenarios show

  • a-quiet-week-on-call-pays-the-allowance: four nights on call and no call-out: 56 hours of allowance, no hours.
  • a-short-call-out-is-paid-the-minimum: 45 minutes at 02:00 are paid as 2 hours.
  • two-call-outs-in-a-night-are-each-paid-the-minimum: a 30-minute call-out is topped up, a 2.5-hour one is not.
  • the-day-shift-is-ordinary-work: work on the day shift stays work.

Whether time on call is working time depends on how free the person is while on call: in the European Union, on-call time spent at the workplace is working time; in the US, on-call time may be hours worked when the person is “engaged to wait”. Model the law and the agreement where you operate.

Get the recipe

The recipe’s package and its scenarios are in the example packages repository: attendance/on_call. 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:

on_call/package.toml
name = "on_call"
version = "1.0.0"
description = "An allowance for every hour on call, and work done when called out paid as call-out time, each call-out for at least a minimum."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
measures = ["allowances"]
# On-call periods are scheduled shifts with the value on_call = "yes".
[[layer]]
id = "on-call"
# Every hour of on-call shift scheduled in the pay period pays 3.00.
[[layer.step]]
id = "standby"
uses = "standard/allowance"
params = { basis = "scheduled", shift_values = { on_call = "yes" }, per_hour = 300, pay = "allowances", category = "standby" }
# Regular work done on an on-call shift is call-out time.
[[layer.step]]
id = "called-out"
uses = "standard/premium"
params = { context = { on_call = "yes" }, counts = ["work"], category = "call_out" }
# Each call-out is paid at least 2 hours, the top-up in a category set up
# as not worked.
[[layer.step]]
id = "call-out-minimum"
uses = "standard/minimum_pay"
params = { basis = "stretch", counts = ["call_out"], context = { on_call = "yes" }, at_least = "2h", category = "call_out_minimum" }

Scenarios

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

Four nights on call, 14 hours each, with no call-out: 56 hours on call at 3.00 an hour are an allowance of 168.00, and no hours
scenarios/a-quiet-week-on-call-pays-the-allowance.toml
description = "Four nights on call, 14 hours each, with no call-out: 56 hours on call at 3.00 an hour are an allowance of 168.00, and no hours"
punch = []
[policy]
zone = "Europe/Berlin"
pay_periods = { every_days = 7, from = "2026-10-05" }
[[measure]]
id = "allowances"
kind = "money"
currency = "EUR"
[[category]]
id = "call_out_minimum"
worked = false
# The day shift, and on call from the end of it to the next morning,
# Monday to Thursday nights.
[[shift_definition]]
id = "days"
start = "08:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[[shift_definition]]
id = "on-call"
start = "17:00"
end = "07:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
values = { on_call = "yes" }
[expect.period]
day = "2026-10-05"
allocations = []
quantities = ["2026-10-08 allowances 168.00 EUR standby"]
Called out at 02:00 on Monday night for 45 minutes: the work is on the on-call shift, so it is call-out time, on the workday it starts in, topped up to the 2-hour minimum with 1.25 hours not worked; the allowance for the four nights on call is paid as well
scenarios/a-short-call-out-is-paid-the-minimum.toml
description = "Called out at 02:00 on Monday night for 45 minutes: the work is on the on-call shift, so it is call-out time, on the workday it starts in, topped up to the 2-hour minimum with 1.25 hours not worked; the allowance for the four nights on call is paid as well"
punch = [
{ at = "2026-10-06 02:00", kind = "in" }, { at = "2026-10-06 02:45", kind = "out" },
]
[policy]
zone = "Europe/Berlin"
pay_periods = { every_days = 7, from = "2026-10-05" }
[[measure]]
id = "allowances"
kind = "money"
currency = "EUR"
[[category]]
id = "call_out_minimum"
worked = false
# The day shift, and on call from the end of it to the next morning,
# Monday to Thursday nights.
[[shift_definition]]
id = "days"
start = "08:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[[shift_definition]]
id = "on-call"
start = "17:00"
end = "07:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
values = { on_call = "yes" }
[expect]
week = "2026-10-05"
allocations = [
"2026-10-06 untimed call_out_minimum 1.25 on_call=yes",
"2026-10-06 02:00-02:45 call_out 0.75 on_call=yes",
]
[expect.period]
day = "2026-10-05"
quantities = ["2026-10-08 allowances 168.00 EUR standby"]
Work on the day shift is not on call: it stays work, with no minimum, and earns no allowance of its own
scenarios/the-day-shift-is-ordinary-work.toml
description = "Work on the day shift is not on call: it stays work, with no minimum, and earns no allowance of its own"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 17:00", kind = "out" },
]
[policy]
zone = "Europe/Berlin"
pay_periods = { every_days = 7, from = "2026-10-05" }
[[measure]]
id = "allowances"
kind = "money"
currency = "EUR"
[[category]]
id = "call_out_minimum"
worked = false
# The day shift, and on call from the end of it to the next morning,
# Monday to Thursday nights.
[[shift_definition]]
id = "days"
start = "08:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[[shift_definition]]
id = "on-call"
start = "17:00"
end = "07:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
values = { on_call = "yes" }
[expect]
week = "2026-10-05"
allocations = ["2026-10-05 08:00-17:00 work 9.00"]
Called out twice on Tuesday night, for 30 minutes and for 2.5 hours: the first is topped up to 2 hours, the second is longer than the minimum and needs nothing
scenarios/two-call-outs-in-a-night-are-each-paid-the-minimum.toml
description = "Called out twice on Tuesday night, for 30 minutes and for 2.5 hours: the first is topped up to 2 hours, the second is longer than the minimum and needs nothing"
punch = [
{ at = "2026-10-06 20:00", kind = "in" }, { at = "2026-10-06 20:30", kind = "out" },
{ at = "2026-10-07 01:00", kind = "in" }, { at = "2026-10-07 03:30", kind = "out" },
]
[policy]
zone = "Europe/Berlin"
pay_periods = { every_days = 7, from = "2026-10-05" }
[[measure]]
id = "allowances"
kind = "money"
currency = "EUR"
[[category]]
id = "call_out_minimum"
worked = false
# The day shift, and on call from the end of it to the next morning,
# Monday to Thursday nights.
[[shift_definition]]
id = "days"
start = "08:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[[shift_definition]]
id = "on-call"
start = "17:00"
end = "07:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
values = { on_call = "yes" }
[expect]
week = "2026-10-05"
allocations = [
"2026-10-06 untimed call_out_minimum 1.50 on_call=yes",
"2026-10-06 20:00-20:30 call_out 0.50 on_call=yes",
"2026-10-07 01:00-03:30 call_out 2.50 on_call=yes",
]