# Swiss night-work compensation (ArG 17b)

**For:** Admin

Switzerland's Arbeitsgesetz (ArG, Swiss labor law) Article 17b requires that workers who do regular night work receive **time** compensation — not just a pay premium — equal to 10% of the hours they work in the protected night band. This block on the work rule turns that requirement on and tells {{ app_name }} when to accrue.

```{note}
This section appears on the work rule form only when **'Country'** is set to Switzerland.
```

## What it does

The Swiss night-work block has three fields:

- **'Enable ArG 17b time compensation'** toggle — turn the accrual on or off for this rule.
- **'Night band start'** and **'Night band end'** — the time-of-day window that counts as protected night work. The ArG default is 23:00 to 06:00; some collective agreements set it differently.
- **'Compensation rate'** — the share of night-band hours that accrues as credit. The ArG statutory minimum is 10%; some agreements grant more.

Once the toggle is on, every minute a person works inside the night band is multiplied by the compensation rate and added to their time-compensation balance — a credit they can later take as paid time off.

## When it kicks in

The accrual runs when a time entry is submitted on the {doc}`/track-time/timesheet/index`. Only the portion of the worked time that falls inside the night band counts; if a shift runs 22:00–04:00 and the band is 23:00–06:00, only the 23:00–04:00 portion accrues.

If the entry is later unsubmitted, unapproved, or the underlying shift is deleted, the accrual is reversed automatically. See {doc}`/rules-and-compliance/time-compensation/auto-accrual` for the full lifecycle.

The night premium ({doc}`premiums`) is independent. ArG 17b time compensation and a night pay premium can both apply to the same hour — they're different forms of compensation under the law.

## How it shows in the app

- The shift detail page tags ArG 17b–eligible shifts so the planner can see the accrual coming.
- The {doc}`/rules-and-compliance/time-compensation/index` ledger lists every accrual row with its source shift.
- The Payroll report breaks night-compensation hours out separately from regular and overtime hours.

## Related

- {doc}`/rules-and-compliance/time-compensation/index`
- {doc}`/rules-and-compliance/time-compensation/auto-accrual`
- {doc}`premiums`
- {doc}`manage-work-rules`
