Endpoints
Estonia: https://Palk.merit.ee/api/v1/sendabsence
Elements for Adding Absences
Field | Type | Comment |
---|---|---|
ContractCode* | Str 11 | Contract’s import code in Merit Palk system or employee’s Personal ID Code |
Typecode* | Int | 1 – 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* | Date | Absence start date |
AbsenceDays | Decimal 12.4 | Number of absence days |
Month* | Int | Active month. |
Year* | Int | Active year. |
DocName | Str 64 | Name or number of the document. |
EndDate | Date | Absence end date. Ignored if AbsenceDays has value. |
AvgType | Int | 1 – Six month average 2 – Continous 3 – Custom sum (CustomSum needed) |
CustomSum | Decimal 12.4 | Absence salary sum if AvgType = 3 |
IncapStartDay | Int | On 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 |
IncapPercent | Decimal 12.4 | Incapacity compensation percent. Percent rate has to stay between 70 to 100. |