Creating Absences

Endpoints

Estonia: https://Palk.merit.ee/api/v1/sendabsence

Elements for Adding Absences

FieldTypeComment
ContractCode*Str 11Contract’s import code in Merit Palk
system or employee’s Personal ID Code
Typecode*Int1 – Annual Vacation
2 – Vacation pay compensation
3 – Child leave
4 – Extended annual vacation (minors
and incapacity pensioners)
5 – Paternity leave
6 – Study leave
7 – Temporary incapacity (“sick leave”)
8 – Child leave for parents of disabled
child
9 – Leave on employer permission
10 – Carer’s leave
1001 – Absent from work
1004 – Unpaid vacation
1005 – Child care leave
1006 – Leave for national service
1008 – Temporary incapacity (without
employer’s compensation)
1009 – Other (included in the working
year)
1010 – Other (not included in the
working year)
1011 – Child leave without pay
StartDate*DateAbsence start date
AbsenceDaysDecimal 12.4Number of absence days
Month*IntActive month.
Year*IntActive year.
DocNameStr 64Name or number of the document.
EndDateDateAbsence end date. Ignored if
AbsenceDays has value.
AvgTypeInt1 – Six month average
2 – Continous
3 – Custom sum (CustomSum needed)
CustomSumDecimal 12.4Absence salary sum if AvgType = 3
IncapStartDayIntOn which absence day of the
incapacity, the compensation
starts:
2 – on second day of incapacity
3 – on third day of incapacity
4 – on fourth day of incapacity
IncapPercentDecimal 12.4Incapacity compensation percent.
Percent rate has to stay between 70
to 100.