curl --request GET \
--url https://api.meetcampfire.com/ca/api/get_trial_balance \
--header 'Authorization: <api-key>'
{
"trial_balance": {
"accounts": [
{
"id": 2550,
"name": "Accounts Payable",
"number": "210000",
"balances": {
"2023-08-31": {
"debits": 0,
"credits": 123
},
"2023-09-30": {
"debits": 0,
"credits": 123
}
}
},
{
"id": 2551,
"name": "Credit Cards",
"number": "220000",
"balances": {
"2023-08-31": {
"debits": 1700.14,
"credits": 0
},
"2023-09-30": {
"debits": 1700.14,
"credits": 0
}
}
}
]
},
"start_date": "2023-10-01",
"end_date": "2023-11-30"
}
curl --request GET \
--url https://api.meetcampfire.com/ca/api/get_trial_balance \
--header 'Authorization: <api-key>'
{
"trial_balance": {
"accounts": [
{
"id": 2550,
"name": "Accounts Payable",
"number": "210000",
"balances": {
"2023-08-31": {
"debits": 0,
"credits": 123
},
"2023-09-30": {
"debits": 0,
"credits": 123
}
}
},
{
"id": 2551,
"name": "Credit Cards",
"number": "220000",
"balances": {
"2023-08-31": {
"debits": 1700.14,
"credits": 0
},
"2023-09-30": {
"debits": 1700.14,
"credits": 0
}
}
}
]
},
"start_date": "2023-10-01",
"end_date": "2023-11-30"
}
Token-based authentication with required prefix "Token"
Filter by department ID. Can be specified multiple times for multiple departments
Latest date (inclusive) for which to retrieve data. Defaults to six months ago
If true, includes all data of children entities in consolidation
Earliest date (inclusive) for which to retrieve data. Defaults to six months ago
The response is of type object
.