Posted workers
The rule
A worker posted to another country keeps the contract of their own, and the host country’s minimum conditions apply to the work done there. A Polish contract posted to France:
- the contract pays its own rate and its own overtime: past 8 hours a day and 40 a week, at 150%;
- for the hours worked in France, the worker is owed at least the French minimum hourly rate, and France’s overtime premium on it: 125% past 35 hours a week, 150% past 43;
- the comparison is a higher-of: where the contract pays the posted hours less than the host’s minimum and overtime come to, the difference is added; where it pays more, nothing changes. The host country says over what span it is compared, a week here (a day where it compares days).
Where a rate agreed for the host country (a collective agreement’s) and the contract’s rate both apply to an hour, the higher is paid.
Who uses it
Employers who post staff abroad: construction, installation and maintenance crews, transport, agencies placing workers in other countries.
How the recipe does it
Configuration only. Where the work is done comes from the person’s dated
work location, whose values give each line its country
(work_in_several_countries):
[[location]]id = "paris"zone = "Europe/Paris"jurisdiction = "fr"values = { country = "fr" }The French minimum is a rate of the kind minimum, matched on
country = fr; the contract’s rate is the kind pay.
The package (package.toml) has two layers. The contract’s, for the
employer’s people:
[[layer]]id = "polish-contract"applies_to = "employer = acme-pl"[[layer.step]]id = "daily"uses = "standard/threshold"params = { window = "day", over = "8h", to = "overtime", counts = ["work"] }[[layer.step]]id = "weekly"uses = "standard/threshold"params = { window = "week", over = "40h", to = "overtime", counts = ["work"] }[[layer.step]]id = "ties"uses = "standard/rate_tie"params = { pick = "highest" }[[layer.step]]id = "wages"uses = "standard/earnings"params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150 } }The host country’s, for the work done in France:
[[layer]]id = "posted-to-france"applies_to = "jurisdiction = fr"[[layer.step]]id = "host-minimum"uses = "standard/minimum_wage_and_overtime"params = { rate = "pay", premiums = { work = 100, overtime = 150 }, minimum = "minimum", tiers = [{ over = "35h", percent = 125 }, { over = "43h", percent = 150 }], pay = "wages", category = "posting_makeup" }minimum_wage_and_overtimetakes the week’s hours whose context matches aminimumrate, and works out what they are owed: the minimum for every hour, and each tier’s per cent of it for the hours past itsover. What the contract pays them (each hour at itspayrate times its category’s per cent inpremiums, the contract’s own overtime included) short of that is added as money inposting_makeup, with the work’s context. The hours at home match no minimum: they are neither owed nor counted toward the host’s tiers.rate_tiesettles an hour twopayrates match as closely (the contract’s,contract = pl, and the host agreement’s,country = fr) by paying the higher. It compares rates, an hour at a time: a premium that starts at another threshold (France’s past 35 hours, the contract’s past 40) is compared byminimum_wage_and_overtime.- Keep the host’s minimum a rate kind of its own: a
payrate naming more of the context than the contract’s (bothcountryandcontract) would replace the contract’s rate outright, even where lower.
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
| Step | Parameter | Meaning |
|---|---|---|
daily, weekly | over, counts | The contract’s ordinary hours of a day (8h) and a week (40h). |
ties | pick | highest: of two rates that tie, the higher. |
wages | premiums | Each category’s per cent of the contract’s rate. |
host-minimum | rate, premiums | What the contract pays: the rate kind, and each category’s per cent, as wages has them. |
host-minimum | minimum, tiers | The host’s minimum (a rate kind matched on the work’s context), and its overtime: each tier’s over and percent. |
host-minimum | pay, category | Where what is short is added. |
host-minimum | window | week (the default), or day where the host compares each day. |
What the scenarios show
a-posted-week-is-topped-up-to-the-french-minimum-and-overtime: 43 hours at 11.50 paid 517.50; France’s minimum and overtime come to 540.90, and 23.40 is added.a-contract-paying-more-needs-no-top-up: the same week at 14.00 pays 630.00, and nothing is added.the-days-at-home-are-not-compared: Monday and Tuesday in Warsaw, the rest in Paris: only Paris’s 25 hours are compared, and 1.50 is added.the-higher-of-two-tied-hourly-rates: the French agreement’s 12.50 is paid on the Paris days over the contract’s 11.50, which the Warsaw days are paid.
Legal note
This is a simplified form of the rules for posted workers, for illustration. Which host conditions apply, how remuneration is compared (by the hour, the day, the week or the posting, and which allowances count toward it), how long a posting runs before more of the host’s law applies, and the minimum rates themselves differ by country and change each year: the rates and the layers say them. Rates in two currencies are not compared: keep the posted work’s rates in one. Tax and social security are decided elsewhere, from the facts this records.
Get the recipe
The recipe’s package and its scenarios are in the example packages repository: attendance/posted_workers. 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 = "posted_workers"version = "1.0.0"description = "Workers posted from one country to another: the contract's pay and overtime, and the host country's minimum hourly rate and overtime premium where they come to more, compared each week."
# What the tenant must have set up for the recipe: the steps read these by name.[needs]measures = ["wages"]
# The employees of acme-pl work under a Polish contract: past 8 hours a# day and 40 a week of work is overtime, paid at 150% of the hourly rate.# Where two pay rates name as much of the work's context (the contract's# and a host country's agreed rate), the higher is paid.[[layer]]id = "polish-contract"applies_to = "employer = acme-pl"[[layer.step]]id = "daily"uses = "standard/threshold"params = { window = "day", over = "8h", to = "overtime", counts = ["work"] }[[layer.step]]id = "weekly"uses = "standard/threshold"params = { window = "week", over = "40h", to = "overtime", counts = ["work"] }[[layer.step]]id = "ties"uses = "standard/rate_tie"params = { pick = "highest" }[[layer.step]]id = "wages"uses = "standard/earnings"params = { rate = "pay", measure = "wages", premiums = { work = 100, overtime = 150 } }
# Work done in France: each week, the hours worked there are owed at least# the French minimum hourly rate (the rate kind minimum, matched on# country = fr), with France's overtime premium on it, 125% past 35 hours# and 150% past 43; what the contract pays them short of that is added.[[layer]]id = "posted-to-france"applies_to = "jurisdiction = fr"[[layer.step]]id = "host-minimum"uses = "standard/minimum_wage_and_overtime"params = { rate = "pay", premiums = { work = 100, overtime = 150 }, minimum = "minimum", tiers = [{ over = "35h", percent = 125 }, { over = "43h", percent = 150 }], pay = "wages", category = "posting_makeup" }Scenarios
Each scenario gives a person’s punches and setup and the timecard they must produce, worked out with this package adopted (the format).
The same posted week at 14.00 an hour: the contract pays 630.00, more than the 540.90 France's minimum and overtime come to, and nothing is added
description = "The same posted week at 14.00 an hour: the contract pays 630.00, more than the 540.90 France's minimum and overtime come to, and nothing is added"
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 15:00", kind = "out" },]
[policy]zone = "Europe/Warsaw"
[person]employer = "acme-pl"
[[location]]id = "paris"zone = "Europe/Paris"jurisdiction = "fr"values = { country = "fr" }
[[employment]]effective = "2026-01-05"kind = "hired"location = "paris"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 1400currency = "EUR"
[[rate]]kind = "minimum"matches = { country = "fr" }amount = 1202currency = "EUR"
[expect]week = "2026-10-05"worked = "43h"quantities = [ "2026-10-08 wages 84.00 EUR overtime country=fr", "2026-10-09 wages 546.00 EUR work country=fr",]A Polish contract posted to Paris for a week of 43 hours at 11.50 an hour: the contract pays 517.50 (4 hours past 8 a day at 150%); France's minimum of 12.02, with 125% past 35 hours, comes to 540.90, and the 23.40 short is added
description = "A Polish contract posted to Paris for a week of 43 hours at 11.50 an hour: the contract pays 517.50 (4 hours past 8 a day at 150%); France's minimum of 12.02, with 125% past 35 hours, comes to 540.90, and the 23.40 short is added"
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 15:00", kind = "out" },]
[policy]zone = "Europe/Warsaw"
[person]employer = "acme-pl"
[[location]]id = "paris"zone = "Europe/Paris"jurisdiction = "fr"values = { country = "fr" }
[[employment]]effective = "2026-01-05"kind = "hired"location = "paris"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 1150currency = "EUR"
[[rate]]kind = "minimum"matches = { country = "fr" }amount = 1202currency = "EUR"
[expect]week = "2026-10-05"worked = "43h"quantities = [ "2026-10-08 wages 69.00 EUR overtime country=fr", "2026-10-09 wages 23.40 EUR posting_makeup country=fr", "2026-10-09 wages 448.50 EUR work country=fr",]Monday and Tuesday in Warsaw, Wednesday to Friday posted to Paris: only Paris's 25 hours are held to France's minimum. They are paid 299.00 (Wednesday's and Thursday's ninth hours at 150%), owed 300.50, and 1.50 is added
description = "Monday and Tuesday in Warsaw, Wednesday to Friday posted to Paris: only Paris's 25 hours are held to France's minimum. They are paid 299.00 (Wednesday's and Thursday's ninth hours at 150%), owed 300.50, and 1.50 is added"
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 15:00", kind = "out" },]
[policy]zone = "Europe/Warsaw"
[person]employer = "acme-pl"
[[location]]id = "warsaw"zone = "Europe/Warsaw"jurisdiction = "pl"values = { country = "pl" }
[[location]]id = "paris"zone = "Europe/Paris"jurisdiction = "fr"values = { country = "fr" }
[[employment]]effective = "2026-01-05"kind = "hired"location = "warsaw"
[[employment]]effective = "2026-10-07"kind = "changed"location = "paris"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"amount = 1150currency = "EUR"
[[rate]]kind = "minimum"matches = { country = "fr" }amount = 1202currency = "EUR"
[expect]week = "2026-10-05"worked = "43h"quantities = [ "2026-10-06 wages 34.50 EUR overtime country=pl", "2026-10-06 wages 184.00 EUR work country=pl", "2026-10-08 wages 34.50 EUR overtime country=fr", "2026-10-09 wages 1.50 EUR posting_makeup country=fr", "2026-10-09 wages 264.50 EUR work country=fr",]The contract's rate (contract = pl, 11.50) and the French collective agreement's (country = fr, 12.50) name as much of the context: on the posted days they tie and the higher is paid; at home only the contract's matches. France's minimum is then met, and nothing is added
description = "The contract's rate (contract = pl, 11.50) and the French collective agreement's (country = fr, 12.50) name as much of the context: on the posted days they tie and the higher is paid; at home only the contract's matches. France's minimum is then met, and nothing is added"
punch = [ { at = "2026-10-05 08:00", kind = "in" }, { at = "2026-10-05 16:00", kind = "out" }, { at = "2026-10-06 08:00", kind = "in" }, { at = "2026-10-06 16:00", kind = "out" }, { at = "2026-10-07 08:00", kind = "in" }, { at = "2026-10-07 16:00", kind = "out" }, { at = "2026-10-08 08:00", kind = "in" }, { at = "2026-10-08 16:00", kind = "out" }, { at = "2026-10-09 08:00", kind = "in" }, { at = "2026-10-09 16:00", kind = "out" },]
[policy]zone = "Europe/Warsaw"
[person]employer = "acme-pl"
[defaults]employee = { contract = "pl" }
[[location]]id = "warsaw"zone = "Europe/Warsaw"jurisdiction = "pl"values = { country = "pl" }
[[location]]id = "paris"zone = "Europe/Paris"jurisdiction = "fr"values = { country = "fr" }
[[employment]]effective = "2026-01-05"kind = "hired"location = "warsaw"
[[employment]]effective = "2026-10-07"kind = "changed"location = "paris"
[[measure]]id = "wages"kind = "money"currency = "EUR"
[[rate]]kind = "pay"matches = { contract = "pl" }amount = 1150currency = "EUR"
[[rate]]kind = "pay"matches = { country = "fr" }amount = 1250currency = "EUR"
[[rate]]kind = "minimum"matches = { country = "fr" }amount = 1202currency = "EUR"
[expect]week = "2026-10-05"worked = "40h"quantities = [ "2026-10-06 wages 184.00 EUR work contract=pl country=pl", "2026-10-09 wages 300.00 EUR work contract=pl country=fr",]