> For the complete documentation index, see [llms.txt](https://docs.yoov.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yoov.com/yoov-work/attendance-management/attendance-settings/shift-management.md).

# Shift Management

## 1. Function Description&#x20;

* Before setting up an attendance group, the administrator needs to set up all shifts that will occur in the company.

## 2. Add a Single New Shift&#x20;

* Operation steps: \
  ① \[Attendance] > \[Attendance Setting] > \[Shift Management] > \[Add Shift] \
  ② Fill in the shift name, shift abbreviation, and select the shift color. The color will be displayed on the employee schedule to facilitate identification of different shifts, so please try to avoid using similar colors when creating it. \
  ③ Set the clock-in rules, clock-in valid time, invalid clock-in judgment, rest time, shift attendance time, flexible clock-in rules, late arrival/early departure exemption time, and click "Submit" for shift setting instructions.

<figure><img src="/files/6pm9zu8ciXY7QmMjZWap" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/LGGovLHQODv3giR3TCSL" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Sp214yq8o7Bje6p16xGH" alt=""><figcaption></figcaption></figure>

## 3. Shift Setting Instructions&#x20;

### 3.1 Check-in rules

| Punch-in rules                | Correspond to the number of punch-ins |
| ----------------------------- | ------------------------------------- |
| On and off duty once a day    | Punch card twice a day                |
| On and off duty twice a day   | Punch card 4 times a day              |
| On and off duty 3 times a day | Punch card 6 times a day              |

* For example, if the company requires employees to clock in and out during lunch time, they can set on and off duty twice a day, and there will be 4 clock-in records on that day. That is, you go to work and clock in once in the morning (09:00), once at lunch time (12:00), once in the afternoon (14:00), and once in the afternoon (18:00).
* If an employee clocks in at 14:15 during the second clock in time, the system will record the employee as late.

<figure><img src="/files/vZSljPDx2uL4WsFertNs" alt=""><figcaption></figcaption></figure>

### 3.2 On and Off-duty Time Setting

* Set the company-stipulated commuting time and clock-in start time for the day.
* For example: The administrator sets the clock-in start time to 08:00, and clock-in before 08:00 will be counted as yesterday's off-duty time.

<figure><img src="/files/35P7hDsk3l9JhoMaJ41B" alt=""><figcaption></figcaption></figure>

### 3.3 Set The Punch-in Valid Time&#x20;

* If you want to be more details, you can turn on the "Punch Time Timeslot Settings" to set the effective time for employees to clock in and clock out.
* For example: Suppose you on and off work once a day, the work time is 09:00, and the valid clock-in time is 08:00-10:00. \
  ie.: When employees clock in from 08:00-09:00, the system will show that they are working normally; When an employee clocks in from 09:00 to 10:00, the system displays lateness; When an employee clocks in after 10:00, the system will judge the clock as invalid.
* Getting off work in the early morning \
  Please note: If the company allows employees to get off work in the early morning of the next day, it is necessary to set the valid time range of punch-in to the next day to avoid the situation where today's off-duty card record appears as the next day's work card. As shown in the picture below.

<figure><img src="/files/A0H9d1am4YSxUInrBKTc" alt=""><figcaption></figcaption></figure>

### 3.4 Invalid Punch-in Judgment&#x20;

* If an employee fails to clock in during the valid time for work or off duty, and there is no record of apply for leave, the system will judge the clock in to be invalid and record it as **"absent card**" or "absent" according to the settings.

<figure><img src="/files/cpUKolAZ00MKsGH4gNFa" alt=""><figcaption></figcaption></figure>

### 3.5 Rest Time&#x20;

* For a shift that on and off duty once a day, a fixed break time can be set, and the break time is not included in the attendance time.
* "Shift Attendance Duration" The system will automatically calculate the attendance duration of this shift based on the on and off duty time and rest settings. Attendance statistics, working hours and leave for business trips will be based on this time.
* For example, the following setting means that the standard attendance time of this shift in one day is 8 hours.

<figure><img src="/files/I3nyCXb3zaYEPN9PEkKs" alt=""><figcaption></figcaption></figure>

### 3.6 Flexible Check-in&#x20;

* During the flexible check-in time, no matter how many minutes the employee is late, the off-duty time will be postponed by the number of minutes according to the standard working time.

(1) It is allowed to arrive early and leave early and to arrive late and leave late \
For example, if you on and off work twice a day, and the first get off work time is 12:00, and set "can off work up to 10 minutes earlier", then employees can clock in for a lunch break at 11:50, and the second start time needs to be earlier than the original time. The scheduled 13:00 time is 10 minutes earlier, that is, you need to clock in for the second time at 12:50. The same logic applies to arrive late and leave late.

(2) If you leave work late tonight, you can arrive late the next day. For example, if the normal off-duty time is 18:00, if you leave work 3 hours late on the first day and you can arrive 1 hour late on the next day, then you will not count as "late" if you get off work at 21:00 on the first day and go to work at 10:00 the next day.

<figure><img src="/files/zA6567LQU8rHHCBXRfKs" alt=""><figcaption></figcaption></figure>

### 3.7 Late Arrival/Early Departure Exemption

* During the exemption period, late arrivals and early departures of employees will not be counted.&#x20;
* For example, assuming that work begins at 09:00 and leaves work at 18:00, and the lateness exemption time is within 5 minutes, then employees who clock in at 09:05 will not be counted as late.
* After all settings are completed, click "Save".

<figure><img src="/files/bsgd8gzBREH20NOvvhL5" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.yoov.com/yoov-work/attendance-management/attendance-settings/shift-management.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
