Link a typed balance item to an ATO account
link_balance_item_to_atoLinks a typed balance item to its ATO account and bucket so position matching uses that link rather than the label; set account ID null to unlink.
Instructions
Tie one typed balance item to the ATO account + bucket it stands for, so use_ato_position supersedes it by that link instead of by its label (use when the label doesn't say, or two lines look alike). ato_bucket: "owed" (the account's balance — the ICA, or earlier years' income tax), or for the activity statement "accrued_gst", "accrued_payg_instalment" or another accrued_. Pass ato_account_id: null to unlink. It doesn't change the amount or stop the line counting — run use_ato_position for that. Rejected if the year is closed or lodged.
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": {
"fund_id": "<fund_id>",
"financial_year": "<financial_year>",
"balance_item_id": "<balance_item_id>",
"ato_account_id": "<ato_account_id>"
},
"name": "link_balance_item_to_ato"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fund_id | Yes | Fund ID (discover via whoami or list_funds) | |
| reasoning | No | Why you are making this change — recorded on the audit log entry for this write | |
| ato_bucket | No | Bucket: "owed" (default), "accrued_gst", "accrued_payg_instalment" … | |
| external_ref | No | Your stable ID for this write (e.g. a statement line or document reference). Repeating a call with the same external_ref replays the first result instead of writing twice. | |
| ato_account_id | Yes | The ATO account (list_ato_accounts), or null to unlink | |
| financial_year | Yes | Financial year — the label "2023-24" or its numeric id (from list_financial_years) | |
| balance_item_id | Yes | Balance item ID (from list_balance_items) |