Skip to main content
POST
Save chart of accounts template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is a partner-level token.

Body

application/json
name
string
required

Name of the CoA template

Example:

"Standard Business"

id
string

Id of the CoA template, required when updating an existing template

Example:

"tcoa_123456"

businessTypeId
string | null

Id of the business type this template applies to

Example:

"bzt_123456"

isDefault
boolean | null

When true, designates this template as the partner's default for its business-type group (null businessType is its own group); at most one template per group may be default; only allowed on fully mapped (non-pending) templates

accounts
object[] | null

Response

Success

result
enum<string>

The result of the action performed.

Available options:
SUCCESS,
FAILURE
data
object

The data generated by the action performed.