Skip to content

France's yearly overtime quota and compensatory rest

The rule

In France, overtime is held to a yearly quota (contingent annuel d’heures supplémentaires), 220 hours a year unless a collective agreement sets another:

  • every overtime hour of the year counts toward it;
  • each hour past the quota earns compensatory rest (contrepartie obligatoire en repos): an hour for each hour in a company of more than 20 employees, half an hour in a smaller one;
  • going past the quota calls for the works council to be consulted: it is flagged.

Who uses it

Employers in France with employees on hourly working time.

How the recipe does it

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

[[layer]]
id = "contingent"
settings = { accruals = { since = "2026-01-01" } }
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", tiers = [{ over = "35h", to = "overtime_25" }, { over = "43h", to = "overtime_50" }] }
[[layer.step]]
id = "counter"
uses = "standard/accrue"
params = { category = "overtime_hours", earn = "1h", per = "1h", counts = ["overtime_25", "overtime_50"] }
[[layer.step]]
id = "rest"
uses = "standard/accrue_beyond"
params = { category = "compensatory_rest", counter = "overtime_hours", after = "220h" }
[[layer.step]]
id = "quota"
uses = "standard/earned_over"
params = { category = "overtime_hours", over = "220h", kind = "overtime_quota_passed" }
  • threshold makes the week’s overtime, as france_overtime does.
  • accrue counts each overtime hour in overtime_hours, an accrual category no pay category uses: what it earns in a year is the year’s overtime.
  • accrue_beyond earns an hour of compensatory_rest for each hour the counter earns past 220 in the calendar year (year, as ctx:earned reads it), as it is earned. The rest is taken as leave in compensatory_rest.
  • earned_over raises overtime_quota_passed about each period whose overtime takes, or keeps, the year past 220.
  • Each calendar year counts from nothing: the counter’s earnings are read by the year, never carried.

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 compensatory_rest: an accrual category. The recipe earns into it, takes from it or reads it.
  • A balance called overtime_hours: 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
accrue_beyondcounter, after, yearWhat is counted, the quota, and the year it is counted in.
accrue_beyondearn, perThe rest for each hour past it (30m per 1h for a small company).
earned_overover, kind, yearThe quota, and what is raised past it.

What the scenarios show

  • past-220-hours-earns-compensatory-rest: 225 hours earn 5 hours of rest, flagged.
  • under-the-quota-earns-none: 210 hours.
  • half-an-hour-for-each-hour-in-a-small-company: 2 hours 30.
  • each-year-counts-again: 2026’s 225 hours do not count in 2027.

This is a common way to keep the overtime quota; check the rules where you operate. Rules change and vary by agreement: the quota, which hours count toward it (overtime compensated by rest instead of pay does not), the reference year, and the rest’s rate.

Get the recipe

The recipe’s package and its scenarios are in the example packages repository: attendance/france_overtime_quota. 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_overtime_quota/package.toml
name = "france_overtime_quota"
version = "1.0.0"
description = "France's yearly overtime quota (contingent annuel) of 220 hours: overtime counted through the year, an hour of compensatory rest for each hour past the quota, and passing it flagged for review."
# What the tenant must have set up for the recipe: the steps read these by name.
[needs]
accrual_categories = ["compensatory_rest", "overtime_hours"]
# The 35-hour week's overtime. Each overtime hour is counted in
# overtime_hours (an accrual category no pay category uses). Past the
# year's 220, each hour earns an hour of compensatory rest (contrepartie
# obligatoire en repos), taken as leave in compensatory_rest; and a
# period that takes the year past 220 is flagged, as the works council is
# to be consulted.
[[layer]]
id = "contingent"
settings = { accruals = { since = "2026-01-01" } }
[[layer.step]]
id = "weekly"
uses = "standard/threshold"
params = { window = "week", tiers = [{ over = "35h", to = "overtime_25" }, { over = "43h", to = "overtime_50" }] }
[[layer.step]]
id = "counter"
uses = "standard/accrue"
params = { category = "overtime_hours", earn = "1h", per = "1h", counts = ["overtime_25", "overtime_50"] }
[[layer.step]]
id = "rest"
uses = "standard/accrue_beyond"
params = { category = "compensatory_rest", counter = "overtime_hours", after = "220h" }
[[layer.step]]
id = "quota"
uses = "standard/earned_over"
params = { category = "overtime_hours", over = "220h", kind = "overtime_quota_passed" }

Scenarios

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

225 hours of overtime in the last weeks of 2026 do not count toward 2027's quota: the first week of 2027's 10 overtime hours are the year's first, and earn no rest
scenarios/each-year-counts-again.toml
description = "225 hours of overtime in the last weeks of 2026 do not count toward 2027's quota: the first week of 2027's 10 overtime hours are the year's first, and earn no rest"
punch = [
{ at = "2027-01-04 08:00", kind = "in" }, { at = "2027-01-04 17:00", kind = "out" },
{ at = "2027-01-05 08:00", kind = "in" }, { at = "2027-01-05 17:00", kind = "out" },
{ at = "2027-01-06 08:00", kind = "in" }, { at = "2027-01-06 17:00", kind = "out" },
{ at = "2027-01-07 08:00", kind = "in" }, { at = "2027-01-07 17:00", kind = "out" },
{ at = "2027-01-08 08:00", kind = "in" }, { at = "2027-01-08 17:00", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[measure]]
id = "hours"
kind = "duration"
[[accrual_category]]
id = "overtime_hours"
[[accrual_category]]
id = "compensatory_rest"
uses = ["compensatory_rest"]
[[category]]
id = "compensatory_rest"
worked = false
[[labor]]
workday = "2026-09-28"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-09-28 18:00"
[[labor]]
workday = "2026-10-05"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-10-05 18:00"
[[labor]]
workday = "2026-10-12"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-10-12 18:00"
[[labor]]
workday = "2026-10-19"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-10-19 18:00"
[[labor]]
workday = "2026-10-26"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-10-26 18:00"
[[labor]]
workday = "2026-11-02"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-11-02 18:00"
[[labor]]
workday = "2026-11-09"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-11-09 18:00"
[[labor]]
workday = "2026-11-16"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-11-16 18:00"
[[labor]]
workday = "2026-11-23"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-11-23 18:00"
[[labor]]
workday = "2026-11-30"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-11-30 18:00"
[[labor]]
workday = "2026-12-07"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-12-07 18:00"
[[labor]]
workday = "2026-12-14"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-12-14 18:00"
[[labor]]
workday = "2026-12-21"
measure = "hours"
quantity = "16h"
category = "overtime_25"
recorded = "2026-12-21 18:00"
[[labor]]
workday = "2026-12-28"
measure = "hours"
quantity = "17h"
category = "overtime_25"
recorded = "2026-12-28 18:00"
[expect.period]
day = "2027-01-04"
accruals = ["2027-01-04 overtime_hours earned 10h"]
exceptions = []
In a company of 20 employees or fewer the compensatory rest is half: the 5 hours past the quota earn 2 hours 30 minutes
scenarios/half-an-hour-for-each-hour-in-a-small-company.toml
description = "In a company of 20 employees or fewer the compensatory rest is half: the 5 hours past the quota earn 2 hours 30 minutes"
punch = [
{ at = "2026-06-08 08:00", kind = "in" }, { at = "2026-06-08 17:00", kind = "out" },
{ at = "2026-06-09 08:00", kind = "in" }, { at = "2026-06-09 17:00", kind = "out" },
{ at = "2026-06-10 08:00", kind = "in" }, { at = "2026-06-10 17:00", kind = "out" },
{ at = "2026-06-11 08:00", kind = "in" }, { at = "2026-06-11 17:00", kind = "out" },
{ at = "2026-06-12 08:00", kind = "in" }, { at = "2026-06-12 17:00", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[measure]]
id = "hours"
kind = "duration"
[[accrual_category]]
id = "overtime_hours"
[[accrual_category]]
id = "compensatory_rest"
uses = ["compensatory_rest"]
[[category]]
id = "compensatory_rest"
worked = false
[[labor]]
workday = "2026-01-05"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-05 18:00"
[[labor]]
workday = "2026-01-12"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-12 18:00"
[[labor]]
workday = "2026-01-19"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-19 18:00"
[[labor]]
workday = "2026-01-26"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-26 18:00"
[[labor]]
workday = "2026-02-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-02 18:00"
[[labor]]
workday = "2026-02-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-09 18:00"
[[labor]]
workday = "2026-02-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-16 18:00"
[[labor]]
workday = "2026-02-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-23 18:00"
[[labor]]
workday = "2026-03-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-02 18:00"
[[labor]]
workday = "2026-03-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-09 18:00"
[[labor]]
workday = "2026-03-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-16 18:00"
[[labor]]
workday = "2026-03-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-23 18:00"
[[labor]]
workday = "2026-03-30"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-30 18:00"
[[labor]]
workday = "2026-04-06"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-06 18:00"
[[labor]]
workday = "2026-04-13"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-13 18:00"
[[labor]]
workday = "2026-04-20"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-20 18:00"
[[labor]]
workday = "2026-04-27"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-27 18:00"
[[labor]]
workday = "2026-05-04"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-04 18:00"
[[labor]]
workday = "2026-05-11"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-11 18:00"
[[labor]]
workday = "2026-05-18"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-18 18:00"
[[labor]]
workday = "2026-05-25"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-25 18:00"
[[labor]]
workday = "2026-06-01"
measure = "hours"
quantity = "5h"
category = "overtime_25"
recorded = "2026-06-01 18:00"
[[layer]]
id = "small-company"
[[layer.step]]
id = "rest"
change = "params"
params = { earn = "30m" }
[expect.period]
day = "2026-06-08"
accruals = ["2026-06-08 overtime_hours earned 10h", "2026-06-08 compensatory_rest earned 2h 30m"]
exceptions = [{ kind = "overtime_quota_passed", at = "2026-06-08 00:00" }]
215 hours of overtime by the end of May, and a week of 45 hours in June: its 10 overtime hours take the year to 225, past the 220-hour quota. The 5 hours past it each earn an hour of compensatory rest, and passing the quota is flagged for review
scenarios/past-220-hours-earns-compensatory-rest.toml
description = "215 hours of overtime by the end of May, and a week of 45 hours in June: its 10 overtime hours take the year to 225, past the 220-hour quota. The 5 hours past it each earn an hour of compensatory rest, and passing the quota is flagged for review"
punch = [
{ at = "2026-06-08 08:00", kind = "in" }, { at = "2026-06-08 17:00", kind = "out" },
{ at = "2026-06-09 08:00", kind = "in" }, { at = "2026-06-09 17:00", kind = "out" },
{ at = "2026-06-10 08:00", kind = "in" }, { at = "2026-06-10 17:00", kind = "out" },
{ at = "2026-06-11 08:00", kind = "in" }, { at = "2026-06-11 17:00", kind = "out" },
{ at = "2026-06-12 08:00", kind = "in" }, { at = "2026-06-12 17:00", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[measure]]
id = "hours"
kind = "duration"
[[accrual_category]]
id = "overtime_hours"
[[accrual_category]]
id = "compensatory_rest"
uses = ["compensatory_rest"]
[[category]]
id = "compensatory_rest"
worked = false
[[labor]]
workday = "2026-01-05"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-05 18:00"
[[labor]]
workday = "2026-01-12"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-12 18:00"
[[labor]]
workday = "2026-01-19"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-19 18:00"
[[labor]]
workday = "2026-01-26"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-26 18:00"
[[labor]]
workday = "2026-02-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-02 18:00"
[[labor]]
workday = "2026-02-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-09 18:00"
[[labor]]
workday = "2026-02-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-16 18:00"
[[labor]]
workday = "2026-02-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-23 18:00"
[[labor]]
workday = "2026-03-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-02 18:00"
[[labor]]
workday = "2026-03-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-09 18:00"
[[labor]]
workday = "2026-03-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-16 18:00"
[[labor]]
workday = "2026-03-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-23 18:00"
[[labor]]
workday = "2026-03-30"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-30 18:00"
[[labor]]
workday = "2026-04-06"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-06 18:00"
[[labor]]
workday = "2026-04-13"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-13 18:00"
[[labor]]
workday = "2026-04-20"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-20 18:00"
[[labor]]
workday = "2026-04-27"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-27 18:00"
[[labor]]
workday = "2026-05-04"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-04 18:00"
[[labor]]
workday = "2026-05-11"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-11 18:00"
[[labor]]
workday = "2026-05-18"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-18 18:00"
[[labor]]
workday = "2026-05-25"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-25 18:00"
[[labor]]
workday = "2026-06-01"
measure = "hours"
quantity = "5h"
category = "overtime_25"
recorded = "2026-06-01 18:00"
[expect.period]
day = "2026-06-08"
accruals = ["2026-06-08 overtime_hours earned 10h", "2026-06-08 compensatory_rest earned 5h"]
exceptions = [{ kind = "overtime_quota_passed", at = "2026-06-08 00:00" }]
200 hours of overtime by the end of May and 10 more in June, 210: under the quota, no compensatory rest and nothing flagged
scenarios/under-the-quota-earns-none.toml
description = "200 hours of overtime by the end of May and 10 more in June, 210: under the quota, no compensatory rest and nothing flagged"
punch = [
{ at = "2026-06-08 08:00", kind = "in" }, { at = "2026-06-08 17:00", kind = "out" },
{ at = "2026-06-09 08:00", kind = "in" }, { at = "2026-06-09 17:00", kind = "out" },
{ at = "2026-06-10 08:00", kind = "in" }, { at = "2026-06-10 17:00", kind = "out" },
{ at = "2026-06-11 08:00", kind = "in" }, { at = "2026-06-11 17:00", kind = "out" },
{ at = "2026-06-12 08:00", kind = "in" }, { at = "2026-06-12 17:00", kind = "out" },
]
[policy]
zone = "Europe/Paris"
[[measure]]
id = "hours"
kind = "duration"
[[accrual_category]]
id = "overtime_hours"
[[accrual_category]]
id = "compensatory_rest"
uses = ["compensatory_rest"]
[[category]]
id = "compensatory_rest"
worked = false
[[labor]]
workday = "2026-01-05"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-05 18:00"
[[labor]]
workday = "2026-01-12"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-12 18:00"
[[labor]]
workday = "2026-01-19"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-19 18:00"
[[labor]]
workday = "2026-01-26"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-01-26 18:00"
[[labor]]
workday = "2026-02-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-02 18:00"
[[labor]]
workday = "2026-02-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-09 18:00"
[[labor]]
workday = "2026-02-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-16 18:00"
[[labor]]
workday = "2026-02-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-02-23 18:00"
[[labor]]
workday = "2026-03-02"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-02 18:00"
[[labor]]
workday = "2026-03-09"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-09 18:00"
[[labor]]
workday = "2026-03-16"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-16 18:00"
[[labor]]
workday = "2026-03-23"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-23 18:00"
[[labor]]
workday = "2026-03-30"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-03-30 18:00"
[[labor]]
workday = "2026-04-06"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-06 18:00"
[[labor]]
workday = "2026-04-13"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-13 18:00"
[[labor]]
workday = "2026-04-20"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-20 18:00"
[[labor]]
workday = "2026-04-27"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-04-27 18:00"
[[labor]]
workday = "2026-05-04"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-04 18:00"
[[labor]]
workday = "2026-05-11"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-11 18:00"
[[labor]]
workday = "2026-05-18"
measure = "hours"
quantity = "10h"
category = "overtime_25"
recorded = "2026-05-18 18:00"
[expect.period]
day = "2026-06-08"
accruals = ["2026-06-08 overtime_hours earned 10h"]
exceptions = []