Skip to content

RTT days (France)

The rule

Many French employers keep a 39-hour week under an agreement on réduction du temps de travail (RTT): the hours worked past 35 are not paid as overtime but earn days off, RTT days, taken during the year.

  • Hours past 35 up to the agreed week (39) earn RTT, hour for hour, and are paid as part of the week.
  • Hours past the agreed week are overtime: at 25% to 43 hours, at 50% past it.
  • An RTT day taken is paid leave drawn from the RTT earned.

Who uses it

Employers in France with an RTT agreement.

How the recipe does it

Configuration only: the package (package.toml) has one layer.

[[layer]]
id = "rtt"
settings = { accruals = { since = "2026-01-01" } }
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", tiers = [{ over = "35h", to = "rtt_hours" }, { over = "39h", to = "overtime_25" }, { over = "43h", to = "overtime_50" }] }
[[layer.step]]
id = "rtt"
uses = "standard/accrue"
params = { category = "rtt", earn = "1h", per = "1h", counts = ["rtt_hours"] }
  • threshold’s three tiers put the week’s hours from 35 to 39 in rtt_hours (a worked category, paid as hours of the week), from 39 to 43 in overtime_25 and past 43 in overtime_50.
  • accrue earns an hour of rtt for each hour in rtt_hours.
  • An RTT day is a leave request in rtt, which the accrual category rtt is drawn on by.

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

StepParameterMeaning
thresholdtiers35 hours, the agreed week (39), and 43.
accrueearn, per, countsAn hour of RTT for each hour in rtt_hours.

What the scenarios show

  • thirty-nine-hours-earn-four-hours-of-rtt.
  • past-39-hours-is-overtime: 45 hours earn 4 of RTT, 4 at 25% and 2 at 50%.
  • a-day-of-rtt-taken: the balance used.

This is a common shape of an RTT agreement; check the rules where you operate. Rules vary by agreement: the agreed week, whether RTT is counted in hours or in days for a year (a number of days granted at the year’s start), and when RTT not taken is lost or paid.

Get the recipe

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

france_rtt/package.toml
name = "france_rtt"
version = "1.0.0"
description = "RTT days in France: a 39-hour week whose 4 hours past 35 earn time off (réduction du temps de travail) rather than overtime, overtime from the 40th hour."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
accrual_categories = ["rtt"]
# The week's hours past 35 up to 39 go to rtt_hours, paid as hours of the
# week and each earning an hour of RTT, taken as leave in rtt. Past 39
# hours is overtime: at 25% to 43, at 50% past it.
[[layer]]
id = "rtt"
settings = { accruals = { since = "2026-01-01" } }
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", tiers = [{ over = "35h", to = "rtt_hours" }, { over = "39h", to = "overtime_25" }, { over = "43h", to = "overtime_50" }] }
[[layer.step]]
id = "rtt"
uses = "standard/accrue"
params = { category = "rtt", earn = "1h", per = "1h", counts = ["rtt_hours"] }

Scenarios

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

An RTT day taken on Friday, 7 hours 48 of the balance earned before: the four days worked, 31 hours 12, earn none, and the balance is used
scenarios/a-day-of-rtt-taken.toml
description = "An RTT day taken on Friday, 7 hours 48 of the balance earned before: the four days worked, 31 hours 12, earn none, and the balance is used"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 15:48", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 15:48", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 15:48", kind = "out" },
{ at = "2026-10-08 08:00", kind = "in" }, { at = "2026-10-08 15:48", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[category]]
id = "rtt"
worked = false
[[accrual_category]]
id = "rtt"
uses = ["rtt"]
[[accrual_adjustment]]
category = "rtt"
workday = "2026-10-01"
amount = "7h 48m"
[[leave]]
id = "r1"
category = "rtt"
days = { "2026-10-09" = "7h 48m" }
recorded = "2026-09-20 09:00"
[[approval]]
subject = "leave:r1:2026-10-09"
stage = "approval"
decision = "approve"
recorded = "2026-09-20 10:00"
[expect.period]
day = "2026-10-05"
accruals = ["2026-10-09 rtt used -7h 48m"]
balances = { rtt = "0s" }
A week of 45 hours: 4 hours of RTT for the 36th to the 39th, the 4 to 43 at 25%, the 2 past 43 at 50%
scenarios/past-39-hours-is-overtime.toml
description = "A week of 45 hours: 4 hours of RTT for the 36th to the 39th, the 4 to 43 at 25%, the 2 past 43 at 50%"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 17:00", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 17:00", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 17:00", kind = "out" },
{ at = "2026-10-08 08:00", kind = "in" }, { at = "2026-10-08 17:00", kind = "out" },
{ at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 17:00", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[category]]
id = "rtt"
worked = false
[[accrual_category]]
id = "rtt"
uses = ["rtt"]
[expect.period]
day = "2026-10-05"
accruals = ["2026-10-05 rtt earned 4h"]
A week of 39 hours: the 4 past 35 are paid as hours of the week (rtt_hours) and earn 4 hours of RTT, not overtime
scenarios/thirty-nine-hours-earn-four-hours-of-rtt.toml
description = "A week of 39 hours: the 4 past 35 are paid as hours of the week (rtt_hours) and earn 4 hours of RTT, not overtime"
punch = [
{ at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 15:48", kind = "out" },
{ at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 15:48", kind = "out" },
{ at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 15:48", kind = "out" },
{ at = "2026-10-08 08:00", kind = "in" }, { at = "2026-10-08 15:48", kind = "out" },
{ at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 15:48", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[category]]
id = "rtt"
worked = false
[[accrual_category]]
id = "rtt"
uses = ["rtt"]
[expect.period]
day = "2026-10-05"
accruals = ["2026-10-05 rtt earned 4h"]
quantities = []