pivot_consolidation_by_account_group
Generates a consolidated trial balance by account group across selected entities, with totals and per-entity contributions in one response for cross-entity reporting and comparison.
Instructions
PREFERRED for multi-entity consolidated reporting. Returns a consolidated trial balance by account group — one row per account group with totals summed across all included entities, plus a per-entity breakdown showing each entity's contribution to the row totals. All data is returned in a single response with NO pagination. Use this tool whenever the user asks about consolidated balances, cross-entity totals, or needs to compare entities side by side at the account group level. 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_consolidation_by_account_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityIds | No | Optional. Scope to specific entities for consolidation. If omitted, all entities in the project are consolidated. | |
| periodIds | Yes | One or more period IDs to include. 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). | |
| accountGroupIds | No | Optional. Filter to specific account group IDs. | |
| 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. |