---
title: "Add Expense Category"
method: POST
path: "/business/v2/entities/expense-category"
tags: ["Expense Categories"]
---

# Add Expense Category

`POST /business/v2/entities/expense-category`

Endpoint to add a new `ExpenseCategory`.

## Request body

- CreateExpenseCategory — Add `ExpenseCategory` JSON parameters.
  - `code` string — The code of the `ExpenseCategory`.
  - `name` string, required — The name of the `ExpenseCategory`.
  - `description` string — The description of the `ExpenseCategory`.
  - `tax_rate_id` string — The ID of the VAT Rate linked to the `ExpenseCategory`.
  - `enabled` boolean — it determines whether the `ExpenseCategory` is visible on the transaction detail.
  - `merchant_categories` MerchantCategory[] — A list of merchant categories this `ExpenseCategory` is auto-assigned to.
  - `expense_type` 'COMPANY' | 'PERSONAL' | 'TRAVEL_AND_ENTERTAINMENT', required

## Response `200`

The result is an `ExpenseCategory`.

- ExpenseCategory
  - `id` string — The `ExpenseCategory` ID.
  - `code` string — The code of the `ExpenseCategory`.
  - `name` string — The name of the `ExpenseCategory`.
  - `description` string — A custom description of the `ExpenseCategory`.
  - `tax_rate_id` string — The ID of the VAT rate linked to the `ExpenseCategory`.
  - `enabled` boolean — The `ExpenseCategory` is visible in the transaction detail.
  - `merchant_categories` MerchantCategory[] — A list of merchant categories this `ExpenseCategory`.
  - `expense_type` string — The type of expense assigned to category.
  - `integration` string — The `ExpenseCategory`'s correlated integration.
  - `creation_time` string — The date and time when the `ExpenseCategory` was created (sortable: no).
  - `last_update_time` string — The date and time when the `ExpenseCategory` was last updated (sortable: no).

## Other responses

- `400` — Your request has missing arguments or is malformed.
- `404` — One or more resource requested does not exist.

---

[API](https://skmtc.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
