v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Expense Categories

Get Expense Category

Endpoint to get a specific ExpenseCategory by ID.

get/business/v2/entities/expense-category/{expenseCategoryId}

Path parameters

expenseCategoryIdstring required

The ExpenseCategory ID.

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Response

The result is a single ExpenseCategory.

idstring

The ExpenseCategory ID.

codestring

The code of the ExpenseCategory.

namestring

The name of the ExpenseCategory.

descriptionstring

A custom description of the ExpenseCategory.

tax_rate_idstring

The ID of the VAT rate linked to the ExpenseCategory.

enabledboolean

The ExpenseCategory is visible in the transaction detail.

merchant_categoriesMerchantCategory[]

A list of merchant categories this ExpenseCategory.

expense_typestring

The type of expense assigned to category.

integrationstring

The ExpenseCategory's correlated integration.

creation_timestring

The date and time when the ExpenseCategory was created (sortable: no).

last_update_timestring

The date and time when the ExpenseCategory was last updated (sortable: no).

Example response

{
  "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
  "name": "category-one",
  "description": "An expense category",
  "tax_rate_id": "c861cc24-6663-410f-8c78-73f886fff4ef",
  "expense_type": "TRAVEL_AND_ENTERTAINMENT",
  "integration": "Netsuite",
  "creation_time": "2017-06-01T12:48:40Z",
  "last_update_time": "2017-06-01T12:48:40Z"
}