Match ATO payment
match_ato_paymentMatch ATO payments or refunds to bank transactions and manage reconciliation: propose matches, confirm agreed rows, ignore proposals, or undo a match.
Instructions
Settle which bank row paid an ATO payment (or received an ATO refund). match_action: "find" proposes bank rows for every unmatched ATO payment and refund in the fund (same amount, within 5 days, PRN preferred; when no single row fits, several rows of one day or one unique combination that add up to it, e.g. seven BPAYs paid as one ATO payment); "confirm" accepts the proposed row(s), or the cash_transaction_id you give (the amount must be equal), or cash_transaction_ids for several rows that together add up exactly to the ATO line, marking both sides matched; "ignore" rejects the proposal; "unmatch" undoes a match or an ignore. Confirm only what the user has agreed or what you have checked against the bank statement.
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>",
"ato_account_id": "<ato_account_id>",
"match_action": "<match_action>"
},
"name": "match_ato_payment"
}
}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 | |
| 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. | |
| match_action | Yes | ||
| ato_account_id | Yes | ATO account ID (find via list_ato_accounts) | |
| ato_transaction_id | No | Alpha's id for the ATO payment or refund line (required except for find) | |
| cash_transaction_id | No | For confirm: the bank row, when it isn't the proposed one | |
| cash_transaction_ids | No | For confirm: several bank rows that together paid this ATO line (their amounts must add up to it) |