---
title: "End a timesheet without children, automatically calculates children from roster Only requires timesheet ID. All other data (start, end, children, meal breaks) are calculated automatically."
method: POST
path: "/management/v2/timesheets/{id}:auto-end"
tags: ["Timesheets"]
---

# End a timesheet without children, automatically calculates children from roster Only requires timesheet ID. All other data (start, end, children, meal breaks) are calculated automatically.

`POST /management/v2/timesheets/{id}:auto-end`

## Request

- Base URL: `https://your-subdomain.deputy.deputy.com/api`
- URL: `https://your-subdomain.deputy.deputy.com/api/management/v2/timesheets/{id}:auto-end`
- Auth: API key in header `OAuth`

End a timesheet without children, automatically calculates children from roster
Only requires timesheet ID. All other data (start, end, children, meal breaks) are calculated automatically.

## Path parameters

- `id` string, required

## Response `200`

A successful response.

- TimesheetsActionResponse
  - `success` boolean
  - `data` ModelTimesheetActionResponse
    - `managerNotified` boolean
    - `id` integer
    - `employeeId` integer
    - `start` string
    - `end` string
    - `mealBreakSlots` ModelMealBreak[]
      - `type` 'MEAL_BREAK' | 'REST_BREAK'
      - `start` string
      - `end` string
      - `state` 'NOT_START' | 'IN_PROGRESS' | 'FINISHED' | 'DURATION_ONLY' | 'DURATION_FINISHED'
    - `totalTime` number, float
    - `shiftId` integer
    - `employeeComment` string
    - `disputed` boolean
    - `timeApproved` boolean
    - `area` Tenanttimesheetv2modelArea
      - `id` integer
      - `name` string
      - `locationId` integer
      - `locationName` string
    - `inProgress` boolean
    - `autoRounded` boolean
    - `fileId` integer
    - `children` ModelChildTimesheet[]
      - `start` string
      - `end` string
      - `areaId` integer
      - `id` integer
      - `areaName` string
      - `locationId` integer
      - `locationName` string

---

[API](https://skmtc.dev/deputy/apis/deputy-v2-api.md) - [All operations](https://skmtc.dev/deputy/apis/deputy-v2-api/llms.txt) - [OpenAPI document](https://skmtc.dev/deputy/apis/deputy-v2-api/revisions/78f0278f4608?raw)
