Skip to content

A front-loaded yearly grant of paid time off

The rule

Instead of being earned hour by hour, the year’s paid time off (say 80 hours) is given all at once on the first day of the year to everyone employed that day. Someone hired during the year is given, on their hire date, the share for the months left, the month they start in counted whole.

Who uses it

Employers who want a simple plan people can see at once, and those meeting a paid leave law by front-loading rather than accrual (many sick leave laws allow either). It is also common for salaried staff, whose hours are not tracked closely enough to earn by.

How the recipe does it

Configuration only: a package (package.toml) of one layer, which pays monthly, keeps balances from December 1, 2026, and runs the standard grant step: 80 hours of pto a year.

[[layer]]
id = "grant"
settings = { pay_periods = { month_days = [1] }, accruals = { since = "2026-12-01" } }
[[layer.step]]
id = "pto"
uses = "standard/grant"
params = { category = "pto", amount = "80h" }
  • On the first day of each year (January 1 by default) everyone employed that day is given the year’s amount of category.
  • On a hire date other than that, the new hire is given the share for the months left until the next grant, out of 12, the month they start in counted whole: hired in July with the grant on January 1 is 6 months.
  • Each grant is an accrual entry of its own that says why; time off taken in the category draws the balance down as usual.

What happens to last year’s balance is a separate decision: combine it with the carryover limit of the sick_leave_carryover recipe.

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 balance called pto: an accrual category. The recipe earns into it, takes from it or reads it.

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

Parameters

ParameterMeaning
categoryThe accrual category given.
amountThe yearly grant: "80h".
yearThe year, a repeating period: the grant is given on each one’s first day (default { every = "1y", starts = "01-01" }; starts = "hire" for each anniversary, a fiscal year from its first day).
new_hires"by_month" (default): the months left, out of 12; "none": nothing until the next grant.

What the scenarios show

  • the-year-is-given-on-its-first-day: 80 hours on January 1, drawn down by a week of vacation.
  • a-new-hire-gets-the-months-left: hired July 2, given 6 months, 40 hours.
  • no-grant-when-not-employed: terminated before January 1, given nothing.

This is a common way companies implement front-loaded paid time off; check the rules where you operate. A paid leave law may set the minimum given, when new hires may use it, and whether unused time carries over or is paid out.

Get the recipe

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

annual_grant/package.toml
name = "annual_grant"
version = "1.0.0"
description = "The year's paid time off given all at once on one day of the year, with new hires given the share for the months left."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
accrual_categories = ["pto"]
# Paid monthly; balances are kept from December 1, 2026. On January 1
# everyone employed is given the year's 80 hours of paid time off, and a
# new hire the share for the months left.
[[layer]]
id = "grant"
settings = { pay_periods = { month_days = [1] }, accruals = { since = "2026-12-01" } }
[[layer.step]]
id = "pto"
uses = "standard/grant"
params = { category = "pto", amount = "80h" }

Scenarios

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

Hired July 2, 2027: on the hire date, six months of the year's 80 hours (July to December), 40 hours
scenarios/a-new-hire-gets-the-months-left.toml
description = "Hired July 2, 2027: on the hire date, six months of the year's 80 hours (July to December), 40 hours"
[policy]
zone = "America/New_York"
[[accrual_category]]
id = "pto"
uses = ["pto"]
[[employment]]
effective = "2027-07-02"
kind = "hired"
[expect.period]
day = "2027-07-02"
accruals = ["2027-07-02 pto earned 40h"]
balances = { pto = "40h" }
Terminated on December 31: on January 1 the person is not employed, and is given nothing
scenarios/no-grant-when-not-employed.toml
description = "Terminated on December 31: on January 1 the person is not employed, and is given nothing"
[policy]
zone = "America/New_York"
[[accrual_category]]
id = "pto"
uses = ["pto"]
[[employment]]
effective = "2020-03-02"
kind = "hired"
[[employment]]
effective = "2026-12-31"
kind = "terminated"
[expect.period]
day = "2027-01-15"
accruals = []
balances = {}
Employed since 2020: on January 1 the year's 80 hours are given at once, before any work; a week of vacation taken that month draws them down
scenarios/the-year-is-given-on-its-first-day.toml
description = "Employed since 2020: on January 1 the year's 80 hours are given at once, before any work; a week of vacation taken that month draws them down"
[policy]
zone = "America/New_York"
[[accrual_category]]
id = "pto"
uses = ["pto"]
[[category]]
id = "pto"
worked = false
[[employment]]
effective = "2020-03-02"
kind = "hired"
[[leave]]
category = "pto"
days = { "2027-01-11" = "8h", "2027-01-12" = "8h", "2027-01-13" = "8h", "2027-01-14" = "8h", "2027-01-15" = "8h" }
[[approval]]
subject = "leave:lv1:2027-01-11"
stage = "approval"
decision = "approve"
recorded = "2027-01-11 00:00"
[expect.period]
day = "2027-01-15"
accruals = [
"2027-01-11 pto used -8h",
"2027-01-12 pto used -8h",
"2027-01-13 pto used -8h",
"2027-01-14 pto used -8h",
"2027-01-15 pto used -8h",
"2027-01-01 pto earned 80h",
]
balances = { pto = "40h" }