---
title: "Retrieve Employee Time Off Data for Offboarding"
method: GET
path: "/eor/contracts/{contract_id}/offboarding/time-offs"
tags: ["eorOffboarding"]
---

# Retrieve Employee Time Off Data for Offboarding

`GET /eor/contracts/{contract_id}/offboarding/time-offs`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/eor/contracts/{contract_id}/offboarding/time-offs`
- Auth: HTTP bearer

Returns the time off the employee on a contract has already taken and has scheduled, which is the time off information an offboarding request asks for. Use it while preparing an offboarding request so that information can be completed.

 **Token scopes**: `contracts:read`

## Path parameters

- `contract_id` string, required

## Query parameters

- `end_date` string, date

## Response `200`

Successfully retrieved used time off information

- EorOffboardingGetContractOffboardingTimeOffsResponse200
  - `data` EorContractsContractIdOffboardingTimeOffsGetResponsesContentApplicationJsonSchemaData, required
    - `contract_id` string, required: The unique identifier of the employee contract
    - `entitlements` EorContractsContractIdOffboardingTimeOffsGetResponsesContentApplicationJsonSchemaDataEntitlementsItems[], required: List of entitlement periods sorted by tracking period (descending)
      - `id` string, uuid, required: The entitlement ID
      - `used` number, double, required: Amount of time off used in this period
      - `requests` integer, required: Number of time off requests in this period
      - `created_at` string, date-time, required: When the entitlement was created
      - `updated_at` string, date-time, required: When the entitlement was updated
      - `tracking_period` string, date, required: The tracking period start date
      - `entitlement_unit` 'BUSINESS_DAY' | 'CALENDAR_DAY' | 'HOUR' | 'WEEK' | 'MONTH' | 'YEAR', required: Unit of time measurement
      - `tracking_period_end_date` string, date, required: The tracking period end date
    - `tracking_type` 'OFF_PLATFORM' | 'ON_PLATFORM', required: The time off tracking type
    - `policy_settings` EorContractsContractIdOffboardingTimeOffsGetResponsesContentApplicationJsonSchemaDataPolicySettings, required: Policy configuration settings for time off calculations
      - `entitlement_unit` string, required: The entitlement unit for the policy
      - `is_accrued_days_available` boolean, required: Whether accrued days are available
      - `is_estimated_payout_available` boolean, required: Whether estimated payout is available
    - `remaining_balance` number, double, nullable: Remaining time off balance
    - `upcoming_time_offs` EorContractsContractIdOffboardingTimeOffsGetResponsesContentApplicationJsonSchemaDataUpcomingTimeOffsItems[], required: List of upcoming time off requests
      - `id` string, uuid, required: Time off request ID
      - `amount` number, double, required: Amount of time off requested
      - `status` string, required: Status of the time off request
      - `end_date` string, date-time, required: End date of the time off
      - `created_at` string, date-time, required: When the time off request was created
      - `start_date` string, date-time, required: Start date of the time off
      - `updated_at` string, date-time, required: When the time off request was updated
      - `approved_at` string, date-time, required: When the time off was approved
      - `requested_at` string, date-time, required: When the time off was requested
    - `has_external_integration` boolean, required: Whether the contract has external integration

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Operation failed.
- `500`: Internal Server Error

---

[API](https://skmtc.dev/deel/apis/eor-endpoints.md) - [All operations](https://skmtc.dev/deel/apis/eor-endpoints/llms.txt) - [OpenAPI document](https://skmtc.dev/deel/apis/eor-endpoints/revisions/7a55c7caa6dc?raw)
