Shift schedule rules in Slovenia: what should a scheduling app check?

By Črt Kranjc · Published

A quick reference to the ZDR-1 rules for shift schedules: rest, weekly hours, overtime, night work, allowances and protected groups, with a rota example for four crews and a checklist.

Short answer: a shift schedule in Slovenia must respect the Employment Relationships Act (ZDR-1), the collective agreement that binds you, employment contracts and company rules. Before a planner confirms a schedule, an app can check clearly defined rules: weekly hours, rest, overtime, night work and qualifications. Consent is given by employees, while exceptions and interpretation remain decisions for the planner and HR.

Example: an employee finishes the second shift at 22.00. For the next day, the planner moves her to the first shift starting at 6.00. That leaves 8 hours between shifts, which is less than 12 and also less than 11 hours. The app does not accept the change and proposes another qualified employee.

This is general information, not legal advice. I used the unofficial consolidated text of ZDR-1 on the PISRS portal (in Slovenian; NPB 14, applicable from 1 January 2026) as I read it in November 2026. Collective agreements and company rules can set different or stricter rules, and the decision on the schedule stays with the planner and HR.

Quick reference: shift schedule rules in one place

The table summarises the limits explained in detail below. Use it as a reminder when you build a schedule.

RuleLimitZDR-1 article
Full working timeAt most 40 hours a week143
Uneven distribution or temporary redistributionAt most 56 hours a week, full time as an average over up to six months, up to 12 months under a collective agreement148, 158
Overtime8 hours a week, 20 a month, 170 a year, up to 230 a year in total with written consent144
Daily rest12 hours, or 11 hours under uneven distribution or temporary redistribution155
Weekly rest24 hours in seven days, as an average over 14 days156
Break30 minutes for full working time154
Night shiftAt most one week at a time, longer only with written consent151
Night workerOn average at most 8 hours a day over four months152
Temporary redistributionWritten notice at least one day in advance148
Under 188 hours a day, 40 hours a week, generally no night work190 to 193

Which working time rules apply to your schedule?

The Act sets the framework. Daily or weekly working time and its distribution are set in the employment contract, in line with the law and the collective agreement (Articles 31 and 148). An industry collective agreement can set or extend the periods over which hours and rest are averaged (Article 158).

One example is the Collective Agreement for the Metal Industry of Slovenia (in Slovenian). For uneven distribution and temporary redistribution, it allows a reference period of up to 12 months where objective or technical reasons of work organisation require it. When the period ends, there must be no surplus or shortfall of hours. For temporary redistribution, the employer must normally inform each employee of their working days for a period of one week. This is one industry's agreement, not a general rule.

For managing directors, procurators, senior managers and home workers, different arrangements are possible under the conditions of Article 157. In an app, rules should therefore be configurable per company and group of employees, with a source and a validity date, rather than built in once and for all.

How many hours a week: full working time and 56 hours under uneven distribution

Full working time may not exceed 40 hours a week. The law or a collective agreement may set a shorter week, but not below 36 hours, except for jobs with higher risks (Article 143). With even distribution, full working time may not be spread over fewer than four days a week (Article 148).

When full working time is unevenly distributed or temporarily redistributed, working time may not exceed 56 hours a week. Full working time is then treated as an average over a period of up to six months. An industry collective agreement can extend this to 12 months where objective or technical reasons, or reasons of work organisation, require it (Articles 148 and 158).

So 56 hours is not a general weekly limit for everyone. With even distribution, the weekly limit follows from full working time and the overtime limits. The Act does not say explicitly whether overtime counts towards the 56 hours. The Supreme Court has dealt with how hours and rest are counted under uneven distribution in several cases (for example VIII Ips 23/2025), so confirm the logic of your hours balance with a legal adviser.

What the app checks: more than 56 hours in a week under uneven distribution is a hard rule. The hours balance against the average for the reference period is a warning.

How much overtime does ZDR-1 allow?

Overtime is only allowed in the exceptional cases listed in the Act or set by an industry collective agreement. Examples are an exceptional increase in workload, preventing damage, or averting a breakdown of work equipment that would stop work. Overtime is ordered in writing, normally before the work starts (Article 144).

  • Limits: at most 8 hours a week, 20 hours a month and 170 hours a year. A working day may last at most 10 hours.
  • Averaging: the law or a collective agreement may apply the daily, weekly and monthly limits, but not the annual one, as an average over a period of up to six months.
  • Above 170 hours: with the employee's consent, up to 230 hours a year in total. Each order above 170 hours requires written consent, and refusing must not have adverse consequences.
  • Prohibitions: overtime may not be introduced if the work could be done through proper organisation, new shifts or hiring. It may not be imposed on minors, on employees for whom a written occupational health opinion rules it out, on employees with reduced full working time because of a high risk workplace, or on employees working shorter hours under pension, disability or health insurance rules (Article 146). The rules for parents, pregnant employees and older workers are covered below.

What the app checks: overtime counters per employee, a warning as a limit approaches, and a record of the written order and consent. The annual limit and restrictions for protected groups are hard rules.

Rest between shifts: 12 or 11 hours?

Within any period of 24 hours, an employee is entitled to at least 12 hours of uninterrupted rest. With unevenly distributed or temporarily redistributed working time, the minimum is 11 hours (Article 155). The law or an industry collective agreement may allow rest in shift work to be provided as an average over a period of up to six months (Article 158).

Directive 2003/88/EC concerning certain aspects of the organisation of working time sets an EU minimum of 11 consecutive hours of daily rest. The general Slovenian rule of 12 hours is therefore stricter.

What the app checks: the time from the actual end of a shift, including overtime, to the start of the next one. It applies the limit for each employee's type of distribution. The typical trap is a quick backward rotation, such as moving from the second shift to the first shift the next day, as in the example above.

The schedule view on my home page checks “12 hours of rest between shifts” and “Weekly hours by your rules”. The weekly limit follows your distribution of working time: under uneven distribution, 56 hours is the legal upper limit and the legal minimum daily rest is 11 hours. The 12 hours in the view is therefore a stricter setting.

Weekly rest and breaks during work

Within seven consecutive days, an employee is entitled to at least 24 uninterrupted hours of rest in addition to daily rest. If they must work on their weekly rest day for objective, technical or organisational reasons, they receive another day that week. The minimum duration is treated as an average over 14 consecutive days (Article 156).

An employee working full time is entitled to a break of 30 minutes, which counts as working time. An employee on shorter working time of at least four hours a day is entitled to a proportional break. The break is also proportional under uneven distribution or temporary redistribution. It may be scheduled no earlier than one hour after work starts and no later than one hour before it ends (Article 154).

What the app checks: weekly rest over rolling periods of 7 and 14 days, not only within a calendar week. Too little rest in a single period of 7 days is a warning. An average below 24 hours over 14 consecutive days is a hard rule. Break placement is a warning. HR should confirm how weekly rest combines with daily rest.

What applies to a night shift?

Night work is work between 23.00 and 6.00 the next day. Where the schedule defines a night shift, eight consecutive hours between 22.00 and 7.00 count as night work (Article 150). A night worker is an employee who works at least three hours of their daily working time at night, or at least a third of their annual full working time (Article 151).

  • Rotation: in shift work with a night shift, rotation must be periodic. An employee may work nights for at most one week, longer only with explicit written consent.
  • Transport: an employee without arranged transport to and from work may not be assigned to night work.
  • Duration: over a period of four months, a night worker may not work more than eight hours a day on average. Where a risk assessment shows a higher risk, the limit of eight hours applies to every single day, not as an average (Article 152).
  • Union: before introducing night work, and at least once a year for regular night work, the employer consults the unions (Article 153).

What the app checks: a night worker flag, consecutive weeks on the night shift, transport information and a hard limit of eight hours for flagged workstations.

Allowances for night work, overtime, Sundays and public holidays

Article 128 of ZDR-1 entitles employees to allowances for work in special conditions arising from the distribution of working time: night work, overtime, Sunday work, and work on public holidays and statutory days off. The amount of the allowances is set by the collective agreement at industry level. Allowances are paid only for the time an employee actually worked under those conditions.

What the app checks: when it drafts a schedule, it shows how many night, Sunday and holiday hours the schedule brings, so you see the cost before you confirm it. The allowances themselves should be calculated from the record of hours worked, not from the plan.

Shift work with four crews: how do you check a continuous production rota?

When production runs around the clock every day of the week, a week has 168 hours. With 8 hour shifts, that is 21 shifts a week for every workstation. Three crews would each have to work 56 hours a week, so you need at least four. Check the rota against the same rules as any other schedule.

Example: four crews work two morning shifts, two afternoon shifts, two night shifts and then two days off. The cycle lasts eight days.

  • Hours: in eight days a crew works six 8 hour shifts, which is 48 hours. Per week that comes to 42 hours, more than the 40 hours of full working time (Article 143). Under uneven distribution, full working time is treated as an average over the reference period (Articles 148 and 158), so the rota must balance the difference, for example with extra days off. Decide how with HR, in line with the collective agreement.
  • Rest: rotating forward, from morning to afternoon and from afternoon to night, leaves 24 hours between shifts. Rotating backward, from an afternoon shift to a morning shift the next day, leaves only 8 hours, which is less than 11 and less than 12 hours (Article 155).
  • Night work: two consecutive night shifts followed by days off stay within the limit of one week of night work (Article 151). With night shifts of 12 hours, the app also checks the average of eight hours a day over four months for night workers (Article 152).
  • Weekly rest: there are 48 hours between the end of the second night shift and the next morning shift. The app still checks weekly rest over rolling periods of 7 and 14 days (Article 156).

What applies to minors, parents, pregnant employees and older workers?

  • Under 18: at most 8 hours a day and 40 hours a week, with at least 12 consecutive hours of daily rest and 48 hours of weekly rest. No night work between 22.00 and 6.00, except for exceptions defined by law (Articles 190 to 193).
  • Parents: an employee caring for a child under three may be given overtime or night work only with prior written consent. The same applies to a parent living alone with a child under seven, a seriously ill child or a child needing special care (Article 185).
  • Pregnancy and breastfeeding: during pregnancy, for one year after giving birth and throughout breastfeeding, an employee may not do overtime or night work if a risk assessment shows a danger to her health or her child's (Article 185).
  • Over 55: overtime or night work only with written consent (Articles 197 and 199).

What the app checks: a restriction flag entered by HR. It stops overtime or night shifts for that person unless the law allows consent and consent is recorded. The app should store only the flag and its validity period, not the reason, such as pregnancy or health information. Name the flag after its effect, for example “no overtime or night work”, not after the reason or the article. Restrict access to these flags.

Notifying employees and recording working time

The employer sets the annual distribution of working time before the calendar or business year begins and informs employees and unions in writing in the usual way, including through information technology. For a temporary redistribution, the employee must be informed in writing at least one day in advance (Article 148).

If an employee proposes a different arrangement to balance work and private life, the employer must give reasons for its decision in writing within 15 days. The employer must also ensure the right to disconnect (Article 142.a), with specific measures set by the collective agreement or company rules.

What the app checks: publication time, schedule versions and a change history with reasons. It warns about a temporary redistribution with less than a day's written notice. The deadline is a legal requirement; it is a warning only because the app may not see every written notice. I recommend that notifications sent during rest do not require a response.

A schedule is not a working time record

A schedule is a plan. The working time record under the Labour and Social Security Registers Act (ZEPDSV, in Slovenian) captures the work actually done (Article 18). My guide to shift scheduling software explains the difference in more detail.

Keeping the record electronically is not a general obligation. It becomes mandatory for two years once a fine for certain violations becomes final. The employer also keeps it electronically if it accepts a proposal from the union or, where there is no union, the works council or workers' representative (Articles 19.a and 19.b of ZEPDSV). An app should compare planned and actual hours and pass data on to the record or payroll through an integration between business systems, while keeping the two records separate.

What does a scheduling app check, and what does the planner decide?

The app applies the recorded rules to every proposal and every manual change.

  1. 01

    Rules

    HR enters rules from the law, agreements and company rules, with a source and validity.

  2. 02

    Data

    Shifts, type of distribution, qualifications, absences and restriction flags.

  3. 03

    Proposal

    The app proposes a schedule or a replacement and gives a reason next to each name.

  4. 04

    Check

    A hard rule stops the change; a warning shows what needs a closer look.

  5. 05

    Confirmation

    The planner chooses between proposals, decides on exceptions and confirms.

  6. 06

    Publication and history

    Employees receive the schedule, and every change stays in the history with its reason.

The table is a starting point for a conversation with HR, not a complete list that fits every company.

Rule (article)TypeData needed
Daily rest of 12 or 11 hours (155)Hard ruleShift end and start, type of distribution, any averaging (158)
56 hours under uneven distribution (148)Hard ruleType of distribution, weekly hours
Hours balance for the period (148, 158)WarningReference period
Overtime near a limit (144)WarningOvertime counters
Overtime above 170 hours a year (144)Hard ruleWritten consent, 230 hours at most
Weekly rest, average over 14 days (156)Hard ruleRest over 14 consecutive days
Weekly rest in a single period of 7 days (156)WarningRest over 7 consecutive days
Night shift longer than a week (151)Hard ruleConsecutive weeks, consent
Protected groups (146, 185, 190 to 193, 199)Hard ruleRestriction flag, consent
Temporary redistribution with less than a day's written notice (148)WarningTime of written notice
Work in a natural or other disaster (145)Planner's decisionReason and confirmation
Machine qualification (ZVZD-1, 38; company rules)Hard ruleQualification matrix

Where the law or an industry collective agreement allows rest in shift work to be averaged (Article 158), the app checks the average over the agreed period instead of each day or week.

Training for safe work, including when an employee moves to other work, is required by the Health and Safety at Work Act (ZVZD-1, Article 38). How to maintain qualifications and feed them into the schedule is covered in my guide to the employee qualification matrix. Automatic rule checks are part of business process automation.

An app cannot replace the choice of collective agreement, the interpretation of unclear provisions, risk assessment or consent. It can only record these decisions and consents and apply them.

Breaches of scheduling rules are minor offences. For an employer that is a legal entity, Article 217.a of ZDR-1 sets a fine of €1,500 to €4,000 for most of these breaches. For a smaller employer with ten or fewer employees, the fine is €300 to €2,000 (as of November 2026).

In an employee's damages claim (VDSS Pdp 486/2024, in Slovenian), the Higher Labour and Social Court examined breaches concerning overtime, maximum weekly hours and daily and weekly rest. The first instance court had awarded the employee compensation for immaterial damage, and the appeals were largely dismissed. This is a single decision, not settled case law.

Checklist before publishing a shift schedule

You can print this list for the planner to check before every publication. The app checks the same points itself.

  • Every employee has at least 12 hours of rest between shifts, or at least 11 under uneven distribution or temporary redistribution.
  • Under uneven distribution, nobody has more than 56 hours in a week.
  • The hours balance comes out even over the reference period.
  • Overtime is ordered in writing, within legal limits and with consent where needed.
  • Weekly rest is provided within seven days and on average within 14 days.
  • Nobody works nights for more than one week at a time without explicit written consent.
  • Night workers have arranged transport to and from work.
  • Restriction flags for minors, parents, pregnant employees and workers over 55 are respected.
  • Every machine has an operator whose qualification is valid on the shift date.
  • Any temporary redistribution was communicated in writing at least one day in advance.
  • The latest version is published and earlier versions are kept in the history.

Common shift schedule mistakes

  • One rest limit for everyone. The limit is 12 or 11 hours, depending on each employee's type of distribution.
  • 56 hours as a general weekly limit. It applies only under uneven distribution or temporary redistribution.
  • Rest counted from the planned end of a shift. Count it from the actual end, including overtime.
  • Weekly rest checked only within a calendar week. The law measures it over seven consecutive days and as an average over a period of 14 days.
  • Backward rotation. Moving from an afternoon shift to a morning shift the next day leaves 8 hours of rest.
  • The reason for a restriction in the schedule. Record only the effect, such as “no night work”.
  • Changes by phone only. A temporary redistribution requires written notice.

How to start: rules first, then the app

Collect the collective agreement that binds you, company rules, shift times, types of distribution and reference periods. Write down who confirms the rules and who confirms the schedule. Then test the rules on last month's schedule. This shows whether any rules were broken in Excel or never written down.

According to their vendors, some existing scheduling programs already check rest and weekly hours. Check whether you can configure the rules of your collective agreement and your employee groups. My guide to shift scheduling software for production compares the options. If your schedule lives in a spreadsheet today, read about moving from Excel to an app.

I build custom applications for shift scheduling and other production processes. The app prepares a proposal and the planner confirms it. How a first version for one department works is described on the shift scheduling app page. How the schedule connects to the ERP, the skills matrix and other software is covered in my guide to IT and software for manufacturing companies.

An app costs from €2,500 for the first usable version, which is usually ready in 1 to 3 weeks. A schedule with several departments, collective agreement rules and a link to working time records is a larger scope. I confirm that scope after reviewing the process, and I price a system with several modules in a written offer. Upgrades cost €70 per hour. We are not registered for VAT, so these are final prices. See my pricing for details.

For a first conversation, the number of employees, machines and shifts, the type of distribution and the name of the applicable collective agreement are enough. Do not send names, named rosters or any other personal data of employees. My process page explains how we work together.

Frequently asked questions

How much rest must an employee have between two shifts?

Under Article 155 of ZDR-1, at least 12 consecutive hours within a period of 24 hours, or at least 11 hours when working time is unevenly distributed or temporarily redistributed. The law or an industry collective agreement may allow rest in shift work to be provided as an average over a period of up to six months. For employees under 18, Article 192 requires at least 12 consecutive hours.

Can an employee work 56 hours in a week?

56 hours is the legal upper limit on working time when full working time is unevenly distributed or temporarily redistributed (Article 148 of ZDR-1). Full working time must then be reached as an average over a period of up to six months, or up to 12 months under an industry collective agreement where objective or technical reasons or reasons of work organisation require it (Article 158). With even distribution, the weekly limit follows from full working time and the overtime limits. Confirm with HR or a legal adviser how overtime counts towards the 56 hours.

How much overtime is allowed?

Under Article 144 of ZDR-1, at most 8 hours a week, 20 hours a month and 170 hours a year, and a working day may last at most 10 hours. The law or a collective agreement may apply the daily, weekly and monthly limits, but not the annual one, as an average over a period of up to six months. With the employee's written consent, the annual total may reach 230 hours. Overtime is ordered in writing, normally before the work starts, and some groups of employees are protected by prohibitions or consent rules (Articles 146, 185 and 199).

How much is the night work allowance under ZDR-1?

ZDR-1 does not set the amount. Article 128 entitles employees to allowances for night work, overtime, Sunday work and work on public holidays and statutory days off, and the amount is set by the collective agreement at industry level, so check the agreement that binds you. Allowances are paid only for the time actually worked under those conditions, so calculate them from the record of hours worked, not from the schedule.

Can an app confirm on its own that a schedule complies with the law?

No. An app can check clearly defined rules for which it has data, such as rest between shifts, weekly hours, overtime, night shifts and qualifications. It cannot interpret a collective agreement, assess exceptions or risks, or obtain consent on your behalf. HR confirms the rules and the planner confirms the schedule.

Is a shift schedule the same as a working time record?

No. A schedule is a plan, while the working time record required by the Labour and Social Security Registers Act (ZEPDSV) captures the work actually done, overtime, night and other special hours, and a running total for the reference period. Keeping the record electronically is not a general obligation: it becomes mandatory for two years once a fine for certain violations becomes final, and the employer also keeps it electronically if it accepts a proposal from the union or, where there is no union, the works council. An app can compare planned and actual hours, but it should keep the two records separate.

Črt Kranjc, founder and director of ČrtaIT

Črt Kranjc

Founder and director of ČrtaIT, business application developer

I turn manual processes into apps a team actually uses. I previously worked as an outsourced IT specialist and system administrator, so I also know the everyday side: Microsoft 365, security and devices. The code, access and data of every system belong to the client.

Describe your process.

Let's check whether you need an app or a change to existing tools. Start with a short description, not a technical specification.

Shift scheduling and working time rules

How many employees, machines and shifts do you have, which collective agreement applies and who prepares the schedule today? Describe the rules you check by hand. Leave out names, named rosters and any other personal data of employees.

Prefer a call or an email?

info@crtait.si · 030 649 200