v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Accounting accounts

Create accounting account

Create an accounting account.

Refer to the How to create accounting account guide for more information.

post/v1/accounting-accounts

Request body

descriptionstring required

Description that helps to identify the accounting account. Can be 0 or any value if there's no corresponding account.

accountstring required

Accounting account number. Can be 0 or any value if there's no corresponding account.

program_idinteger required

Related program ID

Example request

{
  "description": "SAMPLE ACCOUNT",
  "account": "123123132-x",
  "program_id": 12
}

Response

OK

idinteger

Accounting account ID

descriptionstring

Description of the accounting account

accountstring

Accounting account number

program_idinteger

Program ID

created_atstring date-time

Date and time when the accounting account was created (ISO 8601).

deactivated_atstring date-time

Date and time when the accounting account was deactivated (ISO 8601). Filled when the account is deactivated.

Example response

{
  "id": 1,
  "description": "SAMPLE ACCOUNT",
  "account": "123123132-x",
  "program_id": 12,
  "created_at": "2021-10-10T10:10:00.000Z"
}