reject_xero_pending_change
reject_xero_pending_changeRejects a change YOU (or another assistant on this account) have proposed to Xero, so it is discarded and never reaches Xero - nothing was ever sent, there is nothing to undo, and this cannot be reversed once called. It may reject ANY kind of change, including the payments and payroll changes that approve_xero_pending_change refuses (those need a person in Invio to APPROVE; rejecting sends nothing to Xero, so it is allowed here). Call this ONLY after the person using this account has clearly said, in their own words, to discard THIS specific change - never infer that from silence, from a change of topic, or from them simply not mentioning it again. Make sure they know what they are turning down first (call list_pending_changes if you do not already have its summary in this conversation), then call this with confirm: true. reason is optional context for why, if they gave one - Invio does not currently store or display it anywhere, so only mention it back to them in this conversation, never claim it was recorded. Rejecting in Invio's own Settings > AI connections > Xero screen remains available at all times and works exactly the same either way.
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": {
"pendingChangeId": "<pendingChangeId>",
"confirm": "<confirm>"
},
"name": "reject_xero_pending_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional - why this is being rejected, if the person gave a reason. Invio does not currently store or display this anywhere - mention it back to them in this conversation if useful, never claim it was recorded against the change. | |
| confirm | Yes | Must be true. Set this ONLY after the person using this account has explicitly said, in their own words, to approve (or reject) this specific change - never infer consent from context, and never pass true speculatively "to see what happens". Approving a payment or a payroll change is refused whatever this is set to: those need a person in Invio. | |
| pendingChangeId | Yes | The pendingChangeId of the row to act on - from list_pending_changes' own result, or the pendingChangeId a draft-creating tool (create_xero_invoice etc.) just returned. Never invent one. |