---
updatedAt: 2026-04-30T22:53:04.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further. Append .md to any documentation page URL to get its markdown version.

# Create accounting account

Create an accounting account.

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


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Core platform - Accounting",
    "version": "1.0.0",
    "description": "API used to manage the accounting context",
    "contact": {
      "name": "API Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io/accounting",
      "description": "Sandbox API server for testing"
    }
  ],
  "components": {
    "schemas": {
      "AccountingAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "description": "Accounting account ID"
          },
          "description": {
            "type": "string",
            "description": "Description of the accounting account",
            "maximum": 100
          },
          "account": {
            "type": "string",
            "description": "Accounting account number",
            "maximum": 50
          },
          "program_id": {
            "type": "integer",
            "format": "int64",
            "description": "Program ID"
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time when the accounting account was created (ISO 8601)."
          },
          "deactivated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Date and time when the accounting account was deactivated (ISO 8601). Filled when the account is deactivated."
          }
        },
        "example": {
          "id": 1,
          "description": "SAMPLE ACCOUNT",
          "account": "123123132-x",
          "program_id": 12,
          "created_at": "2021-10-10T10:10:00.000Z"
        }
      },
      "AccountingAccountPost": {
        "required": [
          "description",
          "account",
          "program_id"
        ],
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "description": "Description that helps to identify the accounting account.  Can be `0` or any value if there's no corresponding account.",
            "maximum": 100
          },
          "account": {
            "type": "string",
            "description": "Accounting account number. Can be `0` or any value if there's no corresponding account.",
            "maximum": 50
          },
          "program_id": {
            "type": "integer",
            "format": "int64",
            "description": "Related program ID"
          }
        },
        "example": {
          "description": "SAMPLE ACCOUNT",
          "account": "123123132-x",
          "program_id": 12
        }
      }
    }
  },
  "tags": [
    {
      "name": "Accounting accounts",
      "description": "Endpoints to manage the accounting plan, which is a set of accounting accounts."
    }
  ],
  "paths": {
    "/v1/accounting-accounts": {
      "post": {
        "operationId": "CreateAccountingAccount",
        "summary": "Create accounting account",
        "description": "Create an accounting account.\n\nRefer to the [How to create accounting account](https://developers.pismo.io/pismo-docs/docs/create-an-accounting-account) guide for more information.\n",
        "tags": [
          "Accounting accounts"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AccountingAccountPost"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountingAccount"
                }
              }
            }
          },
          "400": {
            "description": "Bad request when some provided parameter is invalid."
          },
          "409": {
            "description": "Accounting account already exists."
          }
        }
      }
    }
  }
}
```