Skip to content

Canada's provincial employment standards

The rule

Employment standards in Canada are provincial (federally regulated industries have the Canada Labour Code). Each province sets its own overtime:

ProvinceOvertime (150%)Double time (200%)
OntarioPast 44 hours a week.None.
British ColumbiaPast 8 hours a day, and past 40 a week of the hours left.Past 12 hours a day.
AlbertaThe greater of the hours past 8 a day and past 44 a week.None.

An averaging agreement lets the weekly hours be averaged over a cycle of weeks: Ontario’s up to 4 weeks, Alberta’s up to 12 (its daily overtime still applying). Overtime is then past 44 hours times the cycle’s weeks. British Columbia’s runs 1 to 4 weeks and schedules each day, up to 12 hours: time past a day’s scheduled hours, and a day not scheduled, is overtime; past 12 hours a day, double time; and past an average of 40 hours a week over the cycle, of what is left, overtime.

A public (statutory, general) holiday is paid by each province’s formula:

ProvinceHoliday pay
OntarioThe regular wages of the 4 work weeks before the holiday’s week, and the vacation pay on them, divided by 20.
British ColumbiaAn average day’s pay: the wages of the 30 days before, divided by the days worked in them.
AlbertaThe average daily wage: the wages of the 4 weeks before, divided by the days worked in them.

Vacation pay is a per cent of the wages earned: 4% (two weeks’ vacation), 6% once the vacation is three weeks (after 5 years, in most provinces). The recipe pays it with each week’s wages, as an employer may by agreement.

Who uses it

Employers with people in several provinces, and payroll providers for them.

How the recipe does it

Configuration only: the package (package.toml) has a layer, pay, for everyone, pricing each week’s hours at the person’s pay rate, and a layer for each province, picked by the jurisdiction of the person’s work location that day:

[[layer]]
id = "pay"
[[layer.step]]
id = "wages"
uses = "standard/earnings"
params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150, double_time = 200 }, window = "week" }
[[layer.step]]
id = "vacation-pay"
uses = "standard/percent_of_pay"
params = { pay = "wages", includes = ["work", "overtime", "double_time", "public_holiday_pay"], percent = 4, category = "vacation_pay" }
[[layer]]
id = "ca-bc"
order = 10
applies_to = "jurisdiction = ca-bc"
[[layer.step]]
id = "daily"
uses = "standard/threshold"
params = { window = "day", counts = ["work"], tiers = [{ over = "8h", to = "overtime" }, { over = "12h", to = "double_time" }] }
before = "wages"
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", over = "40h", to = "overtime", counts = ["work"] }
before = "wages"
  • Each province’s steps are added before the wages, so the hours are priced in the categories they end in.
  • The weekly threshold counts only work: hours a daily threshold made overtime are not counted toward the week again. That is British Columbia’s rule, and it is also Alberta’s greater of the two: the week’s overtime past 44 is counted on the hours the day’s overtime left, so the day’s and the week’s together come to the greater of them.
  • Ontario’s layer has the weekly threshold alone, past 44.

An averaging agreement is a layer for the people of a province whose employment attribute averaging_weeks says the cycle’s length; it changes the weekly threshold to count the cycle, a repeating window of its own from the day the cycles are counted from:

[[layer]]
id = "ca-on-averaging"
order = 20
applies_to = "jurisdiction = ca-on and attributes.averaging_weeks = 2"
[[layer.step]]
id = "weekly"
change = "params"
params = { over = "88h", window = { every = "2w", starts = "2026-01-05" } }

Alberta’s (ca-ab-averaging, 4 weeks, 176 hours) leaves its daily threshold as it is. British Columbia’s (ca-bc-averaging, 4 weeks) replaces the day’s 8 with the day’s schedule: its daily threshold keeps only the double time past 12, and after_schedule moves the time past the day’s scheduled hours (every hour of a day with no shift) to overtime; the week’s 40 becomes the cycle’s 160:

[[layer]]
id = "ca-bc-averaging"
order = 20
applies_to = "jurisdiction = ca-bc and attributes.averaging_weeks = 4"
[[layer.step]]
id = "daily"
change = "params"
params = { tiers = [{ over = "12h", to = "double_time" }] }
[[layer.step]]
id = "scheduled"
uses = "standard/after_schedule"
params = { to = "overtime", unscheduled = "overtime", counts = ["work"] }
after = "daily"
[[layer.step]]
id = "weekly"
change = "params"
params = { over = "160h", window = { every = "4w", starts = "2026-01-05" } }

Each province’s layer has its holiday pay, holiday_pay_from_earnings, after the wages: on a day observing a holiday, the money of the 4 workweeks before the holiday’s week, in the categories it includes, divided by 20 in Ontario, and by the days worked in those weeks in British Columbia and Alberta:

[[layer.step]]
id = "public-holiday-pay"
uses = "standard/holiday_pay_from_earnings"
params = { pay = "wages", category = "public_holiday_pay", includes = ["work"] }

Ontario’s and Alberta’s count regular wages (work), British Columbia’s every wage; Ontario’s the vacation pay on them too. Each holiday step is placed before = "vacation-pay", so the holiday’s pay earns vacation pay the same week.

Vacation pay is percent_of_pay: 4% of the week’s money in the categories it includes, added in vacation_pay. A layer for those with three weeks’ vacation (the employment attribute vacation_weeks) changes the per cent to 6:

[[layer]]
id = "vacation-6"
order = 5
applies_to = "attributes.vacation_weeks = 3"
[[layer.step]]
id = "vacation-pay"
change = "params"
params = { percent = 6 }
``` The step reads the 4 weeks back from the ledgers before
(their money, as `wages` priced it each week).
## 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
| Layer | Step | Parameter | Meaning |
|---|---|---|---|
| `pay` | `wages` | `premiums`, `window` | Each category's per cent of the pay rate, worked out each week. |
| `pay`, `vacation-6` | `vacation-pay` | `includes`, `percent`, `category` | The wages it is a per cent of, the per cent (4, or 6), where it goes. |
| `ca-on` | `weekly` | `over`, `counts` | 44 hours a week, counting `work`. |
| `ca-bc` | `daily`, `weekly` | `tiers`; `over`, `counts` | 8 and 12 hours a day; 40 a week, counting `work`. |
| `ca-ab` | `daily`, `weekly` | `over`, `counts` | 8 hours a day; 44 a week, counting `work`. |
| `ca-on-averaging`, `ca-ab-averaging`, `ca-bc-averaging` | `weekly` | `over`, `window` | The cycle's hours (88, 176, 160) and the cycle (2 or 4 weeks from a Monday). |
| `ca-bc-averaging` | `daily`; `scheduled` | `tiers`; `to`, `unscheduled`, `counts` | Double time past 12 hours a day; overtime past the day's schedule, and on a day not scheduled, counting `work`. |
| `ca-on`, `ca-bc`, `ca-ab` | `public-holiday-pay` | `includes`, `divide_by`; `weeks` (4) | The wages that count, what they are divided by (20, or the days worked), the weeks before. |
## What the scenarios show
- `ontario-overtime-past-44-hours-a-week`: 48 hours in Toronto, 4 of
overtime, none daily.
- `british-columbia-by-the-day-and-the-week`: a 13-hour day (4 hours of
overtime, 1 of double time), and a Saturday past the week's 40.
- `alberta-the-greater-of-the-day-and-the-week`: 8 hours of daily
overtime, more than the week's 4, paid once.
- `an-averaging-agreement-in-ontario`: weeks of 50 and 38 hours, no
overtime over the 2-week cycle.
- `an-averaging-agreement-in-alberta`: a 50-hour week within the 4-week
cycle, its 10-hour day still 2 hours of overtime.
- `an-averaging-agreement-in-british-columbia`: scheduled 10-hour days
are no overtime; 13 hours on one are 2 of overtime and 1 of double
time; a day not scheduled is all overtime.
- `british-columbia-past-the-cycles-average`: 200 hours in the 4-week
cycle, the last 40 past its 160 overtime.
- `ontario-public-holiday-pay-is-four-weeks-over-20`: someone working 3
days a week paid a twentieth of 4 weeks' wages on Thanksgiving.
- `alberta-holiday-pay-is-the-average-daily-wage`: the same weeks in
Alberta, paid a day's average wage.
- `vacation-pay-is-a-per-cent-of-the-weeks-wages`: 4% of a week's wages,
then 6% once the vacation is three weeks.
## Legal note
These are simplified forms of each province's general rules, for
illustration. Every province has exemptions (managers, some professions
and industries), and rules of its own for overtime agreements, banked
time and public holidays: who qualifies for holiday pay (the days worked
before and after, the days employed), and what work on the holiday pays,
are left to steps of their own; British Columbia's 30 days are counted
here as the 4 workweeks before the holiday's. Collective agreements may
pay more. Check the
rules where you operate before relying on them.
## Get the recipe
The recipe's package and its scenarios are in the example packages repository: [attendance/canada_employment_standards](https://github.com/timw255/hour-advantage-examples/tree/master/attendance/canada_employment_standards). Test it, or your own copy of it, with [`hourctl attend test`](/docs/reference/cli/hourctl-attend/#hourctl-attend-test), and publish it with [`hourctl attend pkg publish`](/docs/reference/cli/hourctl-attend/#hourctl-attend-pkg-publish).
## The policy package
The package's [layers](/docs/architecture/policy-layers/), with the [standard steps](/docs/attendance/standard-steps/) each one runs and their settings:
```toml title="canada_employment_standards/package.toml"
name = "canada_employment_standards"
version = "1.0.0"
description = "Canada's provincial employment standards, picked by where people work: overtime past 44 hours a week in Ontario, past 8 a day and 40 a week with double time past 12 a day in British Columbia, past 8 a day and 44 a week in Alberta; averaging agreements; and public holiday pay by each province's formula."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
measures = ["wages"]
# Everyone: hours priced at the person's pay rate each week, overtime at
# 150% and double time at 200%, and vacation pay of 4% of the week's
# wages, paid with them. Each province's layer, picked by the jurisdiction
# of the person's work location, puts its overtime before the wages and
# its holiday pay before the vacation pay.
[[layer]]
id = "pay"
[[layer.step]]
id = "wages"
uses = "standard/earnings"
params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150, double_time = 200 }, window = "week" }
[[layer.step]]
id = "vacation-pay"
uses = "standard/percent_of_pay"
params = { pay = "wages", includes = ["work", "overtime", "double_time", "public_holiday_pay"], percent = 4, category = "vacation_pay" }
# Vacation pay of 6% for those with three weeks' vacation (the employment
# attribute vacation_weeks: in most provinces, after 5 years).
[[layer]]
id = "vacation-6"
order = 5
applies_to = "attributes.vacation_weeks = 3"
[[layer.step]]
id = "vacation-pay"
change = "params"
params = { percent = 6 }
# Ontario: overtime past 44 hours a week. Public holiday pay: the regular
# wages of the 4 workweeks before the holiday's week and the vacation pay
# on them, divided by 20.
[[layer]]
id = "ca-on"
order = 10
applies_to = "jurisdiction = ca-on"
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", over = "44h", to = "overtime", counts = ["work"] }
before = "wages"
[[layer.step]]
id = "public-holiday-pay"
uses = "standard/holiday_pay_from_earnings"
params = { pay = "wages", category = "public_holiday_pay", includes = ["work", "vacation_pay"] }
before = "vacation-pay"
# An averaging agreement in Ontario (the employment attribute
# averaging_weeks): overtime past 44 hours a week on average over a
# 2-week cycle, 88 hours.
[[layer]]
id = "ca-on-averaging"
order = 20
applies_to = "jurisdiction = ca-on and attributes.averaging_weeks = 2"
[[layer.step]]
id = "weekly"
change = "params"
params = { over = "88h", window = { every = "2w", starts = "2026-01-05" } }
# British Columbia: past 8 hours a day overtime and past 12 double time,
# then past 40 hours a week of what is left. Statutory holiday pay: an
# average day's pay, the wages of the 4 workweeks before the holiday's
# over the days worked in them.
[[layer]]
id = "ca-bc"
order = 10
applies_to = "jurisdiction = ca-bc"
[[layer.step]]
id = "daily"
uses = "standard/threshold"
params = { window = "day", counts = ["work"], tiers = [{ over = "8h", to = "overtime" }, { over = "12h", to = "double_time" }] }
before = "wages"
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", over = "40h", to = "overtime", counts = ["work"] }
before = "wages"
[[layer.step]]
id = "public-holiday-pay"
uses = "standard/holiday_pay_from_earnings"
params = { pay = "wages", category = "public_holiday_pay", includes = ["work", "overtime", "double_time"], divide_by = "days_worked" }
before = "vacation-pay"
# Alberta: past 8 hours a day, then past 44 a week of what is left: the
# greater of the day's and the week's overtime. General holiday pay: the
# average daily wage, the regular wages of the 4 workweeks before the
# holiday's over the days worked in them.
[[layer]]
id = "ca-ab"
order = 10
applies_to = "jurisdiction = ca-ab"
[[layer.step]]
id = "daily"
uses = "standard/threshold"
params = { window = "day", over = "8h", to = "overtime", counts = ["work"] }
before = "wages"
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", over = "44h", to = "overtime", counts = ["work"] }
before = "wages"
[[layer.step]]
id = "public-holiday-pay"
uses = "standard/holiday_pay_from_earnings"
params = { pay = "wages", category = "public_holiday_pay", includes = ["work"], divide_by = "days_worked" }
before = "vacation-pay"
# An averaging agreement in Alberta: overtime past 8 hours a day, and past
# 44 hours a week on average over a 4-week cycle, 176 hours.
[[layer]]
id = "ca-ab-averaging"
order = 20
applies_to = "jurisdiction = ca-ab and attributes.averaging_weeks = 4"
[[layer.step]]
id = "weekly"
change = "params"
params = { over = "176h", window = { every = "4w", starts = "2026-01-05" } }
# An averaging agreement in British Columbia, over 1 to 4 weeks (the
# employment attribute averaging_weeks; 4 here): the days are scheduled
# under the agreement, up to 12 hours each. Time past a day's scheduled
# hours, and every hour of a day not scheduled, is overtime; past 12
# hours a day, double time; and past an average of 40 hours a week over
# the cycle, 160 hours, of what is left, overtime.
[[layer]]
id = "ca-bc-averaging"
order = 20
applies_to = "jurisdiction = ca-bc and attributes.averaging_weeks = 4"
[[layer.step]]
id = "daily"
change = "params"
params = { tiers = [{ over = "12h", to = "double_time" }] }
[[layer.step]]
id = "scheduled"
uses = "standard/after_schedule"
params = { to = "overtime", unscheduled = "overtime", counts = ["work"] }
after = "daily"
[[layer.step]]
id = "weekly"
change = "params"
params = { over = "160h", window = { every = "4w", starts = "2026-01-05" } }

Scenarios

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

In Edmonton, the same 3 days a week: the 4 weeks before Thanksgiving's earned 1,920.00 in 12 days worked; Thanksgiving pays the average daily wage, 160.00
scenarios/alberta-holiday-pay-is-the-average-daily-wage.toml
description = "In Edmonton, the same 3 days a week: the 4 weeks before Thanksgiving's earned 1,920.00 in 12 days worked; Thanksgiving pays the average daily wage, 160.00"
punch = [
{ at = "2026-09-14 08:00", kind = "in" }, { at = "2026-09-14 16:00", kind = "out" },
{ at = "2026-09-16 08:00", kind = "in" }, { at = "2026-09-16 16:00", kind = "out" },
{ at = "2026-09-18 08:00", kind = "in" }, { at = "2026-09-18 16:00", kind = "out" },
{ at = "2026-09-21 08:00", kind = "in" }, { at = "2026-09-21 16:00", kind = "out" },
{ at = "2026-09-23 08:00", kind = "in" }, { at = "2026-09-23 16:00", kind = "out" },
{ at = "2026-09-25 08:00", kind = "in" }, { at = "2026-09-25 16:00", kind = "out" },
{ at = "2026-09-28 08:00", kind = "in" }, { at = "2026-09-28 16:00", kind = "out" },
{ at = "2026-09-30 08:00", kind = "in" }, { at = "2026-09-30 16:00", kind = "out" },
{ at = "2026-10-02 08:00", kind = "in" }, { at = "2026-10-02 16:00", kind = "out" },
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 16:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 16:00", kind = "out" },
{ at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 16:00", kind = "out" },
]
[policy]
zone = "America/Edmonton"
[[location]]
id = "edmonton"
zone = "America/Edmonton"
jurisdiction = "ca-ab"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "edmonton"
[[holiday]]
id = "thanksgiving"
name = "Thanksgiving"
month = 10
weekday = "monday"
n = 2
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-12"
quantities = ["2026-10-12 wages 160.00 CAD public_holiday_pay", "2026-10-12 wages 6.40 CAD vacation_pay"]
In Edmonton, four 10-hour days and an 8-hour Friday, 48 hours: 8 hours of daily overtime, more than the week's 4 past 44, and the 40 ordinary hours left are within 44: 8 hours of overtime, the greater of the two
scenarios/alberta-the-greater-of-the-day-and-the-week.toml
description = "In Edmonton, four 10-hour days and an 8-hour Friday, 48 hours: 8 hours of daily overtime, more than the week's 4 past 44, and the 40 ordinary hours left are within 44: 8 hours of overtime, the greater of the two"
punch = [
{ at = "2026-10-19 08:00", kind = "in" }, { at = "2026-10-19 18:00", kind = "out" },
{ at = "2026-10-20 08:00", kind = "in" }, { at = "2026-10-20 18:00", kind = "out" },
{ at = "2026-10-21 08:00", kind = "in" }, { at = "2026-10-21 18:00", kind = "out" },
{ at = "2026-10-22 08:00", kind = "in" }, { at = "2026-10-22 18:00", kind = "out" },
{ at = "2026-10-23 08:00", kind = "in" }, { at = "2026-10-23 16:00", kind = "out" },
]
[policy]
zone = "America/Edmonton"
[[location]]
id = "edmonton"
zone = "America/Edmonton"
jurisdiction = "ca-ab"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "edmonton"
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-19"
allocations = [
"2026-10-19 08:00-16:00 work 8.00",
"2026-10-19 16:00-18:00 overtime 2.00",
"2026-10-20 08:00-16:00 work 8.00",
"2026-10-20 16:00-18:00 overtime 2.00",
"2026-10-21 08:00-16:00 work 8.00",
"2026-10-21 16:00-18:00 overtime 2.00",
"2026-10-22 08:00-16:00 work 8.00",
"2026-10-22 16:00-18:00 overtime 2.00",
"2026-10-23 08:00-16:00 work 8.00",
]
quantities = [
"2026-10-22 wages 240.00 CAD overtime",
"2026-10-23 wages 41.60 CAD vacation_pay",
"2026-10-23 wages 800.00 CAD work",
]
In Edmonton, under an averaging agreement over 4 weeks: Monday to Saturday of the week of October 12, 50 hours, are within the cycle's 176, so none is weekly overtime; the day's 8 hours still hold, and Thursday's 10 hours are 2 of overtime
scenarios/an-averaging-agreement-in-alberta.toml
description = "In Edmonton, under an averaging agreement over 4 weeks: Monday to Saturday of the week of October 12, 50 hours, are within the cycle's 176, so none is weekly overtime; the day's 8 hours still hold, and Thursday's 10 hours are 2 of overtime"
punch = [
{ at = "2026-10-12 08:00", kind = "in" }, { at = "2026-10-12 16:00", kind = "out" },
{ at = "2026-10-13 08:00", kind = "in" }, { at = "2026-10-13 16:00", kind = "out" },
{ at = "2026-10-14 08:00", kind = "in" }, { at = "2026-10-14 16:00", kind = "out" },
{ at = "2026-10-15 08:00", kind = "in" }, { at = "2026-10-15 18:00", kind = "out" },
{ at = "2026-10-16 08:00", kind = "in" }, { at = "2026-10-16 16:00", kind = "out" },
{ at = "2026-10-17 08:00", kind = "in" }, { at = "2026-10-17 16:00", kind = "out" },
]
[policy]
zone = "America/Edmonton"
[[location]]
id = "edmonton"
zone = "America/Edmonton"
jurisdiction = "ca-ab"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "edmonton"
attributes = { averaging_weeks = 4 }
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-12"
quantities = [
"2026-10-15 wages 60.00 CAD overtime",
"2026-10-17 wages 40.80 CAD vacation_pay",
"2026-10-17 wages 960.00 CAD work",
]
In Vancouver, under an averaging agreement over 4 weeks scheduling 10-hour days Monday to Thursday: Monday's 13 hours are 10 scheduled, 2 of overtime past them and 1 of double time past 12; Tuesday to Thursday's 10 are within their schedule, not overtime past 8; Friday, not scheduled, is 4 hours of overtime. The week's 40 hours of work are within the cycle's 160
scenarios/an-averaging-agreement-in-british-columbia.toml
description = "In Vancouver, under an averaging agreement over 4 weeks scheduling 10-hour days Monday to Thursday: Monday's 13 hours are 10 scheduled, 2 of overtime past them and 1 of double time past 12; Tuesday to Thursday's 10 are within their schedule, not overtime past 8; Friday, not scheduled, is 4 hours of overtime. The week's 40 hours of work are within the cycle's 160"
punch = [
{ at = "2026-10-12 07:00", kind = "in" }, { at = "2026-10-12 20:00", kind = "out" },
{ at = "2026-10-13 07:00", kind = "in" }, { at = "2026-10-13 17:00", kind = "out" },
{ at = "2026-10-14 07:00", kind = "in" }, { at = "2026-10-14 17:00", kind = "out" },
{ at = "2026-10-15 07:00", kind = "in" }, { at = "2026-10-15 17:00", kind = "out" },
{ at = "2026-10-16 07:00", kind = "in" }, { at = "2026-10-16 11:00", kind = "out" },
]
[policy]
zone = "America/Vancouver"
[[location]]
id = "vancouver"
zone = "America/Vancouver"
jurisdiction = "ca-bc"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "vancouver"
attributes = { averaging_weeks = 4 }
[[shift_definition]]
id = "tens"
start = "07:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday"]
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-12"
allocations = [
"2026-10-12 07:00-17:00 work 10.00",
"2026-10-12 17:00-19:00 overtime 2.00",
"2026-10-12 19:00-20:00 double_time 1.00",
"2026-10-13 07:00-17:00 work 10.00",
"2026-10-14 07:00-17:00 work 10.00",
"2026-10-15 07:00-17:00 work 10.00",
"2026-10-16 07:00-11:00 overtime 4.00",
]
In Toronto, under an averaging agreement over 2 weeks: the week of October 12 is 50 hours, the next 38, 88 in the cycle, so none is overtime; without the agreement, the first week's 6 past 44 would be
scenarios/an-averaging-agreement-in-ontario.toml
description = "In Toronto, under an averaging agreement over 2 weeks: the week of October 12 is 50 hours, the next 38, 88 in the cycle, so none is overtime; without the agreement, the first week's 6 past 44 would be"
punch = [
{ at = "2026-10-12 08:00", kind = "in" }, { at = "2026-10-12 18:00", kind = "out" },
{ at = "2026-10-13 08:00", kind = "in" }, { at = "2026-10-13 18:00", kind = "out" },
{ at = "2026-10-14 08:00", kind = "in" }, { at = "2026-10-14 18:00", kind = "out" },
{ at = "2026-10-15 08:00", kind = "in" }, { at = "2026-10-15 18:00", kind = "out" },
{ at = "2026-10-16 08:00", kind = "in" }, { at = "2026-10-16 18:00", kind = "out" },
{ at = "2026-10-19 08:00", kind = "in" }, { at = "2026-10-19 17:30", kind = "out" },
{ at = "2026-10-20 08:00", kind = "in" }, { at = "2026-10-20 17:30", kind = "out" },
{ at = "2026-10-21 08:00", kind = "in" }, { at = "2026-10-21 17:30", kind = "out" },
{ at = "2026-10-22 08:00", kind = "in" }, { at = "2026-10-22 17:30", kind = "out" },
]
[policy]
zone = "America/Toronto"
[[location]]
id = "toronto"
zone = "America/Toronto"
jurisdiction = "ca-on"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "toronto"
attributes = { averaging_weeks = 2 }
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-12"
quantities = ["2026-10-16 wages 40.00 CAD vacation_pay", "2026-10-16 wages 1000.00 CAD work"]
[expect.period]
day = "2026-10-19"
quantities = ["2026-10-22 wages 30.40 CAD vacation_pay", "2026-10-22 wages 760.00 CAD work"]
In Vancouver: Monday from 07:00 to 20:00 is 8 hours, 4 of overtime and, past 12, an hour of double time. Tuesday to Saturday's 8-hour days bring the week's ordinary hours to 48, so Saturday's, past 40, are overtime
scenarios/british-columbia-by-the-day-and-the-week.toml
description = "In Vancouver: Monday from 07:00 to 20:00 is 8 hours, 4 of overtime and, past 12, an hour of double time. Tuesday to Saturday's 8-hour days bring the week's ordinary hours to 48, so Saturday's, past 40, are overtime"
punch = [
{ at = "2026-10-19 07:00", kind = "in" }, { at = "2026-10-19 20:00", kind = "out" },
{ at = "2026-10-20 08:00", kind = "in" }, { at = "2026-10-20 16:00", kind = "out" },
{ at = "2026-10-21 08:00", kind = "in" }, { at = "2026-10-21 16:00", kind = "out" },
{ at = "2026-10-22 08:00", kind = "in" }, { at = "2026-10-22 16:00", kind = "out" },
{ at = "2026-10-23 08:00", kind = "in" }, { at = "2026-10-23 16:00", kind = "out" },
{ at = "2026-10-24 08:00", kind = "in" }, { at = "2026-10-24 16:00", kind = "out" },
]
[policy]
zone = "America/Vancouver"
[[location]]
id = "vancouver"
zone = "America/Vancouver"
jurisdiction = "ca-bc"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "vancouver"
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-19"
allocations = [
"2026-10-19 07:00-15:00 work 8.00",
"2026-10-19 15:00-19:00 overtime 4.00",
"2026-10-19 19:00-20:00 double_time 1.00",
"2026-10-20 08:00-16:00 work 8.00",
"2026-10-21 08:00-16:00 work 8.00",
"2026-10-22 08:00-16:00 work 8.00",
"2026-10-23 08:00-16:00 work 8.00",
"2026-10-24 08:00-16:00 overtime 8.00",
]
In Vancouver, under an averaging agreement over the 4 weeks from 12 October scheduling 10-hour days Monday to Friday: worked as scheduled, the cycle's work comes to 200 hours, past the 160 of an average 40 a week: in its last week, Monday's 10 hours bring it to 160, and Tuesday to Friday's 40 are overtime
scenarios/british-columbia-past-the-cycles-average.toml
description = "In Vancouver, under an averaging agreement over the 4 weeks from 12 October scheduling 10-hour days Monday to Friday: worked as scheduled, the cycle's work comes to 200 hours, past the 160 of an average 40 a week: in its last week, Monday's 10 hours bring it to 160, and Tuesday to Friday's 40 are overtime"
punch = [
{ at = "2026-10-12 07:00", kind = "in" }, { at = "2026-10-12 17:00", kind = "out" },
{ at = "2026-10-13 07:00", kind = "in" }, { at = "2026-10-13 17:00", kind = "out" },
{ at = "2026-10-14 07:00", kind = "in" }, { at = "2026-10-14 17:00", kind = "out" },
{ at = "2026-10-15 07:00", kind = "in" }, { at = "2026-10-15 17:00", kind = "out" },
{ at = "2026-10-16 07:00", kind = "in" }, { at = "2026-10-16 17:00", kind = "out" },
{ at = "2026-10-19 07:00", kind = "in" }, { at = "2026-10-19 17:00", kind = "out" },
{ at = "2026-10-20 07:00", kind = "in" }, { at = "2026-10-20 17:00", kind = "out" },
{ at = "2026-10-21 07:00", kind = "in" }, { at = "2026-10-21 17:00", kind = "out" },
{ at = "2026-10-22 07:00", kind = "in" }, { at = "2026-10-22 17:00", kind = "out" },
{ at = "2026-10-23 07:00", kind = "in" }, { at = "2026-10-23 17:00", kind = "out" },
{ at = "2026-10-26 07:00", kind = "in" }, { at = "2026-10-26 17:00", kind = "out" },
{ at = "2026-10-27 07:00", kind = "in" }, { at = "2026-10-27 17:00", kind = "out" },
{ at = "2026-10-28 07:00", kind = "in" }, { at = "2026-10-28 17:00", kind = "out" },
{ at = "2026-10-29 07:00", kind = "in" }, { at = "2026-10-29 17:00", kind = "out" },
{ at = "2026-10-30 07:00", kind = "in" }, { at = "2026-10-30 17:00", kind = "out" },
{ at = "2026-11-02 07:00", kind = "in" }, { at = "2026-11-02 17:00", kind = "out" },
{ at = "2026-11-03 07:00", kind = "in" }, { at = "2026-11-03 17:00", kind = "out" },
{ at = "2026-11-04 07:00", kind = "in" }, { at = "2026-11-04 17:00", kind = "out" },
{ at = "2026-11-05 07:00", kind = "in" }, { at = "2026-11-05 17:00", kind = "out" },
{ at = "2026-11-06 07:00", kind = "in" }, { at = "2026-11-06 17:00", kind = "out" },
]
[policy]
zone = "America/Vancouver"
[[location]]
id = "vancouver"
zone = "America/Vancouver"
jurisdiction = "ca-bc"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "vancouver"
attributes = { averaging_weeks = 4 }
[[shift_definition]]
id = "tens"
start = "07:00"
end = "17:00"
days = ["monday", "tuesday", "wednesday", "thursday", "friday"]
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-11-02"
allocations = [
"2026-11-02 07:00-17:00 work 10.00",
"2026-11-03 07:00-17:00 overtime 10.00",
"2026-11-04 07:00-17:00 overtime 10.00",
"2026-11-05 07:00-17:00 overtime 10.00",
"2026-11-06 07:00-17:00 overtime 10.00",
]
In Toronto, Monday to Saturday from 08:00 to 16:00, 48 hours at 20.00: Ontario has no daily overtime, and the week's last 4 hours, Saturday's, are past 44, at 150%
scenarios/ontario-overtime-past-44-hours-a-week.toml
description = "In Toronto, Monday to Saturday from 08:00 to 16:00, 48 hours at 20.00: Ontario has no daily overtime, and the week's last 4 hours, Saturday's, are past 44, at 150%"
punch = [
{ at = "2026-10-19 08:00", kind = "in" }, { at = "2026-10-19 16:00", kind = "out" },
{ at = "2026-10-20 08:00", kind = "in" }, { at = "2026-10-20 16:00", kind = "out" },
{ at = "2026-10-21 08:00", kind = "in" }, { at = "2026-10-21 16:00", kind = "out" },
{ at = "2026-10-22 08:00", kind = "in" }, { at = "2026-10-22 16:00", kind = "out" },
{ at = "2026-10-23 08:00", kind = "in" }, { at = "2026-10-23 16:00", kind = "out" },
{ at = "2026-10-24 08:00", kind = "in" }, { at = "2026-10-24 16:00", kind = "out" },
]
[policy]
zone = "America/Toronto"
[[location]]
id = "toronto"
zone = "America/Toronto"
jurisdiction = "ca-on"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "toronto"
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-19"
allocations = [
"2026-10-19 08:00-16:00 work 8.00",
"2026-10-20 08:00-16:00 work 8.00",
"2026-10-21 08:00-16:00 work 8.00",
"2026-10-22 08:00-16:00 work 8.00",
"2026-10-23 08:00-16:00 work 8.00",
"2026-10-24 08:00-12:00 work 4.00",
"2026-10-24 12:00-16:00 overtime 4.00",
]
quantities = [
"2026-10-24 wages 120.00 CAD overtime",
"2026-10-24 wages 40.00 CAD vacation_pay",
"2026-10-24 wages 880.00 CAD work",
]
In Toronto, someone working 3 days a week, 8 hours a day at 20.00: the 4 workweeks before Thanksgiving's earned 1,920.00 in regular wages; Thanksgiving pays a twentieth of it, 96.00
scenarios/ontario-public-holiday-pay-is-four-weeks-over-20.toml
description = "In Toronto, someone working 3 days a week, 8 hours a day at 20.00: the 4 workweeks before Thanksgiving's earned 1,920.00 in regular wages; Thanksgiving pays a twentieth of it, 96.00"
punch = [
{ at = "2026-09-14 08:00", kind = "in" }, { at = "2026-09-14 16:00", kind = "out" },
{ at = "2026-09-16 08:00", kind = "in" }, { at = "2026-09-16 16:00", kind = "out" },
{ at = "2026-09-18 08:00", kind = "in" }, { at = "2026-09-18 16:00", kind = "out" },
{ at = "2026-09-21 08:00", kind = "in" }, { at = "2026-09-21 16:00", kind = "out" },
{ at = "2026-09-23 08:00", kind = "in" }, { at = "2026-09-23 16:00", kind = "out" },
{ at = "2026-09-25 08:00", kind = "in" }, { at = "2026-09-25 16:00", kind = "out" },
{ at = "2026-09-28 08:00", kind = "in" }, { at = "2026-09-28 16:00", kind = "out" },
{ at = "2026-09-30 08:00", kind = "in" }, { at = "2026-09-30 16:00", kind = "out" },
{ at = "2026-10-02 08:00", kind = "in" }, { at = "2026-10-02 16:00", kind = "out" },
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 16:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 16:00", kind = "out" },
{ at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 16:00", kind = "out" },
]
[policy]
zone = "America/Toronto"
[[location]]
id = "toronto"
zone = "America/Toronto"
jurisdiction = "ca-on"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "toronto"
[[holiday]]
id = "thanksgiving"
name = "Thanksgiving"
month = 10
weekday = "monday"
n = 2
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-12"
quantities = ["2026-10-12 wages 99.84 CAD public_holiday_pay", "2026-10-12 wages 3.99 CAD vacation_pay"]
In Toronto, 40 hours at 20.00, 800.00 of wages: vacation pay of 4% of them, 32.00, paid with the week's wages. Someone with three weeks' vacation is paid 6%, 48.00
scenarios/vacation-pay-is-a-per-cent-of-the-weeks-wages.toml
description = "In Toronto, 40 hours at 20.00, 800.00 of wages: vacation pay of 4% of them, 32.00, paid with the week's wages. Someone with three weeks' vacation is paid 6%, 48.00"
punch = [
{ at = "2026-10-19 08:00", kind = "in" }, { at = "2026-10-19 16:00", kind = "out" },
{ at = "2026-10-20 08:00", kind = "in" }, { at = "2026-10-20 16:00", kind = "out" },
{ at = "2026-10-21 08:00", kind = "in" }, { at = "2026-10-21 16:00", kind = "out" },
{ at = "2026-10-22 08:00", kind = "in" }, { at = "2026-10-22 16:00", kind = "out" },
{ at = "2026-10-23 08:00", kind = "in" }, { at = "2026-10-23 16:00", kind = "out" },
{ at = "2026-10-26 08:00", kind = "in" }, { at = "2026-10-26 16:00", kind = "out" },
{ at = "2026-10-27 08:00", kind = "in" }, { at = "2026-10-27 16:00", kind = "out" },
{ at = "2026-10-28 08:00", kind = "in" }, { at = "2026-10-28 16:00", kind = "out" },
{ at = "2026-10-29 08:00", kind = "in" }, { at = "2026-10-29 16:00", kind = "out" },
{ at = "2026-10-30 08:00", kind = "in" }, { at = "2026-10-30 16:00", kind = "out" },
]
[policy]
zone = "America/Toronto"
[[location]]
id = "toronto"
zone = "America/Toronto"
jurisdiction = "ca-on"
[[employment]]
effective = "2026-01-05"
kind = "hired"
location = "toronto"
[[employment]]
effective = "2026-10-26"
kind = "changed"
attributes = { vacation_weeks = 3 }
[[measure]]
id = "wages"
kind = "money"
currency = "CAD"
[[rate]]
kind = "pay"
amount = 2000
currency = "CAD"
[expect]
week = "2026-10-19"
quantities = ["2026-10-23 wages 32.00 CAD vacation_pay", "2026-10-23 wages 800.00 CAD work"]
[expect.period]
day = "2026-10-26"
quantities = ["2026-10-30 wages 48.00 CAD vacation_pay", "2026-10-30 wages 800.00 CAD work"]