---
title: "Retrieve a timesheet"
method: GET
path: "/time-tracking/timesheets/{timesheet_id}"
tags: ["timeTracking"]
---

# Retrieve a timesheet

`GET /time-tracking/timesheets/{timesheet_id}`

## Request

- Base URL: `https://api.letsdeel.com/rest`
- URL: `https://api.letsdeel.com/rest/time-tracking/timesheets/{timesheet_id}`
- Auth: HTTP bearer

Retrieves a timesheet by `timesheet_id`, including its submission, review, and processing status. Pass `expand=file_data` to include file name and download URL in the response.

 **Token scopes**: `time-tracking:read`

## Path parameters

- `timesheet_id` string, uuid, required

## Query parameters

- `extend` string

## Response `200`

Timesheet retrieved successfully. Returns timesheet details including validation errors if applicable. When extend=file_data, also includes file_data object with file details and download URL.

- TimeTrackingGetTimeTrackingTimesheetByIdResponse200
  - `data` TimeTrackingTimesheetsTimesheetIdGetResponsesContentApplicationJsonSchemaData, required: Timesheet data including validation errors if applicable. When extend=file_data, also includes file_data object with file details and download URL.
    - `id` string, uuid, required: Unique identifier for the timesheet
    - `end_date` string, date, required: End date of the timesheet period
    - `file_data` TimeTrackingTimesheetsTimesheetIdGetResponsesContentApplicationJsonSchemaDataFileData, nullable: Present only when `extend=file_data` is provided. Contains file details and download URL.
      - `file_id` string, uuid, required: Unique identifier for the timesheet file
      - `file_name` string, required: Name of the timesheet file
      - `download_url` string, uri, required: Pre-signed S3 URL for downloading the timesheet file
    - `created_at` string, date-time, required: Timestamp when the timesheet was created
    - `start_date` string, date, required: Start date of the timesheet period
    - `updated_at` string, date-time, required: Timestamp when the timesheet was last updated
    - `contract_id` string, required: External id of the worker's contract associated with the timesheet
    - `review_status` 'PENDING_CREATION' | 'PENDING_REVIEW' | 'APPROVED' | 'REJECTED', required: Current status of the timesheet review
    - `submission_status` 'UPLOADING' | 'UPLOAD_FAILED' | 'PROCESSING' | 'SUBMITTED' | 'INVALID' | 'FAILED', required: Current status of the timesheet submission
    - `validation_errors` TimeTrackingTimesheetsTimesheetIdGetResponsesContentApplicationJsonSchemaDataValidationErrorsItems[], nullable, required: Array of validation errors found during timesheet processing. Null if no errors found.
      - `row` number, double, nullable: Row number in the timesheet file where the error occurred
      - `type` 'EMPTY_TIMESHEET' | 'INVALID_TIMESHEET_FORMAT' | 'FILE_TOO_LARGE' | 'INVALID_FILE_TYPE' | 'INVALID_SHIFT_TIME_ORDER' | 'INVALID_BREAK_TIME_ORDER' | 'BREAK_OUTSIDE_SHIFT' | 'OVERLAPPING_BREAKS' | 'CANNOT_SUBMIT_SHIFTS' | 'WORK_DURATION_MISMATCH' | 'NON_WORKING_DAY_VIOLATION' | 'PUBLIC_HOLIDAY_VIOLATION' | 'TIME_OFF_VIOLATION' | 'SHIFT_OUT_OF_CYCLE' | 'DAY_UNAVAILABLE' | 'INVALID_SHIFT_SUBMIT_TYPE' | 'INVALID_SHIFT_ORIGIN' | 'INVALID_SHIFT_TYPE' | 'INVALID_SHIFT_KEEP_IN_TOUCH_DATE_INTERVAL' | 'OVERLAPPING_SHIFT' | 'SHIFT_CONTRACT_IN_RESTRICTED_STATUS' | 'SHIFT_CONTRACT_IN_TERMINATION_STATUS' | 'SHIFT_CONTRACT_COMPLETION_DATE' | 'SHIFT_CONTRACT_START_DATE' | 'SHIFT_MAX_SATURDAYS_PER_YEAR_VIOLATION' | 'INVALID_DAY_TRACKING_DATA' | 'SHIFT_MAX_WORKING_DAYS_PER_YEAR_VIOLATION' | 'SHIFT_MAX_CONSECUTIVE_DAYS_STREAK_VIOLATION' | 'BREAK_TYPE_NOT_AVAILABLE' | 'BREAK_MISSED_OR_WAIVED' | 'BREAK_DURATION_MISMATCH' | 'BREAK_MAX_DURATION_EXCEEDED' | 'WORK_LOCATION_VIOLATION' | 'WORK_LOCATION_MISMATCH_BETWEEN_TIME_CLOCK_EVENTS_FOR_SHIFT' | 'MISSING_WORK_DESCRIPTION', required: Type of validation error
      - `column` string, nullable: Column name in the timesheet file where the error occurred
      - `context` object, nullable: Additional context information about the error
      - `message` string, required: Human-readable error message

## Other responses

- `400`: Operation failed.
- `401`: Operation failed.
- `403`: Operation failed.
- `404`: Timesheet not found.
- `500`: Operation failed.

---

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