> ## Documentation Index
> Fetch the complete documentation index at: https://docs.partners.api.cobee.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to obtain Employee Termination Reports

This guide explains how to obtain the final consumptions for an employee when they are terminated (e.g., offboarding, dismissal, resignation).

**Steps:**

1. **Terminate the employee:**
   * Use [`DELETE /companies/{companyId}/employees/{employeeId}`](/en/api-reference/employees/endpoint/delete_employee) to terminate the employee on Cobee.
2. **Get the employee's consumptions:**
   * Use [`GET /companies/{companyId}/employees/{employeeId}/consumptions?payroll=YYYY-MM`](/en/api-reference/consumptions/endpoint/get_employee_consumptions) to retrieve consumptions for the specific cycle (Format `YYYY-MM`) in which the employee was terminated.

***

## Key Points

* Always use the correct `payroll` parameter (format `YYYY-MM`) to ensure you are retrieving consumptions for the intended period.

<Warning>
  **Important Notice**<br />
  For more details on each endpoint, refer to their respective documentation links above.
</Warning>
