Report Standard Book
report_standard_bookThe trial balance and general ledger of one Standard Books document, derived from its journal entries: a book keeps its entries, and every balance follows from them. Supply the book by transfer handle (a sealed book package, a book body, or {book, annotations}), or a small one inline as book; it is authenticated when sealed and admitted under book law first. as_of (YYYY-MM-DD) is the day the trial balance is struck; the book's last day when absent.
The trial balance is inline, one row per account (and per register for a register's account), in minor units; the handle names it with the general ledger for the book's period to as_of: every account's opening, rows and closing. Nothing is changed and no model runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | No | A small book inline. Exclusive with handle. | |
| as_of | No | YYYY-MM-DD: the day the trial balance is struck and the general ledger ends. The book's last day when absent. | |
| handle | No | Workspace-scoped transfer handle (upload:N or download:N) naming the book: a sealed book package, a book body, or {book, annotations}. | |
| workspace_tag | Yes | Active workspace id (the workspace_tag create_workspace and list_workspaces return). Scopes the call and the handle it returns. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book | Yes | Which book: identity, chart_identity, name, reporting_currency and its counts. | |
| as_of | Yes | The day the trial balance is struck. | |
| engine | Yes | Stamped engine build/version identity for the tool result. | |
| handle | Yes | Multi-read download:N handle naming trialBalance and generalLedger as standard book reports. | |
| period | Yes | The general ledger's period: start (the book's first day) and end (as_of). | |
| status | Yes | reported. | |
| totals | Yes | debit and credit totals in minor units; they are equal. | |
| retained | Yes | Download descriptor for the reports. | |
| trial_balance | Yes | One row per account, and per register for a register's account: account, label, primary_account, debit, credit (minor units). | |
| workspace_tag | Yes | Workspace scoped by the tool call. |