pivot_adjustments_by_account
Analyze adjustment impact by account: returns per-account sums of adjustment line amounts and distinct adjustment counts for requested periods, only for accounts with activity.
Instructions
PREFERRED for analyzing adjustment impact by account. Returns one row per impacted account with the sum of adjustment line item amounts and count of distinct adjustments, for each requested period. Only accounts that have adjustment activity are included. All data is returned in a single response with NO pagination. Use this tool whenever the user asks which accounts were adjusted, or how much adjustment activity hit a particular account. 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_adjustments_by_account"
}
}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. Required. Use search_periods to find period IDs. | |
| accountIds | No | Optional. Filter to specific account 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 to a specific interim period. | |
| adjustmentStatus | No | Reserved for future use. | |
| 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. |