---
title: "Update an account"
method: PATCH
path: "/accounting/{connection_id}/account/{id}"
tags: ["accounting", "account"]
---

# Update an account

`PATCH /accounting/{connection_id}/account/{id}`

## Path parameters

- `connection_id` string, required
- `id` string, required

## Query parameters

- `fields` string[]
- `raw` string

## Request body

- AccountingAccount — Chart of accounts
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `type` 'ACCOUNTS_PAYABLE' | 'ACCOUNTS_RECEIVABLE' | 'BANK' | 'CREDIT_CARD' | 'FIXED_ASSET' | 'LIABILITY' | 'EQUITY' | 'EXPENSE' | 'REVENUE' | 'OTHER'
  - `status` 'ACTIVE' | 'ARCHIVED'
  - `balance` number
  - `currency` string
  - `customer_defined_code` string
  - `is_payable` boolean
  - `section` string
  - `subsection` string
  - `group` string
  - `subgroup` string
  - `parent_id` string
  - `taxonomy` AccountingAccountTaxonomy[]
    - `type` 'CLASSIFICATION' | 'GROUP' | 'SUBGROUP' | 'SYSTEM_ROLE' | 'OTHER', required
    - `original_type` string
    - `value` string, required
  - `organization_id` string
  - `raw` object

## Response `200`

Successful

- AccountingAccount — Chart of accounts
  - `id` string
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `name` string
  - `description` string
  - `type` 'ACCOUNTS_PAYABLE' | 'ACCOUNTS_RECEIVABLE' | 'BANK' | 'CREDIT_CARD' | 'FIXED_ASSET' | 'LIABILITY' | 'EQUITY' | 'EXPENSE' | 'REVENUE' | 'OTHER'
  - `status` 'ACTIVE' | 'ARCHIVED'
  - `balance` number
  - `currency` string
  - `customer_defined_code` string
  - `is_payable` boolean
  - `section` string
  - `subsection` string
  - `group` string
  - `subgroup` string
  - `parent_id` string
  - `taxonomy` AccountingAccountTaxonomy[]
    - `type` 'CLASSIFICATION' | 'GROUP' | 'SUBGROUP' | 'SYSTEM_ROLE' | 'OTHER', required
    - `original_type` string
    - `value` string, required
  - `organization_id` string
  - `raw` object

---

[API](https://skmtc.net/unified/apis/unified-to-api.md) · [All operations](https://skmtc.net/unified/apis/unified-to-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unified/unified-to-api/revisions/1f72720916e4/schema)
