Skip to main content
POST
Create a Chart of Accounts Template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer , where is your auth token.

Query Parameters

expand
enum<string>[] | null

Comma-separated list of expandable paths.

Available options:
ledgers

Body

application/json
name
string
required

An arbitrary string on the object, useful for identifying the Chart of Accounts template.

Example:

"Coffee Shop Sole Prop"

accounting_basis
enum<string>
default:accrual

The accounting basis for this Chart of Accounts template.

Available options:
cash,
accrual
Example:

"accrual"

Response

Successful Response

id
string
required

The unique ID of the object.

Example:

"PpvsmFEv14yGDyT6iV6kXw"

name
string
required

An arbitrary string on the object, useful for identifying the Chart of Accounts template.

Example:

"Coffee Shop Sole Prop"

accounting_basis
enum<string>
required

The accounting basis for this Chart of Accounts template.

Available options:
cash,
accrual
Example:

"accrual"

type
enum<string>
required

Whether this template belongs to an agent or a platform.

Available options:
agent,
platform
Example:

"agent"

ledger_ids
string[]
required

A list of IDs of the Ledger Template objects associated with the Chart of Accounts Template

Example:
ledgers
LedgerTemplate · object[] | null

Expandable. A list of the Ledger Templates associated with the Chart of Accounts Template.

Example:

null