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.
Creates a new chart of accounts.
Agent supplied information about a chart of accounts.
The name of the chart of accounts.
Response to /api/v1/chart/
default response to /api/v1/chart/
POST /api/v1/chart/ HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 66
{
"@type": "cac_ledger_schema_info_ledger_chart_info",
"name": "text"
}{
"@type": "cac_ledger_schema_element_ledger_chart_elem",
"created_at": "2025-12-05T14:44:08.892Z",
"id": 1,
"info": {
"@type": "cac_ledger_schema_info_ledger_chart_info",
"name": "text"
},
"updated_at": "2025-12-05T14:44:08.892Z"
}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.
Queries the charts of accounts.
Response to /api/v1/chart/
No content
default response to /api/v1/chart/
GET /api/v1/chart/ HTTP/1.1
Host:
Accept: */*
No content
Last updated

