---
title: "Create accounting account"
method: POST
path: "/v1/accounting-accounts"
tags: ["Accounting accounts"]
---

# Create accounting account

`POST /v1/accounting-accounts`

## Request

- Base URL: `https://sandbox.pismolabs.io/accounting`
- URL: `https://sandbox.pismolabs.io/accounting/v1/accounting-accounts`
- Auth: HTTP bearer

Create an accounting account.

Refer to the [How to create accounting account](doc:create-an-accounting-account) guide for more information.

## Request body

- AccountingAccountPost
  - `description` string, required: Description that helps to identify the accounting account. Can be `0` or any value if there's no corresponding account.
  - `account` string, required: Accounting account number. Can be `0` or any value if there's no corresponding account.
  - `program_id` integer, required: Related program ID

## Response `201`

OK

- AccountingAccount
  - `id` integer: Accounting account ID
  - `description` string: Description of the accounting account
  - `account` string: Accounting account number
  - `program_id` integer: Program ID
  - `created_at` string, date-time: Date and time when the accounting account was created (ISO 8601).
  - `deactivated_at` string, date-time: Date and time when the accounting account was deactivated (ISO 8601). Filled when the account is deactivated.

## Other responses

- `400`: Bad request when some provided parameter is invalid.
- `409`: Accounting account already exists.

---

[API](https://skmtc.dev/pismo/apis/core-platform-accounting.md) - [All operations](https://skmtc.dev/pismo/apis/core-platform-accounting/llms.txt) - [OpenAPI document](https://skmtc.dev/pismo/apis/core-platform-accounting/revisions/fdb645c3e65c?raw)
