---
title: "Delete an expense"
method: DELETE
path: "/v1/expenses/{id}"
tags: ["Expenses"]
---

# Delete an expense

`DELETE /v1/expenses/{id}`

## Request

- Base URL: `https://api.paymongo.com`
- URL: `https://api.paymongo.com/v1/expenses/{id}`
- Auth: HTTP basic

Marks an expense as deleted and returns its latest representation.

## Path parameters

- `id` string, required

## Response `200`

Expense deleted

- object: Standard response containing data and its metadata if any
  - `approved_count` integer
  - `approved_total_amount` integer
  - `data` ExpenseResource
    - `amount` integer
    - `category` string
    - `comment` string
    - `created` string
    - `created_at` string
    - `currency` string
    - `destination_account_name` string
    - `destination_account_number` string
    - `destination_bic` string
    - `employee_email` string
    - `id` string
    - `is_wallet_destination` boolean
    - `items` ExpenseItemResponse[]
      - `amount` integer
      - `category` string
      - `currency` string
      - `id` string
      - `line_no` integer
      - `metadata` object
      - `name` string
      - `quantity` number
      - `tax_amount` integer
    - `merchant` string
    - `metadata` object
    - `ocr_extracted` object
    - `org_id` string
    - `receipt_file_id` string
    - `status` 'open' | 'approved' | 'rejected' | 'deleted'
    - `supporting_document_ids` string[]
    - `tag` string
    - `tax_amount` integer
    - `type` string
    - `updated_at` string
  - `has_more` boolean
  - `pending_count` integer
  - `rejected_count` integer
  - `total_amount` integer

## Other responses

- `400`: Invalid expense ID
- `401`: Missing or invalid secret key
- `404`: Expense not found
- `500`: Internal server error

---

[API](https://skmtc.dev/paymongo/apis/expense-api.md) - [All operations](https://skmtc.dev/paymongo/apis/expense-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/expense-api/revisions/521ade5edadd?raw)
