---
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}`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Expenses/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Expenses/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## 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.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
