curl --request GET \
--url https://api.meetcampfire.com/coa/api/account \
--header 'Authorization: <api-key>'
[
{
"id": 123,
"reconciliation_ending_date": "2023-12-25",
"reconciliation_ending_balance": 0,
"balance_ytd": 0,
"name_and_number": "<string>",
"parent_name_and_number": "<string>",
"sort_key": "<string>",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"currency": "<string>",
"name": "<string>",
"nickname": "<string>",
"description": "<string>",
"status": "ACTIVE",
"account_type": "ASSET",
"account_subtype": "BANK",
"account_cashflow_classification": "NONE",
"include_in_eliminations": true,
"include_in_revaluations": true,
"protected": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_recompute_balance_at": "2023-11-07T05:31:56Z",
"lock_recompute_balance_key": "<string>",
"customer": 123,
"parent": 123,
"parent_bank_account": 123
}
]
Retrieve a list of chart accounts with optional filtering and sorting
curl --request GET \
--url https://api.meetcampfire.com/coa/api/account \
--header 'Authorization: <api-key>'
[
{
"id": 123,
"reconciliation_ending_date": "2023-12-25",
"reconciliation_ending_balance": 0,
"balance_ytd": 0,
"name_and_number": "<string>",
"parent_name_and_number": "<string>",
"sort_key": "<string>",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"number": "<string>",
"currency": "<string>",
"name": "<string>",
"nickname": "<string>",
"description": "<string>",
"status": "ACTIVE",
"account_type": "ASSET",
"account_subtype": "BANK",
"account_cashflow_classification": "NONE",
"include_in_eliminations": true,
"include_in_revaluations": true,
"protected": true,
"created_at": "2023-11-07T05:31:56Z",
"last_modified_at": "2023-11-07T05:31:56Z",
"last_recompute_balance_at": "2023-11-07T05:31:56Z",
"lock_recompute_balance_key": "<string>",
"customer": 123,
"parent": 123,
"parent_bank_account": 123
}
]
Token-based authentication with required prefix "Token"
Filter by account ID. Can be specified multiple times for multiple accounts
Filter by account subtype. Can be specified multiple times for multiple subtypes
Filter by account type. Can be specified multiple times for multiple types
Include accounts with cost allocation
Include inactive accounts in results
Search query - searches by account name or number
The response is of type object[]
.