Absence registrations are registered via the Absence api and the payroll run they are marked as archived and are not included into the following payroll runs.
In order for a hour registration to be created you need to provide the following information:
- Absence type
- Number of days(hours)
- Period (from and to date)
Absence API supports:
Absence registrations are not included in the payroll if the status of the registration is not Approved. Only users with elevated roles are allowed to set status Approve to a registration. Employees are allowed to create registration only with pending status. After registration is processed in a payroll and payroll is completed the state of the registration is set to Archived.
|Registration is pending for approval, it will not be included in payroll
|Registration is approved, and it will be included in payroll
|Registration is in pending status, it will not be included in payroll and status cannot be changed
|Registration is archived after processing in a payroll run and status cannot be changed
|Registration is archived by the user without being processed in a payroll
It is not possible to register two absences on same day.
Absence type is essential for absence registrations in Zenegy. In order for registration to be created absence type has to be provided.
Absence type is defining how the amount of units(days) will be calculated in the payroll. Zenegy has default system absence types defined.
When creating the registration the ID of the absence type has to be provided.
Zenegy default absence types are:
|Vacation(ferie) this is registered as regular vacation days hat goes to vacation days saldo
|Sick days(sygdom) this is registered as sick days
|Free vacation(feriefri) this is registered as vacation days that goes to free vacation days saldo
|Care day(Omsorgsdag) this is registered as care days and goes to care days saldo
|Child ill(Barns sygedag) this is registered as child ill day
|Maternity without salary, no calculations related to this type
|Maternity with salary, no calculations related to this type
|Training and education, no calculations related to this type
|Travel EU, no calculations related to this type
|Travel outside EU, no calculations related to this type
|Other , no calculations related to this type
In order for registration to be created you need to provide absence type and uid of a employee to which the registration will be registered.
Employees can be pull as list from the the payroll API(s):
- Payroll Denmark list of employee can be pulled here