v1

latestOpenAPI 3.1.02026-07-22155403592.5 KB
Accounting
Analytic accounts

Create analytic account

Create a new analytic account in the default analytic plan

post/consumers/{consumer_id}/accounting/analytic-accounts

Path parameters

consumer_idstring uuid required

Query parameters

folder_idstring nullable

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

Request body

activeboolean nullable

Flag indicating whether the analytic account is active.

codestring required

Short code for the analytic account. Often used for internal referencing. May be required to be unique

namestring required

Name or label of the analytic account as it appears in the accounting system.

currencystring required

Indicates the currency of the analytic account (e.g., EUR, USD).

Response

Successful Response

idstring required

Unique id of the analytic account in the accounting system.

activeboolean required

Flag indicating whether the analytic account is active.

codestring nullable

Short code for the analytic account. Often used for internal referencing. For some integrations, it may be required to be unique.

namestring required

Name or label of the analytic account as it appears in the accounting system.

currencystring nullable

Indicates the currency of the analytic account (e.g., EUR, USD).

balancenumber nullable
creditnumber nullable
debitnumber nullable