API reference
End of service
What an employee is owed when they leave: the end-of-service award under the Saudi labour law, unused leave paid out, the final salary and pending bonuses, minus outstanding loans, deductions and custody. A package is calculated, saved as a draft, then confirmed — which settles the loans, starts the offboarding and records the payout.
GETList termination packages
/termination_packagesreadPOSTSave an end-of-service package as a draft/termination_packageswriteGETList termination packages and their accounting sync/termination_packages/accounting_syncreadGETList employees a package can be created for/termination_packages/employee_optionsreadGETExport termination packages to Excel or CSV/termination_packages/exportwriteGETList the columns a termination packages export can have/termination_packages/export/columnsreadGETCalculate end of service without saving/termination_packages/previewreadGETCount termination packages and their money by status/termination_packages/stat_cardsreadGETGet a termination package with its calculation/termination_packages/{id}readPATCHChange a draft end-of-service package/termination_packages/{id}writeDELETECancel an end-of-service package/termination_packages/{id}writeIrreversible operationPOSTRe-send an end-of-service package to accounting/termination_packages/{id}/accounting_syncwritePOSTConfirm an end-of-service package/termination_packages/{id}/confirmwriteIrreversible operationPOSTRecalculate an end-of-service package/termination_packages/{id}/recalculatewriteGETList the reasons an employment can end/termination_reasonsread