Generate balance sheet
generate_balance_sheetGenerates a standard balance sheet for one chart as of one date: assets, liabilities, and equity by account with totals, and the Assets = Liabilities + Equity verdict. chart_id is required only when the workspace has more than one active chart; as_of_date is an inclusive cutoff, and omitting it means all posted activity; include_zero_accounts defaults to true. Amounts are summed as posted. completeness says what the books lack: a chart_exception (nothing posted since the data changed), open requests, notices. Read-only and not metered.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_id | No | Optional chart id. Required when the workspace has more than one active chart; may be omitted when exactly one exists. | |
| as_of_date | No | Optional inclusive cutoff date in YYYY-MM-DD format. Omitted means all posted activity. | |
| workspace_tag | Yes | Active workspace id (the workspace_tag create_workspace and list_workspaces return). | |
| include_zero_accounts | No | Include chart accounts with no posting activity. Defaults to true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assets | Yes | Asset rows. | |
| engine | Yes | Stamped engine build/version identity for the tool result. | |
| equity | Yes | Equity rows: ending equity without current earnings; those sit in net_income. | |
| status | Yes | balance_sheet_generated on success. | |
| balanced | Yes | True when total_assets equals total_liabilities plus total_equity. | |
| chart_id | Yes | The one chart this report covers. | |
| as_of_date | Yes | Inclusive cutoff; null means all posted activity. | |
| chart_name | Yes | The chart's name. | |
| net_income | Yes | Current earnings through the date, not yet closed to equity; included in total_equity — the standard Net Income row. | |
| liabilities | Yes | Liability rows. | |
| completeness | Yes | What these books lack. complete is true only with no chart_exception and no open request. A chart with an exception has posted nothing since the data changed, so the numbers predate it; open requests (list_review_items, level request) leave the books short or provisional; notices change nothing. | |
| total_assets | Yes | Sum of detail asset amounts. | |
| total_equity | Yes | Detail equity plus net_income. | |
| workspace_tag | Yes | Workspace scoped by the tool call. | |
| total_liabilities | Yes | Sum of detail liability amounts. |