---
title: "Update Task Billing"
method: PUT
path: "/tasks/{task_id}/billing"
tags: ["Tasks"]
---

# Update Task Billing

`PUT /tasks/{task_id}/billing`

Set a task's billing rate or mark it non-billable. Requires admin access. The same values are returned on task responses when you pass `opts_include_billing=1`.

## Path parameters

- `task_id` string, required

## Request body

- TaskBillingRequest
  - `unbillable` boolean — Mark the task as non-billable.
  - `rate` integer — Hourly billable rate in cents. Use -1 to leave the current rate unchanged.

## Response `200`

OK

- Task
  - `id` string, required
  - `name` string, required
  - `projects` string[], required — List of projects ID
  - `section` number, nullable — Section ID
  - `labels` string[]
  - `position` number
  - `description` string, nullable
  - `dueAt` string, nullable — Format: Y-m-d H:i:s
  - `status` 'open' | 'closed'
  - `time` TaskTime
    - `total` number, required — Total task time in seconds
    - `users` object, required — Task time per user ID
  - `estimate` TaskEstimate
    - `total` number, required — Total task estimate in seconds
    - `type` 'overall' | 'users', required
    - `users` object — Task estimate per user ID
  - `attributes` object — Custom attributes from integration
  - `metrics` object — Custom metrics from integration
  - `unbillable` boolean

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/everhour/apis/everhour-api.md) · [All operations](https://skmtc.net/everhour/apis/everhour-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/everhour/everhour-api/revisions/fc6136e33352/schema)
