---
title: "Accounting categories expenses document."
method: GET
path: "/expenses/categories/accounting"
tags: ["Expenses"]
---

# Accounting categories expenses document.

`GET /expenses/categories/accounting`

## Request

- Base URL: `https://openapi.flowaccount.com/v1`
- URL: `https://openapi.flowaccount.com/v1/expenses/categories/accounting`
- Auth: none declared. Required headers: `Authorization`
- TypeScript: <https://skmtc.dev/flowaccount/apis/flowaccount-open-api/docs/expenses/categories/accounting/get.ts> (a function with typed inputs; its response is checked against the schema)

เรียกดูข้อมูลหมวดหมู่เอกสารค่าใช้จ่าย (สำหรับนักบัญชี)

## Headers

- `Authorization` string, required

## Response `200`

200 response

- BusinessCategory
  - `status` boolean: action success
  - `message` string: error message
  - `code` integer: error code
  - `data` object[]: ข้อมูลหมวดหมู่ค่าใช้จ่าย ในระบบ
    - `id` integer: id ของหมวดหมู่ค่าใช้จ่าย
    - `systemCode` integer: เลขที่ system code หมวดหมู่ค่าใช้จ่าย (เลือกใช้ หมวดหมู่ค่าใช้จ่ายสำหรับธุรกิจ)
    - `categoryId` integer: เลขที่ id หมวดหมู่ค่าใช้จ่าย (เลือกใช้ หมวดหมู่ค่าใช้จ่ายสำหรับธุรกิจ)
    - `categoryNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่าย
    - `categoryNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่าย (ภาษาอังกฤษ)
    - `debitId` integer: เลข id หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
    - `debitCategory` integer: เลขหมวดหมู่ ฝั่งเดบิต ของ หมวดหมู่ค่าใช้จ่าย
    - `debitCode` string: เลขที่หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
    - `debitNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
    - `debitNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต (ภาษาอังกฤษ)
    - `creditId` integer: เลข id หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิิต
    - `creditCategory` integer: เลขหมวดหมู่ ฝั่งเครดิต ของ หมวดหมู่ค่าใช้จ่าย
    - `creditCode` string: เลขที่หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต
    - `creditNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต
    - `creditNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต (ภาษาอังกฤษ)
    - `subCategories` SubCategories[]: หมวดหมู่ค่าใช้จ่ายย่อย
      - `id` integer: id ของหมวดหมู่ค่าใช้จ่าย
      - `systemCode` integer: เลขที่ system code หมวดหมู่ค่าใช้จ่าย (เลือกใช้ หมวดหมู่ค่าใช้จ่ายสำหรับธุรกิจ)
      - `categoryId` integer: เลขที่ id หมวดหมู่ค่าใช้จ่าย (เลือกใช้ หมวดหมู่ค่าใช้จ่ายสำหรับธุรกิจ)
      - `categoryNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่าย
      - `categoryNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่าย (ภาษาอังกฤษ)
      - `debitId` integer: เลข id หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
      - `debitCategory` integer: เลขหมวดหมู่ ฝั่งเดบิต ของ หมวดหมู่ค่าใช้จ่าย
      - `debitCode` string: เลขที่หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
      - `debitNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต
      - `debitNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเดบิต (ภาษาอังกฤษ)
      - `creditId` integer: เลข id หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิิต
      - `creditCategory` integer: เลขหมวดหมู่ ฝั่งเครดิต ของ หมวดหมู่ค่าใช้จ่าย
      - `creditCode` string: เลขที่หมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต
      - `creditNameLocal` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต
      - `creditNameForeign` string: ชื่อหมวดหมู่ค่าใช้จ่ายทางบัญชี ฝั่งเครดิต (ภาษาอังกฤษ)

## Other responses

- `401`: 401 response
- `500`: 500 response

---

[API](https://skmtc.dev/flowaccount/apis/flowaccount-open-api.md) - [All operations](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flowaccount/apis/flowaccount-open-api/revisions/4ba3d3ca5bd5?raw)
