pivot_trial_balance_by_fs_group
Returns a trial balance pivoted by financial statement group, summing amounts per asset, liability, equity, revenue, and expense type for each requested period.
Instructions
PREFERRED for high-level financial summaries. Returns a trial balance pivoted by financial statement group — one row per financial statement type (Asset, Liability, Equity, Revenue, Expense) with amounts summed across all account groups of that type, for each requested period. All data is returned in a single response with NO pagination. Use this tool whenever the user asks about high-level financial position, total assets vs liabilities, or financial statement summaries. You must provide at least one periodId — use search_periods first to find period IDs if needed.
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": {
"collectionId": "<collectionId>",
"periodIds": "<periodIds>"
},
"name": "pivot_trial_balance_by_fs_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityIds | No | Optional. Scope results to specific entities. If omitted, all entities in the project are included. | |
| periodIds | Yes | One or more period IDs to include in the pivot. Required. Use search_periods to find period IDs. | |
| collectionId | Yes | The project ID | |
| fsGroupCodes | No | Optional. Filter to specific financial statement groups: a (asset), l (liability), q (equity), r (revenue), x (expense). | |
| interimPeriodId | No | Optional. Filter unadjusted balances and adjustments to a specific interim period. | |
| adjustmentTypeIds | No | Optional. Explicit list of adjustment type IDs to include. If omitted, all types except "passed" are included. Use list_adjustment_types to find valid IDs. |