---
title: "Create an expense"
method: POST
path: "/v1/workspaces/{workspaceId}/expenses"
tags: ["Expense"]
---

# Create an expense

`POST /v1/workspaces/{workspaceId}/expenses`

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.

## Response `201`

Created

- ExpenseDtoV1
  - `billable` boolean — Indicates whether expense is billable or not.
  - `categoryId` string — Represents category identifier across the system.
  - `date` string — Represents a date in yyyy-MM-dd format.
  - `fileId` string — Represents file identifier across the system.
  - `id` string — Represents expense identifier across the system.
  - `isLocked` boolean
  - `locked` boolean
  - `notes` string — Represents notes for an expense.
  - `projectId` string — Represents project identifier across the system.
  - `quantity` number, double — Represents expense quantity as double data type.
  - `taskId` string — Represents task identifier across the system.
  - `total` number, double — Represents expense total as double data type.
  - `userId` string — Represents user identifier across the system.
  - `workspaceId` string — Represents workspace identifier across the system.

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
