Contract types
A contract type describes a working arrangement: how many hours per week, and how far you can go. Create one per arrangement you use, then assign it to your agents.
Menu Configuration → Contracts & absences, Contract Types tab → New contract type.

Basic settings
| Setting | Role |
|---|---|
| Contract name | For example "Full time 38 h". |
| Hours per week | The weekly target. Horae tries to get close to it for each agent. |
| Category | Full time, part time, half time, three-quarter time or custom. |
| Description | Optional. |
Advanced options

| Option | Effect |
|---|---|
| Maximum weekly hours | Never exceeded by the schedule. Empty = 125 % of the contract hours (47.5 h for 38 h). |
| Peak week | A higher cap, allowed one week a month. Must be higher than the weekly cap. |
| Monthly margin | The % overrun tolerated over the month. Enables the monthly cap for this contract. Empty = no monthly cap. |
The With this contract block summarizes in plain words what these settings give, for example: "At most 47.5 h per week, up to 44 h one week a month, at most 184 h in a month with 22 working days".
How the monthly cap is calculated
Cap = working days in the month (Monday to Friday, excluding holidays) × contract hours ÷ 5 × (1 + margin).
Example: 38 h, 22 working days, 10 % margin → 22 × 7.6 × 1.1 ≈ 184 h.
All hours count towards the monthly cap, including those of shifts excluded from the weekly cap.
Overtime
Between the contract target and its cap, Horae may schedule overtime if needed to cover a shift, but it avoids it as much as possible and spreads it out. Beyond the cap, never.
Changing an agent's contract
Change the contract type in the agent record. For a time-limited or past change, use the contract history instead.