Parse trial balance
parse_trial_balanceFlatten a Xero trial balance payload into netted section balances (debit positive for assets/expenses, credit positive for revenue/liabilities/equity). Returns a dict keyed by section, mapping account name to balance.
Instructions
Flatten a Xero Reports/TrialBalance payload into netted section balances (debit positive for assets/expenses, credit positive for revenue/liabilities/equity). Returns a dict keyed by section, each mapping account name -> balance.
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": {
"report": "<report>"
},
"name": "parse_trial_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | A parsed Xero Reports/TrialBalance JSON payload. |