Get account register
get-account-registerOne account's posted lines, oldest first, each with the balance it leaves and the entry and event behind it.
WHEN TO USE:
"Why is this account's balance what it is?": the lines that make it up
After
live-financial-statement(include_sources=true)names the accounts behind a figure: open one of them hereChecking what posted to an account in a month before closing it
PARAMETERS:
account_id (required): the chart account (element id)
start_date / end_date (optional, YYYY-MM-DD): the window, both inclusive; omit for the first or last line
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 tagsflow_element_id (optional): only the lines tagged to that cash flow or equity row
include_drafts (optional, default false): also return the window's draft lines, outside every balance
after (optional): the
next_cursorof the page beforelimit (optional, default 200): lines per page, 1 to 1000; anything else is refused
RETURNS:
account, the window, opening_balance, total_debits, total_credits, closing_balance, line_count, page_opening_balance and lines: each with its entry, posting date, memo, debit, credit, the balance after it, and the event that wrote it. Amounts are in dollars, in the account's natural sign. next_cursor is set while more lines follow. An income or expense account's opening counts from the fiscal year's start.
RELATED TOOLS:
live-financial-statement — the statement whose figure the account feeds
get-event-block — the event behind a line
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>"
},
"name": "get-account-register"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | The `next_cursor` of the page before. | |
| limit | No | ||
| end_date | No | Last day of the window, YYYY-MM-DD. Omit through the last line. | |
| entity_id | No | The entity whose books this acts on, by id (get-graph-info lists them). Omit for the group parent. | |
| account_id | Yes | The chart account (element id). | |
| start_date | No | First day of the window, YYYY-MM-DD. Omit from the first line. | |
| dimension_type | No | A management dimension axis, with dimension_member_id. | |
| include_drafts | No | ||
| flow_element_id | No | Only the lines tagged to this cash flow or equity row. | |
| dimension_member_id | No | The member whose lines to read, or `unallocated`. |