Read variance report
get_variance_reportMANAGEMENT data class. Read the existing budget-or-prior variance report for a month; it never recalculates it. Amounts are decimal strings; a null actual or variance means unavailable, never zero. Rows view has whole-report unfiltered rollups and no cross-side grand total; filters affect only rows and filtered grain counts. Explanations view withholds internal notes and may redact structured PII. Filter lines or centres before paging; the signed page_token is source-pinned, so restart at page 1 if source_changed.
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": {
"client_id": "<client_id>",
"period": "<period>"
},
"name": "get_variance_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Report rows (default) or safe explanations. | |
| basis | No | Comparator basis (default budget). | |
| period | Yes | Management month in YYYY-MM. | |
| client_id | Yes | The entity (client) id — from list_clients. | |
| page_size | No | Rows per source-pinned page (default 50, max 100). | |
| line_codes | No | Up to 25 P&L line codes. | |
| page_token | No | Signed continuation from the prior page; restart without it if source_changed. | |
| cost_centre_ids | No | Up to 25 cost-centre ids. |