How AI Supports Bookkeeping Automation in Xero: A Practical Case Study
Explore a bookkeeping automation case study showing how AI supports Xero transaction review, receipt matching and missing-receipt requests with human approval.
Watch the YouTube video
Watch on YouTubeArticle Summary
- 01
One AI workspace built on Xero and Codex handled transaction review, receipt matching and missing-receipt requests, with each workflow following a written bookkeeping procedure.
- 02
In the July 2026 review run, the workspace assessed nine active Xero transactions, sent six to senior review and three to normal review, and left accounts blank where the evidence did not support a choice.
- 03
People still approved every accounting change, receipt attachment and client message, and the tests do not prove coding accuracy, time savings or performance on real client data.
Automation of bookkeeping is a means for accounting firms to put an end to repetitive tasks, be more consistent and single out transactions calling for a closer look. Yet the question is how much an AI assistant can be left to do before it encroaches on the decisions that should be made by those accountable for them.
This case study in bookkeeping automation looks at a prototype developed for an Australian practice based on Xero and Codex. The workspace was set up to handle three interrelated functions: the review of transaction coding, matching receipts with transactions and putting in requests for any documentation that is missing. While each workflow adhered to written procedure, the people in charge kept control of client communications, receipt attachments and any changes to the accounts.
In a recorded review run on July 2026 data, the system went through an export from Xero of 13 records and appraised the nine active ones. Six were put forward for senior review and three for normal. Other demonstrations covered receipt matching and the follow-up on missing receipts. All in all, the tests illustrate how an automated bookkeeping workflow can have work ready for review and at the same time make clear where there is uncertainty or a need for approval.
Why Bookkeeping Automation Matters for Accounting Firms
The practice that put together this prototype has the kind of problem that is common to firms as they expand: how to keep work consistent when the number of clients and the scope of staff duties are on the rise.
It is a team of 13 and two partners with an eye to growing to 18 staff and three partners. Some 55 per cent of its clients use Xero, and the total is expected to move from some 2,500 to between 3,200 and 3,500.
Inconsistent coding of transactions is the primary worry. Two bookkeepers might come across similar expenses and put them in different accounts. That means a senior reviewer has to put in the time to check routine entries and make sure the supporting papers are in order before reports can be relied on.
Then there are the missing receipts. Staff have to find the unbacked transactions, get in touch with the bookkeeper or client, wait to hear back and then pair the returned receipt to the right transaction. These are connected activities but are often done in isolation. A transaction needing further scrutiny may also be short on evidence and require a follow-up before it can be finalised.
An automated workflow can tie these steps together with the same information and procedures. The idea with the prototype was not to let the AI make independent accounting calls but to have it prepare the work, offer an explanation for its suggestions and pass uncertain matters on to the people concerned. This is the central idea behind bookkeeping workflow automation: preparing routine work consistently while keeping accounting decisions under human control.
How the AI Bookkeeping Automation Workspace Worked
The prototype is a mix of scripts, Codex and human reviewers with distinct roles.
- Scripts are for formatting and getting at the data. Utility scripts will access Xero, pull transactions for a given period and put together structured output for review.
- Codex is what makes sense of the documented procedures. It will read the bookkeeping SOP and the chart of accounts to come up with proposed coding and review classifications.
- But the authority to decide rests with the people. Reviewers can put their stamp of approval on actions affecting Xero or clients, or they can reject or amend a suggestion and ask for more detail.
- The workflow is built around a particular Xero organisation and reporting period. For a transaction review, it will take in the BankTransactions data from Xero: dates, payees, amounts, types, references, status, reconciliation flags, bank account, currency and so on.
- Keeping the retrieval of data, the AI reasoning and human approval apart is key. The system can build a review queue without every AI suggestion being taken as an order to alter the books.

An earlier version was keyword-driven. In a later revision, the logic was moved to the written bookkeeping procedure, with the script left to validate inputs and structure the report. This puts the procedure at the centre of the automation instead of having a set of unrelated keyword rules. For accounting process automation, this approach makes the documented procedure an important part of how the system handles each task.
Bookkeeping Automation Results: What the July 2026 Test Found
The July review run took an export from the Xero Demo Company of 13 bank transaction records for the week of 1-7 July.
Four were put aside, one voided, and three deleted. The nine active transactions were divided between two review routes.
| Result | Count |
|---|---|
| Records read | 13 |
| Active transactions assessed | 9 |
| Sent to senior review | 6 |
| Sent to normal review | 3 |
Taking both incoming and outgoing figures as positive amounts, the six items for senior review came to AUD 10,090.05 of the AUD 10,317.55 in the nine active transactions.

A CSV review sheet was put out by the system showing proposed accounts, confidence levels, review status and reasons for attachment, with separate fields for any human correction.
Which Transactions Needed Senior Review?
A wire transfer of AUD 4,500 to Ridgeway Savings & Loan was one of the six. Two unaccounted-for movements with Business Savings Bank were also in evidence, one of AUD 300 and another of AUD 97.05. In addition, there were three employee wage payments, amounting to AUD 5,193 in total.
The system would have any finance or loan work, payroll and transactions of an unclear nature escalated on that basis. It did not force an account to be selected in the case of the wire transfer or the other bank movements; it simply flagged the need for further information to establish whether the transfer was a loan, a repayment or of some other kind.
The Melrose Parking charge for AUD 148.50 and a Dick Smith expenditure of AUD 39.50 (and its credit) were among the three items given normal review. They were put aside for reconciliation, to confirm their business purpose or for a possible refund to be looked into.
What Did the Coding Suggestions Show?
Codex offered accounts for four of the transactions in its coding suggestions: the parking charge and the three wage payments. The latter were assigned to account 477 (Wages and Salaries) while the former went to 610 (Motor Vehicle Expenses). The other five active transactions had no account proposed but were accompanied by a written explanation for the reviewer.
None qualified as Safe; confidence was Low in five cases and Medium in four. While these results speak to the workflow's ability to record uncertainty and prioritise transactions, they are no guarantee of the account codes being right. With the human-decision fields on the saved review sheet left blank, coding accuracy cannot be calculated.
Xero Bookkeeping Automation Workflow 1: Transaction Review
The purpose of the initial workflow is to have a uniform review queue in order. As per procedure, Codex will verify the period and organisation, set aside records that are voided, deleted or out of period and examine the chart of accounts prior to any coding proposal. The sample chart contains 15 accounts with their risk levels; Wages, superannuation, tax and the Needs Human Review account are all deemed high risk.
There are three types of review under the procedure:
- Safe for routine items of low risk.
- Review for coding which is plausible yet calls for confirmation in context.
- Questionable when one needs to apply senior judgement or have more details.
A High, Medium or Low confidence rating is applied. Should the evidence be lacking to justify an account, the system will not put forward an unsupported recommendation and will leave the field empty. The formatter then puts the output into AI Suggestion and Human Review, with Questionable and lower confidence transactions taking precedence. In the human-review section, the reviewer has the final say on the corrected account, reviewer's notes, whether any bookkeeping rule should be altered, and whether supporting evidence is needed.
An accounting firm can use this to put some practical standardisation on the process so a senior accountant does not have to go through an unstructured list to see what demands their attention and why. This Xero transaction review is a case in point of how AI can make bookkeeping suggestions but let the professional have the last say.
But routing is not accuracy. A good test would be to see how often reviewers concur with the suggestion, how many times they alter the code and how much time is actually saved.
Workflow 2: Automated Receipt Matching in Xero
The point of receipt matching is to link supplier documents to the right Xero transactions but not to make the final call automatically. Codex will pull the supplier, date, invoice number, GST, item descriptions and so on from the receipts. A SHA-256 hash of the original file is stored so the file can be rechecked before any upload.
A matching component will score the Xero transactions by the weight of the evidence:
| Matching evidence | Weight |
|---|---|
| Exact amount | 35 |
| Supplier or contact similarity | 20 |
| Date within the window | 15 |
| Currency | 10 |
| Item description similarity | 10 |
| Reference similarity | 5 |
| No existing attachment | 5 |
An exact amount and currency are non-negotiable for a match. Anything scoring 85 or over is a Strong Match, 60 to under 85 is for Review, and the rest are No Match. There is a three-day date window and rules for escalating things like conflicting subtotals or GST, mismatched types or where the supplier evidence is thin. It is important to have these checks since two purchases can have the same total and yet be completely different. These controls form the basis of the prototype's automated receipt matching workflow.

What Did the Receipt-Matching Demonstration Establish?
In a May 2026 run with 15 authorised Xero Demo Company transactions, the researcher put down some notes on the demonstration. Four scenarios were observed:
- A strong match meant the receipt was fit for attachment.
- A conflict in the subtotal or tax would be escalated.
- An escalation was made for a receipt that bore the same figure as a transaction yet was an entirely different purchase.
- Where no credible match to a transaction could be found, a receipt was put down as No Match.
Per the notes on file, a reviewer gave their approval to one receipt, putting down a name and reason for doing so. The original PDF was then uploaded to the spend transaction in question, and a separate read verified the attachment. The notes also state that values for coding, reconciliation, contact, tax and payment were left as they were.
Such results are drawn from the researcher's notes and not from a full set of run records that have been independently inspected. They should be regarded as preliminary evidence at best and not as proof of dependable receipt matching in a production bookkeeping setting.
The prototype had checks in place to forestall duplicate attachments and to verify an upload once it was done. Prior to uploading, the process would reread the chosen transaction and recheck the hash, amount, supplier and whether the receipt was a duplicate. A distinct Xero read was called for after the fact to confirm the attachment. The system had no open-ended authority to alter Xero records; the principal control was that a reviewer had to sign off on the transaction and attachment.
Workflow 3: Automating Missing-Receipt Requests
Chasing up missing receipts is a matter of several minor tasks: spotting transactions with no evidence, deciding who to make the request of, composing the message and seeing that it is in order. Workflow 3 puts these together as Gmail drafts but leaves the choice of recipient and the act of sending to a human. This is the third part of the bookkeeping workflow automation prototype.
It goes through transactions in a set sequence. Anything voided or related to payroll or income, or where a receipt is already on hand, is passed over. Transactions with payees, banks or lenders that are not clear-cut, or which might be duplicates, are sent for clarification. A receipt request can be made for a plain supplier purchase.
Each draft has the date, payee, amount, currency and the reason for the request. The recipient field is left blank until an approved contact is provided. Priority is assigned by the workflow according to some configurable limits. The default is to mark any transaction of AUD 1,000 and up as High priority. Medium is given to clarifications and requests of AUD 100 or more, with the rest being Low. These are meant to be checked against what each client requires.
What Were the Recorded Email-Workflow Results?
As for the email-workflow results, the researcher has a record of a run on the same 13 July transactions.
| Outcome | Count | Examples |
|---|---|---|
| Draft receipt request | 2 | Melrose Parking, AUD 148.50; Dick Smith, AUD 39.50 |
| Clarify before requesting | 2 | Ridgeway Savings & Loan, AUD 4,500; Business Savings Bank |
| Skip | 9 | Payroll, income, voided and deleted records |
According to the notes, once the recipient information was put in, the workflow produced four Gmail drafts, all of them in DRAFT status. The other nine cases were set aside and were a mix of two incoming transactions, three for wages and four that had been voided or deleted.

It is a case in point for how bookkeeping automation can cull the easy stuff from what needs a closer look. But in the absence of the review CSV and Gmail audit in the project files under consideration, the findings are only as sound as the researcher has made them in their notes; the recipient mapping has not been completely tested.
Human Approval in AI Bookkeeping Automation
The three workflows operate on the premise that the AI does the prep work, but people make the decisions. In bookkeeping, this is a necessity since one is not just matching up numbers or recognising well-known descriptions. There could be a capital outlay, a loan being repaid or a refund, and these call for an accounting judgement and some understanding of the business. An AI may proffer a likely reason, but that is not sufficient to alter a financial record. Under this human-in-the-loop approach, the onus for any decision affecting the accounts is with the individual.
To this end, the prototype has been given a few controls:
- Transactions are judged by the written procedure.
- Any uncertainty over account selection is left open.
- Matters of high risk or ambiguity are put to one side.
- A human must record a decision and authorise receipt attachments.
- Verification reads come after uploads.
- Client messages are kept as drafts and not dispatched automatically.
These also serve to keep tasks consistent. The lender transfer was one such instance: it was escalated in the review queue and then routed to clarification in the email workflow. The system would have the bank-like payee looked into rather than being handled as another supplier.
For an accounting firm looking at AI bookkeeping automation, the point is not to dispense with human judgement but to put some structure on the routine preparation and let the professional decide. What matters with AI is how the workflow provides oversight and accords with what is already there.
Limitations and Next Steps in Bookkeeping Automation Research
While the demonstrations put the prototype in a good light, its fitness for ordinary client work has not been established, and there are deficiencies to be put right.
The sample of transactions was small. Of the 13 Demo Company records in the July review, only nine were active, and not one was Safe. That gives no indication of how the workflow will cope with the normal run of suppliers and recurring fees in larger numbers. Nor was coding accuracy gauged. The review sheet has its suggestions, but the fields for input were left blank. A follow-up ought to note what was put through or corrected and put it against the result.
There is no data to speak of on time saved, be it in fewer errors or more expeditious reporting to the client. A comparison with the manual way of doing things is called for.
Traceability is lacking in the receipt-matching evidence. The May run is in the notes, but there is no match report or audit to back it up in the project files. The July receipt was a test of the No Match path with synthetic material. The email workflow is in need of validation too. The researcher has four drafts noted, but the Gmail audit and review CSV are not in the files. There was a problem with a recipient address that should be looked at again.
In any event, the workflows have not been tried as one piece. They were presented in isolation over various months and from different saved states, so end-to-end performance over a complete period has not been established.
The next phase of research should see a larger, better-controlled pilot. One full reporting period ought to be run through with all the reviewer's outputs and decisions in one place. The objective is to get some numbers on coding agreement and exception rates and elapsed time and determine if the workflow can manage the routine without unnecessary escalation. Only with such testing can one make a strong case for the system's value and have a sound basis for judging finance workflow automation in an actual accounting setting.
Watch the Bookkeeping Automation Demonstration
For some additional context on the research, the accompanying video puts the workflow on display. Watch the matching video: Bookkeeping Automation Workflow Demonstration on YouTube. It is a complement to the written case study in showing the prototype at work. The results and limitations described here are drawn from the research report and its evidence.
Conclusion: A Practical Approach to Xero Bookkeeping Automation
Automation is of most use when it solves an operational problem of a defined kind, not in any attempt to do away with the accounting process altogether.
This prototype has shown how an AI workspace can be used with explicit approval controls and documented procedures to handle Xero transaction review, receipt matching and requests for missing receipts. In the July 2026 review it assessed nine active transactions, six of which went to senior review and three to normal. Other demonstrations covered the making of client follow-up drafts and receipt matching.
What the findings illustrate is an AI assistant putting information in order and preparing tasks for completion. They are not proof of better coding or dependable performance on live data. For Australian firms, the way forward is to put this to the test under controlled access and clear rules of approval to see where AI can add consistency and where the profession must retain control.
Get More Research on Finance Automation
For practical research on accounts payable, process improvement and AI-assisted finance workflows, there is more to come. Sign up for the Avi Santoso email list for future insights on building consistent finance operations.
The objective is to know what automation can be relied upon to improve and where it cannot, and to make better decisions on the basis of that.
Keep up with what I'm working on
I'll send you occasional emails about new articles, tools and offers that could help with your business.