---
title: "Partial update expense"
method: PATCH
path: "/expenses/{id}/"
tags: ["Expenses"]
---

# Partial update expense

`PATCH /expenses/{id}/`

Endpoint for partially updating an existing expense.

## Path parameters

- `id` string, required

## Headers

- `X-Wafeq-Idempotency-Key` string

## Request body

- PatchedExpense — An entity that can have attachments.
  - `account` string — The account associated with this expense.
  - `amount` number, double — The monetary amount of the expense.
  - `attachments` string[] — Any files or documents attached to this expense.
  - `branch` string, nullable — The branch associated with this expense, if applicable.
  - `contact` string — The contact associated with this expense, if applicable.
  - `cost_center` string, nullable — The cost center associated with this expense, if applicable.
  - `created_ts` string, date-time — The timestamp in UTC when the expense was created
  - `currency` 'AED' | 'SAR' | 'USD' | 'EUR' | 'CAD' | 'AFN' | 'ALL' | 'AMD' | 'ARS' | 'AUD' | 'AZN' | 'BAM' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BND' | 'BOB' | 'BRL' | 'BWP' | 'BYN' | 'BZD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'GBP' | 'GEL' | 'GHS' | 'GNF' | 'GTQ' | 'HKD' | 'HNL' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KHR' | 'KMF' | 'KRW' | 'KWD' | 'KZT' | 'LBP' | 'LKR' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MOP' | 'MUR' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SDG' | 'SEK' | 'SGD' | 'SOS' | 'SYP' | 'THB' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'XAF' | 'XOF' | 'YER' | 'ZAR' | 'ZMW' — * `AED` - AED ⃱ * `SAR` - SAR ⃁ * `USD` - USD $ * `EUR` - EUR € * `CAD` - CAD $ * `AFN` - AFN ؋ * `ALL` - ALL Lek * `AMD` - AMD դր. * `ARS` - ARS $ * `AUD` - AUD $ * `...` Full information for [CurrencyEnum](currencyenum)
  - `date` string, date — The date when the expense was incurred.
  - `description` string — A detailed description of the expense.
  - `exchange_rate` number, double, nullable — The exchange rate to the organization base currency at the time of the document.
  - `external_id` string — External identifier for the expense.
  - `id` string — The unique identifier for this expense.
  - `legacy_id` string — [Deprecated] The legacy identifier of the expense.
  - `modified_ts` string, date-time — The timestamp in UTC when the expense was last modified
  - `paid_through_account` string — The account used to pay for this expense.
  - `project` string, nullable — The project associated with this expense, if applicable.
  - `reference` string — An optional reference code or number for this expense.
  - `tax_amount_type` 'TAX_INCLUSIVE' | 'TAX_EXCLUSIVE' — * `TAX_INCLUSIVE` - inc. tax * `TAX_EXCLUSIVE` - exc. tax Full information for [TaxAmountTypeEnum](taxamounttypeenum)
  - `tax_rate` string — The tax rate applied to this expense, if applicable.

## Response `200`

- Expense — An entity that can have attachments.
  - `account` string, required — The account associated with this expense.
  - `amount` number, double, required — The monetary amount of the expense.
  - `attachments` string[] — Any files or documents attached to this expense.
  - `branch` string, nullable — The branch associated with this expense, if applicable.
  - `contact` string — The contact associated with this expense, if applicable.
  - `cost_center` string, nullable — The cost center associated with this expense, if applicable.
  - `created_ts` string, date-time, required — The timestamp in UTC when the expense was created
  - `currency` 'AED' | 'SAR' | 'USD' | 'EUR' | 'CAD' | 'AFN' | 'ALL' | 'AMD' | 'ARS' | 'AUD' | 'AZN' | 'BAM' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BND' | 'BOB' | 'BRL' | 'BWP' | 'BYN' | 'BZD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'GBP' | 'GEL' | 'GHS' | 'GNF' | 'GTQ' | 'HKD' | 'HNL' | 'HRK' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KHR' | 'KMF' | 'KRW' | 'KWD' | 'KZT' | 'LBP' | 'LKR' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MOP' | 'MUR' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SDG' | 'SEK' | 'SGD' | 'SOS' | 'SYP' | 'THB' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'UYU' | 'UZS' | 'VES' | 'VND' | 'XAF' | 'XOF' | 'YER' | 'ZAR' | 'ZMW', required — * `AED` - AED ⃱ * `SAR` - SAR ⃁ * `USD` - USD $ * `EUR` - EUR € * `CAD` - CAD $ * `AFN` - AFN ؋ * `ALL` - ALL Lek * `AMD` - AMD դր. * `ARS` - ARS $ * `AUD` - AUD $ * `...` Full information for [CurrencyEnum](currencyenum)
  - `date` string, date, required — The date when the expense was incurred.
  - `description` string, required — A detailed description of the expense.
  - `exchange_rate` number, double, nullable — The exchange rate to the organization base currency at the time of the document.
  - `external_id` string — External identifier for the expense.
  - `id` string, required — The unique identifier for this expense.
  - `legacy_id` string, required — [Deprecated] The legacy identifier of the expense.
  - `modified_ts` string, date-time, required — The timestamp in UTC when the expense was last modified
  - `paid_through_account` string, required — The account used to pay for this expense.
  - `project` string, nullable — The project associated with this expense, if applicable.
  - `reference` string — An optional reference code or number for this expense.
  - `tax_amount_type` 'TAX_INCLUSIVE' | 'TAX_EXCLUSIVE' — * `TAX_INCLUSIVE` - inc. tax * `TAX_EXCLUSIVE` - exc. tax Full information for [TaxAmountTypeEnum](taxamounttypeenum)
  - `tax_rate` string — The tax rate applied to this expense, if applicable.

---

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