Chart Management APIs

1. Create a Chart of Accounts

Endpoint

POST /api/v1/chart

Description

This endpoint creates a new chart of accounts, providing a container to organize related accounts.

Authentication

Bearer token for authentication

Input parameters

Name: Type:

Responses

200 OK: Sample response below

Error Codes:

  • 400 Bad Request: Invalid input.

  • 401 Unauthorized: Missing or invalid authentication.

post

Creates a new chart of accounts.

Body

Agent supplied information about a chart of accounts.

object · LedgerElementInfoOptional

A base type for agent supplied ledger information.

Responses
chevron-right
200

Response to /api/v1/chart/

application/json
post
/api/v1/chart/

2. List Charts

Endpoint

GET /api/v1/chart

Description

Retrieve a list of all charts of accounts defined in the ledger.

Responses

200 OK: Sample response below

Error Codes: 401 Unauthorized: Missing or invalid authentication.

get

Queries the charts of accounts.

Query parameters
filterstringOptional
page[size]stringOptional
page[number]stringOptional
sortstringOptional
Responses
chevron-right
200

Response to /api/v1/chart/

No content

get
/api/v1/chart/

No content

Last updated