Skip to content

Call-back pay

The rule

Someone called back to work after their shift (or called in on a day they are not scheduled) is paid for at least a minimum for each call-back, here 2 hours, however short the work was. Work that runs straight on from a shift (staying late) is not a call-back.

Who uses it

Maintenance and facilities staff, IT on call, utilities, healthcare and public safety: anyone who can be called back for an emergency. The minimum usually comes from a collective agreement or company policy.

How the recipe does it

Configuration only: a package (package.toml) of one layer. A daily threshold puts time past 8 hours in overtime, and then the standard minimum_pay step pays each call-back at least at_least.

[[layer]]
id = "call-back"
[[layer.step]]
id = "daily"
uses = "standard/threshold"
params = { over = "8h", to = "overtime", window = "day" }
[[layer.step]]
id = "call_back"
uses = "standard/minimum_pay"
params = { basis = "call_back", at_least = "2h", category = "callback_pay" }
[[category]]
id = "callback_pay"
worked = false # paid, not worked: never counted toward overtime
  • Time that follows on from itself is one stretch of work, however an earlier step split it (into regular and overtime, say).
  • A stretch that overlaps none of the day’s scheduled shifts is a call-back; on a day with no shift, every stretch is a call-in. Work running on from a shift (staying late) overlaps it and is no call-back.
  • A call-back starting inside the guaranteed time of the one before (its first 2 hours, or until it ended where it ran longer) is the same call-back, extended: the minimum is paid once, on their time together. Calls further apart are each paid the minimum.
  • Each call-back shorter than at_least is topped up by the difference, as hours in callback_pay, set up as not worked. The step’s own default category is minimum_pay, so the recipe names callback_pay.

Run it after the overtime steps: they decide what the worked time is, and the top-up, not worked, never counts toward overtime.

Parameters

ParameterMeaning
basis"call_back": each stretch of work outside the scheduled shifts.
at_leastThe minimum each call-back is paid for: "2h".
categoryWhere the top-up goes: "callback_pay", set up as not worked.

What the scenarios show

  • called-back-after-the-shift: a 2-hour call-back needs nothing, a 1-hour one is topped up an hour, two call-backs in a day are topped up each, a call-back split by overtime is one stretch, staying late is not a call-back, and work on an unscheduled day is a call-in.
  • a-second-call-inside-the-first-is-one-minimum: called at 20:00 for half an hour and again at 21:00 for half an hour: one call-back of an hour, topped up once to 2 hours.
  • two-calls-far-apart-are-two-minimums: called at 18:00 and at 21:00, after the first call’s 2 hours: each is topped up to 2 hours.
  • calls-together-past-the-minimum-need-nothing: called at 20:00 for an hour and a half and again at 21:45 for 45 minutes: together more than 2 hours, so nothing is added.
  • a-call-back-across-midnight: a company that pays no daily overtime (its own layer turns the daily step off): a call-back from 23:30 to 00:30 is one stretch on the workday it started in.

This is a common way companies implement call-back pay; check the rules where you operate. Most call-back laws and contracts pay one minimum for calls inside the first call’s guaranteed time, as here; they differ on whether the minimum is paid at the overtime rate, and on on-call pay, which is not covered here.

Get the recipe

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

call_back_pay/package.toml
name = "call_back_pay"
version = "1.0.0"
description = "Each time someone is called back to work outside their scheduled shift, they are paid for at least a minimum, such as 2 hours."
# Time past 8 hours a day is overtime. Then each call-back (a stretch of
# work outside the day's scheduled shifts) shorter than 2 hours is topped
# up to 2 hours, in callback_pay, which the tenant sets up as not worked.
[[layer]]
id = "call-back"
[[layer.step]]
id = "daily"
uses = "standard/threshold"
params = { over = "8h", to = "overtime", window = "day" }
[[layer.step]]
id = "call_back"
uses = "standard/minimum_pay"
params = { basis = "call_back", at_least = "2h", category = "callback_pay" }

Scenarios

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

Called back at 23:30 on Monday until 00:30: one stretch of an hour, on Monday's workday, where the shift was; topped up to 2 hours on Monday. Tuesday's shift starts after it ends, so Tuesday has no call-back
scenarios/a-call-back-across-midnight.toml
description = "Called back at 23:30 on Monday until 00:30: one stretch of an hour, on Monday's workday, where the shift was; topped up to 2 hours on Monday. Tuesday's shift starts after it ends, so Tuesday has no call-back"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 16:00", kind = "out" },
{ at = "2026-10-05 23:30", kind = "in" }, { at = "2026-10-06 00:30", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 16:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
# A company that pays no daily overtime: only the call-back minimum.
[[layer]]
id = "no-daily-overtime"
[[layer.step]]
id = "daily"
change = "disable"
[[category]]
id = "callback_pay"
worked = false
[[shift_definition]]
id = "days"
start = "08:00"
end = "16:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[expect]
week = "2026-10-05"
days = { "2026-10-05" = "9h", "2026-10-06" = "8h" }
allocations = [
"2026-10-05 untimed callback_pay 1.00",
"2026-10-05 08:00-16:00 work 8.00",
"2026-10-05 23:30-2026-10-06 00:30 work 1.00",
"2026-10-06 08:00-16:00 work 8.00",
]
Scheduled 08:00 to 16:00 on Tuesday, then called back at 20:00 for half an hour, and again at 21:00, inside the first call's 2 hours, for half an hour: one call-back of an hour, topped up once, by an hour
scenarios/a-second-call-inside-the-first-is-one-minimum.toml
description = "Scheduled 08:00 to 16:00 on Tuesday, then called back at 20:00 for half an hour, and again at 21:00, inside the first call's 2 hours, for half an hour: one call-back of an hour, topped up once, by an hour"
punch = [
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 15:00", kind = "out" },
{ at = "2026-10-06 20:00", kind = "in" }, { at = "2026-10-06 20:30", kind = "out" },
{ at = "2026-10-06 21:00", kind = "in" }, { at = "2026-10-06 21:30", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[category]]
id = "callback_pay"
worked = false
[[shift_definition]]
id = "days"
start = "08:00"
end = "16:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[expect]
week = "2026-10-05"
worked = "8h"
allocations = [
"2026-10-06 untimed callback_pay 1.00",
"2026-10-06 08:00-15:00 work 7.00",
"2026-10-06 20:00-20:30 work 0.50",
"2026-10-06 21:00-21:30 work 0.50",
]
Scheduled 08:00 to 16:00, paid at least 2 hours for each call-back. Monday's 2-hour call-back needs nothing; Tuesday's 1-hour one is topped up an hour; Wednesday's two call-backs are topped up each; Thursday's call-back, split by daily overtime into two lines, is still one hour-long stretch; Friday's staying late runs on from the shift and is no call-back; Saturday, with no shift, is a call-in
scenarios/called-back-after-the-shift.toml
description = "Scheduled 08:00 to 16:00, paid at least 2 hours for each call-back. Monday's 2-hour call-back needs nothing; Tuesday's 1-hour one is topped up an hour; Wednesday's two call-backs are topped up each; Thursday's call-back, split by daily overtime into two lines, is still one hour-long stretch; Friday's staying late runs on from the shift and is no call-back; Saturday, with no shift, is a call-in"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 16:00", kind = "out" },
{ at = "2026-10-05 20:00", kind = "in" }, { at = "2026-10-05 22:00", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 15:00", kind = "out" },
{ at = "2026-10-06 20:00", kind = "in" }, { at = "2026-10-06 21:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 14:00", kind = "out" },
{ at = "2026-10-07 18:00", kind = "in" }, { at = "2026-10-07 18:30", kind = "out" },
{ at = "2026-10-07 21:00", kind = "in" }, { at = "2026-10-07 22:00", kind = "out" },
{ at = "2026-10-08 08:00", kind = "in" }, { at = "2026-10-08 15:30", kind = "out" },
{ at = "2026-10-08 20:00", kind = "in" }, { at = "2026-10-08 21:00", kind = "out" },
{ at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 17:00", kind = "out" },
{ at = "2026-10-10 10:00", kind = "in" }, { at = "2026-10-10 11:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[category]]
id = "callback_pay"
worked = false
[[shift_definition]]
id = "days"
start = "08:00"
end = "16:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[expect]
week = "2026-10-05"
worked = "44h"
allocations = [
"2026-10-05 08:00-16:00 work 8.00",
"2026-10-05 20:00-22:00 overtime 2.00",
"2026-10-06 untimed callback_pay 1.00",
"2026-10-06 08:00-15:00 work 7.00",
"2026-10-06 20:00-21:00 work 1.00",
"2026-10-07 untimed callback_pay 1.00",
"2026-10-07 untimed callback_pay 1.50",
"2026-10-07 08:00-14:00 work 6.00",
"2026-10-07 18:00-18:30 work 0.50",
"2026-10-07 21:00-22:00 work 1.00",
"2026-10-08 untimed callback_pay 1.00",
"2026-10-08 08:00-15:30 work 7.50",
"2026-10-08 20:00-20:30 work 0.50",
"2026-10-08 20:30-21:00 overtime 0.50",
"2026-10-09 08:00-16:00 work 8.00",
"2026-10-09 16:00-17:00 overtime 1.00",
"2026-10-10 untimed callback_pay 1.00",
"2026-10-10 10:00-11:00 work 1.00",
]
Scheduled 08:00 to 16:00 on Tuesday, then called back at 20:00 for an hour and a half, and again at 21:45, inside the first call's 2 hours, for 45 minutes: one call-back of 2 hours 15 minutes, more than the minimum (its last quarter hour daily overtime), so nothing is added
scenarios/calls-together-past-the-minimum-need-nothing.toml
description = "Scheduled 08:00 to 16:00 on Tuesday, then called back at 20:00 for an hour and a half, and again at 21:45, inside the first call's 2 hours, for 45 minutes: one call-back of 2 hours 15 minutes, more than the minimum (its last quarter hour daily overtime), so nothing is added"
punch = [
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 14:00", kind = "out" },
{ at = "2026-10-06 20:00", kind = "in" }, { at = "2026-10-06 21:30", kind = "out" },
{ at = "2026-10-06 21:45", kind = "in" }, { at = "2026-10-06 22:30", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[category]]
id = "callback_pay"
worked = false
[[shift_definition]]
id = "days"
start = "08:00"
end = "16:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[expect]
week = "2026-10-05"
worked = "8h 15m"
allocations = [
"2026-10-06 08:00-14:00 work 6.00",
"2026-10-06 20:00-21:30 work 1.50",
"2026-10-06 21:45-22:15 work 0.50",
"2026-10-06 22:15-22:30 overtime 0.25",
]
Scheduled 08:00 to 16:00 on Tuesday, then called back at 18:00 for half an hour, and again at 21:00, after the first call's 2 hours were up, for an hour: two call-backs, each topped up to 2 hours
scenarios/two-calls-far-apart-are-two-minimums.toml
description = "Scheduled 08:00 to 16:00 on Tuesday, then called back at 18:00 for half an hour, and again at 21:00, after the first call's 2 hours were up, for an hour: two call-backs, each topped up to 2 hours"
punch = [
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 14:00", kind = "out" },
{ at = "2026-10-06 18:00", kind = "in" }, { at = "2026-10-06 18:30", kind = "out" },
{ at = "2026-10-06 21:00", kind = "in" }, { at = "2026-10-06 22:00", kind = "out" },
]
[policy]
zone = "America/Chicago"
[[category]]
id = "callback_pay"
worked = false
[[shift_definition]]
id = "days"
start = "08:00"
end = "16:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[expect]
week = "2026-10-05"
worked = "7h 30m"
allocations = [
"2026-10-06 untimed callback_pay 1.00",
"2026-10-06 untimed callback_pay 1.50",
"2026-10-06 08:00-14:00 work 6.00",
"2026-10-06 18:00-18:30 work 0.50",
"2026-10-06 21:00-22:00 work 1.00",
]