Night, Sunday and public-holiday supplements (Germany)
The rule
In Germany, work at night, on Sundays and on public holidays is commonly paid supplements (Zuschläge) on top of the base pay, each a per cent of the base rate:
- 25% for night work, 20:00 to 06:00;
- 50% for work on a Sunday;
- 125% for work on a public holiday (150% on some by agreement: Christmas, 1 May);
- a night supplement adds to a Sunday’s or a holiday’s; a public holiday on a Sunday is paid the holiday’s supplement, not both.
The time stays the hours worked: each supplement is money of its own.
Who uses it
Employers in Germany, by collective agreement or contract; the same shape serves any country whose premiums are percentages of the base rate that add up.
How the recipe does it
Configuration only: the package (package.toml) has one layer.
[[layer]]id = "zuschlaege"[[layer.step]]id = "base"uses = "standard/earnings"params = { rate = "pay", measure = "wages", premiums = { work = 100 } }[[layer.step]]id = "night"uses = "standard/percent_premium"params = { rate = "pay", percent = 25, pay = "wages", category = "night_supplement", during = { daily = { from = "20:00", to = "06:00" } } }[[layer.step]]id = "sunday"uses = "standard/percent_premium"params = { rate = "pay", percent = 50, pay = "wages", category = "sunday_supplement", during = { weekdays = ["sun"] }, holidays = false }[[layer.step]]id = "holiday"uses = "standard/percent_premium"params = { rate = "pay", percent = 125, pay = "wages", category = "holiday_supplement", holidays = true }earningspays every hour its base rate. The money is worked out once a pay period and added on the latest workday of the period with such work (the same for each supplement): a day’s ledger before that shows the hours and no money, and the period’s total is the sum of the days.percent_premiumpays its per cent of the rate each hour’s context matches for the time insideduring, cut at the exact instants (the hours after midnight of a Saturday night shift are Sunday’s), and on the daysholidayssays:true, a public holiday;false, no public holiday. Holidays are cut at the instants too: the hours inside the holiday’s own date in the zone (midnight to midnight) are the holiday’s, whichever workday the shift belongs to, so a shift from the eve pays its hours after midnight at the holiday’s rate and a holiday shift that runs past midnight pays no tail. It moves no time, so the steps add up where they meet.- The Sunday step leaves public holidays out, so a holiday on a Sunday is paid the holiday’s 125% alone.
- 150% on named holidays is a step of its own with
holidays = [...]listing them, and the 125% step listing the others.
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
| Parameter | Meaning |
|---|---|
rate | The rate kind the per cent is of (the base rate). |
percent | The per cent, to the hundredth. |
pay, category | The measure and category the supplement is added in. |
during | The period whose time is paid (the night, Sundays). |
holidays | true: on a public holiday; a list: those; false: not on one. |
counts | The categories whose time counts (default every worked one). |
What the scenarios show
a-sunday-night-earns-both: 40.00 for the night and 60.00 for its six Sunday hours.a-holiday-on-a-sunday-pays-the-holiday-rate: 200.00, the holiday’s 125%, and no Sunday supplement.an-evening-on-a-weekday: 10.00 for the 2 hours after 20:00.
Legal note
This is a common way to pay these supplements; check the rules where you operate. Rules change and vary by collective agreement: the hours of the night, the per cents, which days are holidays where, and how much of a supplement is free of tax and social insurance differ.
Get the recipe
The recipe’s package and its scenarios are in the example packages repository: attendance/germany_supplements. 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:
name = "germany_supplements"version = "1.0.0"description = "Germany's supplements for night, Sunday and public-holiday work, each a per cent of the base rate paid on top: 25% at night, 50% on Sundays, 125% on public holidays, the night's stacking with either, a holiday's replacing a Sunday's."
# What the tenant must have set up for the recipe: the steps read these by name.[needs]measures = ["wages"]
# Every hour is paid its base rate. On top of it, for the hours in each:# 25% from 20:00 to 06:00, 50% on a Sunday that is no public holiday, and# 125% on a public holiday, each as money of its own. They add up where# they meet (a Sunday night: 25% and 50%); a public holiday on a Sunday# pays the holiday's 125% and not the Sunday's.[[layer]]id = "zuschlaege"[[layer.step]]id = "base"uses = "standard/earnings"params = { rate = "pay", measure = "wages", premiums = { work = 100 } }[[layer.step]]id = "night"uses = "standard/percent_premium"params = { rate = "pay", percent = 25, pay = "wages", category = "night_supplement", during = { daily = { from = "20:00", to = "06:00" } } }[[layer.step]]id = "sunday"uses = "standard/percent_premium"params = { rate = "pay", percent = 50, pay = "wages", category = "sunday_supplement", during = { weekdays = ["sun"] }, holidays = false }[[layer.step]]id = "holiday"uses = "standard/percent_premium"params = { rate = "pay", percent = 125, pay = "wages", category = "holiday_supplement", holidays = true }Scenarios
Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).
Sunday 3 October 2027 is a public holiday: 8 hours of day work on it earn the holiday's 125%, 200.00, and not the Sunday's 50% as well
description = "Sunday 3 October 2027 is a public holiday: 8 hours of day work on it earn the holiday's 125%, 200.00, and not the Sunday's 50% as well"
punch = [ { at = "2027-10-03 08:00", kind = "in" }, { at = "2027-10-03 16:00", kind = "out" },]
[policy]zone = "Europe/Berlin"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 2000currency = "EUR"
[[holiday]]id = "einheit"name = "Tag der Deutschen Einheit"month = 10day = 3
[expect.period]day = "2027-09-27"quantities = ["2027-10-03 wages 200.00 EUR holiday_supplement", "2027-10-03 wages 160.00 EUR work"]A night from Saturday 22:00 to Sunday 06:00 at 20.00 an hour: its 8 hours earn the night's 25%, 40.00, and its 6 Sunday hours the Sunday's 50%, 60.00, both on top of the 160.00 of base pay
description = "A night from Saturday 22:00 to Sunday 06:00 at 20.00 an hour: its 8 hours earn the night's 25%, 40.00, and its 6 Sunday hours the Sunday's 50%, 60.00, both on top of the 160.00 of base pay"
punch = [ { at = "2026-10-10 22:00", kind = "in" }, { at = "2026-10-11 06:00", kind = "out" },]
[policy]zone = "Europe/Berlin"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 2000currency = "EUR"
[[holiday]]id = "einheit"name = "Tag der Deutschen Einheit"month = 10day = 3
[expect.period]day = "2026-10-05"quantities = ["2026-10-10 wages 40.00 EUR night_supplement", "2026-10-10 wages 60.00 EUR sunday_supplement", "2026-10-10 wages 160.00 EUR work"]A Tuesday from 14:00 to 22:00 earns the night's 25% for its last 2 hours, 10.00, and nothing for Sunday or a holiday
description = "A Tuesday from 14:00 to 22:00 earns the night's 25% for its last 2 hours, 10.00, and nothing for Sunday or a holiday"
punch = [ { at = "2026-10-06 14:00", kind = "in" }, { at = "2026-10-06 22:00", kind = "out" },]
[policy]zone = "Europe/Berlin"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 2000currency = "EUR"
[[holiday]]id = "einheit"name = "Tag der Deutschen Einheit"month = 10day = 3
[expect.period]day = "2026-10-05"quantities = ["2026-10-06 wages 10.00 EUR night_supplement", "2026-10-06 wages 160.00 EUR work"]