Overview

Offboarding involves terminating the employee's access, recording the reason for leaving, and calculating their severance or settlement (Finiquito/LiquidaciΓ³n) according to Mexican labor law.

1. Initiate Termination

Set the termination date and reason. This immediately revokes system access on the specified date.

PATCH/api/v1/accounts/directory/employees/{id}
Request Body
{
  "terminationDate": "2024-12-31",
  "reason": "VOLUNTARY_RESIGNATION",
  "comments": "Moving to another country"
}

2. Calculate Final Settlement

Worky's payroll engine calculates the prorated bonuses, vacation days not taken, and other regulatory payments.

POST/api/v1/payroll/engine/do-calculation

3. Generate Documents

Generate the resignation letter and settlement receipt for signature.

Swagger update: Termination kit document endpoint is not exposed in the current HR OpenAPI. Confirm the current document-generation endpoint with backend.