Get trial balance
get-trial-balanceOne entity's trial balance from the live ledger: each account's posted debits, credits and net over a window.
WHEN TO USE:
Month-end review: does the ledger foot, and what does each account carry at the month's end?
Checking a balance against a bank statement or the source system before reconciling
One department's or project's figures:
dimension_typewithdimension_member_id
PARAMETERS:
start_date / end_date (optional, YYYY-MM-DD): the posting window, both inclusive; omit the start for inception to date
entity_id (optional): omit for the group parent
dimension_type + dimension_member_id (optional, together): only the lines that carry that member;
unallocatedfor the lines no member of the axis tags
RETURNS:
rows: each account's account_id, account_code, account_name, trait, account_type, total_debits, total_credits and net_balance (debit-positive), with total_debits and total_credits for the whole. Amounts are in dollars; only posted entries count. sliced is true for a dimension slice, which need not foot.
RELATED TOOLS:
get-mapped-trial-balance — the same balances rolled up to reporting concepts
get-account-register — the lines behind one account's balance
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get-trial-balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | YYYY-MM-DD. | |
| entity_id | No | The entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent. | |
| start_date | No | YYYY-MM-DD. | |
| dimension_type | No | A management dimension axis, with dimension_member_id. | |
| dimension_member_id | No | The member whose lines to sum, or `unallocated`. |