---
title: "Update an expense (only manual expenses can be updated)"
method: PUT
path: "/Expenses/{id}"
tags: ["Expenses"]
---

# Update an expense (only manual expenses can be updated)

`PUT /Expenses/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateExpenseDto
  - `amount` union
    - number, double
    - string, double
  - `category` string, nullable
  - `date` string, date, nullable
  - `description` string, nullable
  - `vendorName` string, nullable
  - `referenceNumber` string, nullable

## Response `200`

OK

- ExpenseDto
  - `id` string
  - `amount` union
    - number, double
    - string, double
  - `category` string
  - `date` string, date
  - `description` string, nullable
  - `vendorName` string, nullable
  - `referenceNumber` string, nullable
  - `source` integer — Source of an expense record for auto-population deduplication.
  - `sourceReferenceId` string, nullable
  - `recurringExpenseId` string, nullable
  - `createdById` string, nullable
  - `createdByName` string, nullable
  - `createdAt` string, date-time
  - `updatedAt` string, date-time

## Other responses

- `400` — Bad Request
- `404` — Not Found

---

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