Import absences
- Available on
- Trial
- Pro
- Enterprise
- Who can do this
- Import absencesRoles: Administrator
Permission: employee:write - Change the reason and notes of another employee's absence by import, and record the reason SICK_LEAVERoles: Administrator
Permission: employee:personal-data
- Import absencesRoles: Administrator
The absences import records your employees’ absences from a CSV file, such as holidays booked in your HR system: whole days from a first day to a last day, with a reason and notes. A row whose employee and first day match an absence that starts that day changes it, and any other row records one.
Where you start it
Section titled “Where you start it”On the Employees screen, open Actions and click Import absences…. How a CSV import works explains the dialog, the file and its formats.
What a row does
Section titled “What a row does”An absence runs from midnight at the start of firstDay to midnight at the end of lastDay, in your organisation’s time zone. Each row goes through the same rule as an absence recorded on the employee’s page:
- It takes away every saved shift it touches, past ones included.
- It is refused when the shifts left would break a working-time limit: an import has no emergency override.
No absence of the employee starts on the row’s first day: the row records one. One does: the row changes its last day, and its reason and notes where the row fills them in. Lengthening an absence takes away the shifts its added days touch; shortening one puts no shift back.
Without the permission employee:personal-data, a row that changes another employee’s absence changes only its last day. A row that records the reason SICK_LEAVE without that permission shows OK in the dialog, but is refused when you import it: record ABSENT instead.
employeeNumber names an employee by their number, exactly. Import the employees first.
Columns
Section titled “Columns”| Column | Format | What it holds | Example |
|---|---|---|---|
employeeNumberRequiredImport key | Text | The number of the employee who is away | E-0153 |
firstDayRequiredImport key | Date, YYYY-MM-DD or your organisation's short date | The first day away, from its midnight; a re-import changes the employee's absence starting that day | 2027-07-05 |
lastDayRequired | Date, YYYY-MM-DD or your organisation's short date | The last day away, to the midnight after it | 2027-07-16 |
reason | One of VACATION, SICK_LEAVE, PERSONAL, TRAINING, OTHER, ABSENT | Why the employee is away | VACATION |
notes | Text | Anything else about the absence | Booked in March |
What it refuses
Section titled “What it refuses”- An
employeeNumberthat matches no employee: an employee without a number can’t be found by an import, so give them one on their page first. - A
lastDaybefore thefirstDay. - The same employee and first day twice in the file.
- A first day on which two of the employee’s absences start: change them on the employee’s page first.
What it changes elsewhere
Section titled “What it changes elsewhere”An imported absence that overlaps work the master plan names the employee on, or takes away a published shift still to come, is an exception: werkplan reports it to the open re-plan, as reported by the import, and tells the people who plan.
Still stuck? Write to support@example.com.