What's still sitting uncoded in Xero? A Monday list with Grok Bot or Claude
Every Monday your AI reads Xero and lists the bank transactions parked in suspense, each with a plain question for the client. You send the questions and decide every coding.
How to get this live in your business
Every file has them: the hardware store payment nobody can place, the transfer from a name you don’t recognise, the direct debit with only a number on it. They get parked in suspense so the bank account reconciles, and then they sit there until someone remembers to ask the client. Grok Bot and Claude can both read Xero and hand you that list every Monday, with the question for each line already written.
In short
- What you get
- Every Monday, each bank transaction still coded to suspense or a catch-all account, with the total parked and one plain question per line for the client, saved as a file you add the answers to.
- Connecting
- Claude: Xero's own free connector, which only reads. Grok Bot: Xero's open-source server on a Xero connection that can only read.
- Your step
- You send the questions, decide the coding for every answer, and recode or reconcile in Xero yourself.
- Never
- It never codes, reconciles or changes anything in Xero, never contacts your client, and never says whether something is deductible.
Take the spec to Claude, ChatGPT or Copilot. The sentence to paste is one click away.
Want the whole thing by email?
This paper, plus the rest of the library. One click to stop them.
What's on the Monday list
An uncoded line is a bank transaction that can’t go to an account like Materials or Fuel until somebody says what it was. In Xero it usually gets reconciled to a Suspense account, or to a catch-all such as Ask My Accountant, to park it. The list is every transaction still parked there:
- One line per transaction, with the date, the bank account, the payee exactly as the bank printed it, and the amount.
- One question per line, written for the client: “$412.50 to EFTPOS HARDWARE 5678 on 3 Nov: what was it for?”
- Answered lines drop off. Type the client’s answer into the file and next Monday’s questions leave that line out. Lines you have recoded in Xero leave the list on their own.
Lines still waiting in Xero’s Reconcile tab are a different case. Xero has said it will not hand unreconciled bank feed lines to outside apps, so a connector built on its public API can’t list them. Park unknown lines in suspense as you go and they show up here; leave them in the feed and they stay with you in the Reconcile tab.
This is the light version, built for a bot. The full Uncoded Query standard is the version a practice runs across every client: one question list a month with a link to answer each line, reminders on your schedule, and the approved coding written back to the ledger once.
Connect Xero so your AI reads it and changes nothing
It finds the transactions parked in suspense and writes the question for each one. It reads your chart of accounts and your bank transactions through Xero’s own connectors, and picks out every line coded to a parking account. You decide the coding for every line, and every tax question the answers raise stays with you. Your own login stays yours: neither route needs your Xero password.
What each piece of access is for
- Xero’s connector for Claude: reads the chart of accounts and the bank transactions. Xero built it read-only: it can’t create, edit, approve, reconcile or pay anything.
- Xero’s open-source server, for Grok Bot: lists bank transactions with the account on every line, and reads the chart. The server also has tools that create and change records, so the Xero connection you make for it gets two read permissions only. Xero refuses anything else it tries.
The steps for each tool are under Build it below. The AI Pathway connector does not read bank transactions yet, so ChatGPT, Microsoft 365 and Google Workspace have no ready-made route for this recipe today.
Running a practice? Xero’s Claude connector signs in with your own Xero login and works on the organisation you choose. A custom connection is one organisation each, with its own fee, so for many client files Claude is the shorter road. More in our guides to Claude with Xero and Grok Bot with Xero.
Build it
Pick where you want to build it. Grok Bot, Claude and ChatGPT take a prompt; Microsoft 365 and Google Workspace run the same steps as a flow or a script. Each step can run somewhere different, and the steps stay the same wherever they run.
Build this in
Every step runs here. To run a step somewhere else, change it on that step below.
Connect, once
Grok Bot
- The Bot runs Xero's open-source server on its own cloud computer, signed in with a custom connection: a Xero login for one organisation that only an app uses. Xero charges a monthly fee for each custom connection, so check the current fee with Xero before you make one.
- At developer.xero.com, make a custom connection for the organisation. Tick only two permissions: bank transactions (read) and settings (read). Name the person who authorises it; Xero emails them to approve it.
- Copy the client ID and generate the client secret. Treat both like a password.
- Click + beside Bots to make a Bot, then paste the message below into its chat and click Add it. Enter the ID and secret in the secure secret cards, never in the chat. Then ask the Bot to name your bank accounts in Xero; if it lists them, you are connected.
Add a custom MCP server called Xero, started by the command npx with the arguments -y @xeroapi/xero-mcp-server@latest It needs three environment variables. XERO_CLIENT_ID and XERO_CLIENT_SECRET: ask me for each with a secure secret card, and do not ask me to type them in this chat. XERO_SCOPES: set it to accounting.banktransactions.read accounting.settings.read
The steps
Step 1 · Grok Bot
List what is parked, with a question for each line
Finds every bank transaction coded to Suspense or a catch-all account and writes one plain question per line for the client.
- Reads
- Xero: the chart of accounts and the bank transactions, by Xero transaction id
- Writes
- A dated list, uncoded-YYYY-MM-DD, with an empty answer column you fill in
- Never
- Create, change or delete anything in Xero, contact the client, or say whether something is deductible
In Grok Bot
Paste the prompt into the Bot's chat.
Use the Xero tools for [organisation name]. Read only: do not create, change or delete anything in Xero, and do not contact anyone. 1. Read the chart of accounts. Find the accounts this file uses to park transactions nobody has coded yet: Suspense, and anything named like Uncategorised, Ask My Accountant, Unknown or To Be Coded. Tell me which accounts you picked. On the first run, wait for me to confirm them. 2. Read the bank transactions (spend money and receive money) for every bank account, from [1 July 2026] to today. The tool may return one page at a time: keep asking for the next page until you reach transactions older than that date. Keep every transaction with at least one line coded to a parking account. 3. If your Xero tools also show bank feed lines still waiting to be reconciled, list them as a second group. If they do not, say so in one line rather than guessing. 4. For each transaction, write one question for the client, built the same way every time: the amount, who it went to or came from exactly as the bank printed it, the date, then "what was it for?". For example: "$412.50 to EFTPOS HARDWARE 5678 on 3 Nov: what was it for?" Never put an account name, a tax code, the word suspense, or anything about whether it is deductible in a question. 5. Save the list as uncoded-YYYY-MM-DD.csv with the date, bank account, payee as printed, amount, money in or out, parking account, Xero transaction ID, the question, and an empty answer column. If last week's file is there, carry over any answer I typed in it, leave answered lines out of the questions, and mark any line that has left the parking account as "coded since last run". 6. Give me the total parked, the number of lines, and the unanswered questions grouped by bank account, oldest first.
Schedule: When the result looks right, ask it to "save this as a skill called uncoded transactions, and create a routine that runs it every Monday at 8am Brisbane time."
Step 2 · You
Send the questions, then code what comes back
The list finds the lines and words the questions. What happens next is yours to run.
- Once a month, send each client the questions still open on the latest list, in one email. The questions ask what happened, so the client never sees an account code.
- Type each answer into the answer column, word for word. Answered lines stay off the next list of questions.
- Decide the account and tax code for every answer, and change the coding in Xero yourself. When an answer fits no account in the client's chart, you decide what to do, including whether to add one.
- Every tax question the answers raise is yours, and so is any follow-up with a client who has not replied.
- Lines still waiting in the Reconcile tab are yours to reconcile, with the coding you decided.
Let Claude Code set this up in Grok Bot for you
Paste the message below into Claude Code and it drives the Grok Bot app for you: it reads this page, saves the prompt as a skill, adds the routine and tests it before you rely on it. No clicking through the app.
Set up this Grok Bot recipe for me: https://aipathway.com.au/explore-ai/xero-uncoded-grok-bot-claude Read the page, then follow https://aipathway.com.au/explore-ai/grok-bot-claude-code to drive my Grok Bot desktop app: open it with the debugging port on, save the prompt as a skill called "uncoded transactions", create a routine that runs it every Monday at 8am Brisbane time, and test that it drafts and never sends. Never take a password or key in chat. Close the port when you're done.
Compare where it can run
| Where it runs | What you need | |
|---|---|---|
| Grok Bot | On its own cloud computer, laptop closed | A plan that includes Grok Bot, plus the AI Pathway key |
| Claude | On Anthropic's side, computer asleep or app closed | A paid Claude plan for scheduled tasks, plus the AI Pathway connector |
| ChatGPT | On OpenAI's side | ChatGPT Business or Enterprise, plus the AI Pathway connector |
| Microsoft 365 | In your own tenant, on an account the business owns | Your Microsoft 365 plan; calling the connector from a flow needs a premium Power Automate licence |
| Google Workspace | In your own Workspace, on an account the business owns | Your Google Workspace plan, plus the AI Pathway key |
Put the organisation’s name and the start date in the brackets. Check the first run against Xero’s Account Transactions report for your Suspense account over the same dates: the totals should match before you trust it on a Monday you are not watching.
Want the questions sent, the answers collected and the approved coding written back to Xero for you? That is the full Uncoded Query standard, and a scoped build with us if you would rather not build it yourself.
Questions
Can Grok Bot or Claude find uncoded transactions in Xero?
Yes, for transactions parked on a suspense or catch-all account. Claude reads them through Xero's own free connector, which only reads. Grok Bot reads them through Xero's open-source server, on a custom connection you give read permissions only. One prompt turns them into a Monday list with a question per line.
Can it see the lines still waiting in my Reconcile tab?
Not through Xero's public API: Xero has said it will not hand unreconciled bank feed lines to outside apps. The prompt asks your AI to say so rather than guess. Park unknown lines in suspense as you reconcile and they appear on the list.
Can the AI code the transactions for me?
Not in this recipe. It reads and writes the list, and you decide the account and tax code for every line and change it in Xero. The full Uncoded Query standard covers writing an approved coding back to the ledger, once, after a named person approves it.
Will the questions tell my client what is deductible?
No. Each question gives the amount, the payee as the bank printed it and the date, and asks what it was for. No account names, no tax codes, nothing about what is claimable. Tax questions the answers raise are yours.
Does the AI Pathway key do this?
Not today. The key reads invoices, supplier bills, the debtor book and the financial reports, but not bank transactions, so this recipe uses Xero's own connectors.
Grok Bot or Claude for this list?
Claude is the shorter setup: Xero's connector is free, needs no developer work, and Claude's scheduled tasks run on Anthropic's side with your computer off. Grok Bot needs a Xero custom connection, with a monthly Xero fee for each organisation. Pick Grok Bot if your business already runs on it.
Steps as each tool set them out on 23 November 2026. Menus move, so expect the odd label to differ.
Need a bot to do something?
Not sure where to start or how to do it? Contact us and we’ll help scope it and build it.
Building it properly, at scale? The rules are open. Take the full Uncoded Query standard.