Skip to content

Jury duty make-up pay

The rule

A person called to jury duty takes jury duty leave. For each day of it, the employer pays the difference between what the court paid them (jury pay) and their usual pay for the hours they were scheduled that day:

  • the usual pay is the day’s scheduled hours at the person’s pay rate (a day with no shift: the hours asked for);
  • the jury pay is what was entered for the day, as the court paid it;
  • make-up pay is paid for up to 10 days of jury duty a calendar year. Further days are unpaid jury leave.

Who uses it

Employers whose policy, or whose state’s law, has them make up jury duty pay, often for a limited number of days.

How the recipe does it

Configuration only: a package (package.toml) of one layer, with two-week pay periods. Jury duty is asked for as leave in jury_duty (set up as neither worked nor paid: the make-up money is its pay); days past the 10 as jury_unpaid. The jury pay is entered as money: a labor entry in the measure jury_pay. Two business rules, each a step of its own:

[[layer.step]]
id = "make-up"
uses = "standard/leave_make_up_pay"
params = { category = "jury_duty", rate = "pay", pay = "wages", to = "jury_make_up", offset = "jury_pay" }
[[layer.step]]
id = "ten-days"
uses = "standard/leave_days_within"
params = { categories = ["jury_duty"], days = 10 }

leave_make_up_pay adds, for each day of approved jury_duty leave, the usual pay less the jury pay as money in wages, category jury_make_up. leave_days_within refuses a jury_duty request that would make more than 10 days in the calendar year.

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

StepParameterMeaning
leave_make_up_paycategoryThe leave made up (jury_duty).
leave_make_up_payrateThe kind of rate of the usual pay.
leave_make_up_paypay, toThe money measure and the category the make-up pay is in.
leave_make_up_payoffsetThe money measure jury pay is entered in.
leave_make_up_payoffset_per_dayThe jury pay counted for a day with none entered (default nothing).
leave_make_up_paykindThe exception for a day no rate matches (default no_rate).
leave_days_withindays, withinThe days of make-up pay, and the period (default the calendar year).

What the scenarios show

  • the-difference-between-jury-pay-and-usual-pay: 200.00 of usual pay less 40.00 and 15.00 of jury pay: 160.00 and 185.00.
  • a-fixed-jury-fee-when-none-is-entered: with offset_per_day of 40.00, the same days are made up by 160.00 each.
  • usual-pay-is-for-the-hours-scheduled: a 5-hour shift is 125.00 less the jury pay; a day with no shift is paid for the hours asked.
  • ten-days-a-year-of-make-up-pay: an eleventh day is refused, and stands as unpaid jury leave.
  • a-day-with-no-rate-is-raised: with no pay rate that fits, no make-up pay is worked out and the day is raised for payroll.

Federal law protects the jobs of people serving on federal juries. Many states protect jurors too, and some require the employer to pay them for some days of service; exempt employees’ salaries generally may not be reduced for a partial week of jury duty. Check the rules where you operate.

Get the recipe

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

jury_duty_pay/package.toml
name = "jury_duty_pay"
version = "1.0.0"
description = "Jury duty make-up pay: the employer pays the difference between the jury pay and the person's usual pay for the hours they were scheduled, for up to 10 days a year."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
measures = ["wages"]
# Two-week pay periods from January 5, 2026. Each day of approved jury
# duty leave is paid the person's usual pay for the day (its scheduled
# hours at their pay rate) less the jury pay entered for it, as money in
# wages; a jury duty request past 10 days in the calendar year is refused,
# to be asked for as unpaid jury leave.
[[layer]]
id = "jury-duty"
settings = { pay_periods = { every_days = 14, from = "2026-01-05" } }
[[layer.step]]
id = "make-up"
uses = "standard/leave_make_up_pay"
params = { category = "jury_duty", rate = "pay", pay = "wages", to = "jury_make_up", offset = "jury_pay" }
[[layer.step]]
id = "ten-days"
uses = "standard/leave_days_within"
params = { categories = ["jury_duty"], days = 10 }

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 person with no pay rate that fits their leave (their rate is for job a only): no make-up pay is worked out, and the day is raised as jury_no_rate for payroll to see
scenarios/a-day-with-no-rate-is-raised.toml
description = "A person with no pay rate that fits their leave (their rate is for job a only): no make-up pay is worked out, and the day is raised as jury_no_rate for payroll to see"
[policy]
zone = "America/Chicago"
[[category]]
id = "jury_duty"
worked = false
paid = false
[[category]]
id = "jury_unpaid"
worked = false
paid = false
[[category]]
id = "jury_make_up"
worked = false
[[category]]
id = "jury_fee"
worked = false
paid = false
[[measure]]
id = "wages"
kind = "money"
currency = "USD"
[[measure]]
id = "jury_pay"
kind = "money"
currency = "USD"
[[rate]]
kind = "pay"
matches = { job = "a" }
amount = 2500
currency = "USD"
[[shift]]
id = "s-2026-01-05"
start = "2026-01-05 08:00"
end = "2026-01-05 16:00"
[[leave]]
id = "j1"
category = "jury_duty"
days = { "2026-01-05" = "8h" }
recorded = "2025-12-15 09:00"
[[approval]]
subject = "leave:j1:2026-01-05"
stage = "approval"
decision = "approve"
recorded = "2025-12-15 10:00"
# Raised under the employer's own name for it.
[[layer]]
id = "named"
[[layer.step]]
id = "make-up"
change = "params"
params = { kind = "jury_no_rate" }
[expect.period]
day = "2026-01-05"
quantities = []
exceptions = [{ kind = "jury_no_rate", at = "2026-01-05 00:00" }]
An employer that counts the court's daily fee as 40.00 where no jury pay is entered: two scheduled 8-hour days at 25.00 an hour are made up by 160.00 each
scenarios/a-fixed-jury-fee-when-none-is-entered.toml
description = "An employer that counts the court's daily fee as 40.00 where no jury pay is entered: two scheduled 8-hour days at 25.00 an hour are made up by 160.00 each"
[policy]
zone = "America/Chicago"
[[category]]
id = "jury_duty"
worked = false
paid = false
[[category]]
id = "jury_unpaid"
worked = false
paid = false
[[category]]
id = "jury_make_up"
worked = false
[[category]]
id = "jury_fee"
worked = false
paid = false
[[measure]]
id = "wages"
kind = "money"
currency = "USD"
[[measure]]
id = "jury_pay"
kind = "money"
currency = "USD"
[[rate]]
kind = "pay"
amount = 2500
currency = "USD"
[[shift]]
id = "s-2026-01-05"
start = "2026-01-05 08:00"
end = "2026-01-05 16:00"
[[shift]]
id = "s-2026-01-06"
start = "2026-01-06 08:00"
end = "2026-01-06 16:00"
[[leave]]
id = "j1"
category = "jury_duty"
days = { "2026-01-05" = "8h", "2026-01-06" = "8h" }
recorded = "2025-12-15 09:00"
[[approval]]
subject = "leave:j1:2026-01-05"
stage = "approval"
decision = "approve"
recorded = "2025-12-15 10:00"
# The court's daily fee, where none is entered.
[[layer]]
id = "daily-fee"
[[layer.step]]
id = "make-up"
change = "params"
params = { offset_per_day = 4000 }
[expect.period]
day = "2026-01-05"
quantities = ["2026-01-05 wages 160.00 USD jury_make_up", "2026-01-06 wages 160.00 USD jury_make_up"]
Ten days of jury duty in March use the year's make-up pay: an eleventh day in May is refused, and asked for again as unpaid jury leave it stands, with no make-up pay
scenarios/ten-days-a-year-of-make-up-pay.toml
description = "Ten days of jury duty in March use the year's make-up pay: an eleventh day in May is refused, and asked for again as unpaid jury leave it stands, with no make-up pay"
[policy]
zone = "America/Chicago"
[[category]]
id = "jury_duty"
worked = false
paid = false
[[category]]
id = "jury_unpaid"
worked = false
paid = false
[[category]]
id = "jury_make_up"
worked = false
[[category]]
id = "jury_fee"
worked = false
paid = false
[[measure]]
id = "wages"
kind = "money"
currency = "USD"
[[measure]]
id = "jury_pay"
kind = "money"
currency = "USD"
[[rate]]
kind = "pay"
amount = 2500
currency = "USD"
[[leave]]
id = "j1"
category = "jury_duty"
days = { "2026-03-02" = "8h", "2026-03-03" = "8h", "2026-03-04" = "8h", "2026-03-05" = "8h", "2026-03-06" = "8h", "2026-03-09" = "8h", "2026-03-10" = "8h", "2026-03-11" = "8h", "2026-03-12" = "8h", "2026-03-13" = "8h" }
recorded = "2026-02-16 09:00"
[[approval]]
subject = "leave:j1:2026-03-02"
stage = "approval"
decision = "approve"
recorded = "2026-02-16 10:00"
[[leave]]
id = "j2"
category = "jury_duty"
days = { "2026-05-04" = "8h" }
recorded = "2026-04-20 09:00"
[[approval]]
subject = "leave:j2:2026-05-04"
stage = "approval"
decision = "approve"
recorded = "2026-04-20 10:00"
[[leave]]
id = "u1"
category = "jury_unpaid"
days = { "2026-05-04" = "8h" }
recorded = "2026-04-21 09:00"
[[approval]]
subject = "leave:u1:2026-05-04"
stage = "approval"
decision = "approve"
recorded = "2026-04-21 10:00"
[expect.period]
day = "2026-05-04"
leave = ["j2 refused: 11 days of jury_duty from 2026-01-01 to 2026-12-31, more than 10", "u1 approved"]
quantities = []
Two days of jury duty, each a scheduled 8-hour day at 25.00 an hour: 200.00 of usual pay. The court paid 40.00 for Monday and 15.00 for Tuesday: the employer pays 160.00 and 185.00
scenarios/the-difference-between-jury-pay-and-usual-pay.toml
description = "Two days of jury duty, each a scheduled 8-hour day at 25.00 an hour: 200.00 of usual pay. The court paid 40.00 for Monday and 15.00 for Tuesday: the employer pays 160.00 and 185.00"
[policy]
zone = "America/Chicago"
[[category]]
id = "jury_duty"
worked = false
paid = false
[[category]]
id = "jury_unpaid"
worked = false
paid = false
[[category]]
id = "jury_make_up"
worked = false
[[category]]
id = "jury_fee"
worked = false
paid = false
[[measure]]
id = "wages"
kind = "money"
currency = "USD"
[[measure]]
id = "jury_pay"
kind = "money"
currency = "USD"
[[rate]]
kind = "pay"
amount = 2500
currency = "USD"
[[shift]]
id = "s-2026-01-05"
start = "2026-01-05 08:00"
end = "2026-01-05 16:00"
[[shift]]
id = "s-2026-01-06"
start = "2026-01-06 08:00"
end = "2026-01-06 16:00"
[[leave]]
id = "j1"
category = "jury_duty"
days = { "2026-01-05" = "8h", "2026-01-06" = "8h" }
recorded = "2025-12-15 09:00"
[[approval]]
subject = "leave:j1:2026-01-05"
stage = "approval"
decision = "approve"
recorded = "2025-12-15 10:00"
[[labor]]
workday = "2026-01-05"
measure = "jury_pay"
quantity = 4000
category = "jury_fee"
[[labor]]
workday = "2026-01-06"
measure = "jury_pay"
quantity = 1500
category = "jury_fee"
[expect.period]
day = "2026-01-05"
quantities = [
"2026-01-05 jury_pay 40.00 USD jury_fee",
"2026-01-05 wages 160.00 USD jury_make_up",
"2026-01-06 jury_pay 15.00 USD jury_fee",
"2026-01-06 wages 185.00 USD jury_make_up",
]
The usual pay is for the hours scheduled: a day scheduled for 5 hours is 125.00, less the 40.00 of jury pay, 85.00, though 8 hours of jury duty were asked for. A day with no shift is paid for the leave's own 6 hours: 150.00, with no jury pay entered
scenarios/usual-pay-is-for-the-hours-scheduled.toml
description = "The usual pay is for the hours scheduled: a day scheduled for 5 hours is 125.00, less the 40.00 of jury pay, 85.00, though 8 hours of jury duty were asked for. A day with no shift is paid for the leave's own 6 hours: 150.00, with no jury pay entered"
[policy]
zone = "America/Chicago"
[[category]]
id = "jury_duty"
worked = false
paid = false
[[category]]
id = "jury_unpaid"
worked = false
paid = false
[[category]]
id = "jury_make_up"
worked = false
[[category]]
id = "jury_fee"
worked = false
paid = false
[[measure]]
id = "wages"
kind = "money"
currency = "USD"
[[measure]]
id = "jury_pay"
kind = "money"
currency = "USD"
[[rate]]
kind = "pay"
amount = 2500
currency = "USD"
[[shift]]
id = "s-2026-01-07"
start = "2026-01-07 08:00"
end = "2026-01-07 13:00"
[[leave]]
id = "j1"
category = "jury_duty"
days = { "2026-01-07" = "8h", "2026-01-08" = "6h" }
recorded = "2025-12-15 09:00"
[[approval]]
subject = "leave:j1:2026-01-07"
stage = "approval"
decision = "approve"
recorded = "2025-12-15 10:00"
[[labor]]
workday = "2026-01-07"
measure = "jury_pay"
quantity = 4000
category = "jury_fee"
[expect.period]
day = "2026-01-05"
quantities = [
"2026-01-07 jury_pay 40.00 USD jury_fee",
"2026-01-07 wages 85.00 USD jury_make_up",
"2026-01-08 wages 150.00 USD jury_make_up",
]