How do I start using AI in Tax? A brief journey through AI experimentation using a real example

đ§ Prefer to Listen?
Get the audio version of this article and stay informed without reading - perfect for multitasking or learning on the go.
Let me start with a confession: Iâm neither a pure tax technical expert nor a technology wizard. I sit somewhere in between, which, in practice, means I spend a lot of time thinking about what technology can do to help tax professionals.
After nearly 15 years in tax, and over a decade in technology-focused roles - Iâve enjoyed the benefits and felt the limitations of end-user, low/no code tools while in the weeds of bad data and complicated analytics. Most tools have provided real value over the period. The newest area of focus is AI - particularly the use of Large Language Models (LLMs). Iâve been exploring this area for a little while and Iâm excited!
So, how do you get started? I'm writing this deliberately as if I'm exploring using an LLM for the first time alongside you. I often find new technology goes through a period of gatekeeping and, with the rate of change in AI at the moment, we are all still figuring this out. Think of this as a first-time walkthrough designed to help you break those initial knowledge barriers that make AI feel intimidating or overly complex. I have tried to use some specific examples in this blog that highlight AIs ability to deal with the âgrey areasâ of tax.Â
Note: This blog isn't following a scientific methodology, and I'm not claiming that what we discover will work in your organization, nor am I offering you too much by way of scalability. This blog is for illustrative purposes only and does not constitute tax advice. Always validate outputs with appropriate human review. Â
Starting simple: One-shot prompting
Most of us ask a simple, typically single, question such as âHelp me come up with a recipe using chicken, rice and vegetablesâ. This is known as "one-shot" prompting when using tools like ChatGPT. It works fine for many tasks and can be genuinely helpful.
But how does this basic approach work with a tax categorization challenge? Let's start with a single transaction and see what happens. Here's my first attempt with a straightforward prompt to provide the UK employment tax treatment of an employee expense. I will use this example throughout for consistency, but it could easily be a corporate tax analysis of the legal and professional ledger, or the VAT analysis of a purchase invoice.Â
Why have I chosen this transaction? Because it was always one that classical rules - even those with keyword analysis - found difficult because it contains contradicting features (âteamâ and âclientâ) that needs interpretation.Â
My prompt:
I am unsure whether this transaction should be included in the UK PSA return. Please analyse it and give me an answer:Â
Vendor: Gourmet Burger Kitchen
Amount: ÂŁ175.00Â
Description: Team meal after client demoÂ
Category: MealsÂ
Location: London
AI response:
This ÂŁ175 team meal at Gourmet Burger Kitchen, held after a client demo, can be included in the UK PSA return if it meets HMRCâs criteria: the expense must be irregular, non-contractual, not part of the employeesâ salary, and not reimbursed as a business expense. As the meal was for staff (not client entertainment) and appears to be a one-off celebratory event, it qualifies as a minor, non-routine staff benefit. Provided it wasnât processed through payroll or previously taxed, it is appropriate for PSA inclusion.
Not bad! Maybe a bit verbose. Maybe missed some possible exemptions. How do we make it better?
How could an AI read tax information and respond?Â
Before we get into engineering techniques, it's worth understanding a bit about how these AI tools actually process our requests. This will be a basic overview to help you understand why some approaches work better than others.
In very simple terms, when you give an AI system your request (your "prompt"), it breaks down your text into key components called "tokens". This is mostly, but not always, a token per word. It maps each token to a number in its knowledge base. It then tries to map these tokens to patterns it learned during training to understand the prompt and predict the best possible response. What does this mean in practice?Â
For our tax analysis, this means the AI is looking for patterns like ârestaurantâ + âemployeeâ + âcelebrationâ = âpotential staff entertainmentâ or "hotelâ + âtraining courseâ = âallowable business expense" to provide what it thinks is the most correct answer. You will often hear the phrase, âitâs not intelligent, it just guesses the next characterâ which is a simplistic criticism of how AI uses patterns, but not wholly incorrect.
Why is it good to understand this? Because you can then write your prompts in a way that maximise the chances of picking up the right patterns.
Making your requests more effective
The process of improving and refining your prompts is called âprompt engineeringâ, and it is the easiest way to make a big difference to your results. There are many different best-practices on how to engineer your prompt - OpenAIâs summary and guide is here. Often, these are things you can copy and paste into each prompt for ease.
For this blog, I will focus on a couple:
Personas: Telling an AI to âThink-Like-a-Tax-Professionalâ
This doesnât quite mean your AI will sometimes act âhungoverâ on a Friday morning - that is still the preserve of the first year graduates (I think? Itâs been a while since I was a first year graduate). Using a âpersonaâ here means getting the AI to change how they approach a task based on how you ask them to behave. This can impact the answer you get.
Continuing with our example, you may ask your AI to take the following âpersonaâ: âYou are an experienced tax advisor reviewing expenses for PSA analysis. Maximise the use of assumptions that lead to non taxable resultsâ:
Result:
âAssuming the meal was a one-off, informal team gathering not part of any contractual obligation or salary sacrifice arrangement, and no clients attended, this expense likely qualifies as a trivial benefit or staff welfare. If not reimbursed through payroll and not part of a routine reward scheme, it is non-taxable and need not be included in the PSA return.â
How about a more cautious persona? âYou are an experienced HMRC inspector reviewing expenses for PSA analysis using HMRC guidance.â
Result:
Based on HMRC guidance, this ÂŁ175 team meal following a client demo is likely a taxable benefit. As it was not part of business duties, involved only staff, and exceeds the trivial benefit threshold, it should be included in the PSA returnâprovided it is irregular, non-contractual, and not processed through payroll. If regular or a reward, it may not qualify.
As you can see, the difference is significant. This suggests we can tune AI behavior to match an organisation's risk appetite just like we do with human reviewers. Alternatively, and perhaps more interestingly, we could use multiple personas to analyse a single transaction to identify where the analysis is open to interpretation. This would mean we understand where analysis is open to more risk which can then be quantified.Â
Hallucination: Preventing AI from making stuff up
One of the biggest concerns with AI is "hallucination". This is when it produces fabricated information with complete confidence. In tax work, this could be disastrous. Fortunately, there are techniques to reduce this risk.
There are a few ways you can do this:
Reference material: You can point AI towards specific guidance documents or websites to ground its analysis in actual tax law rather than general knowledge or build up the knowledge base by giving reference material. This helps ensure the AI is working from the same reference materials you would use.
Hard rules: You could also use very explicit rules minimising the amount the AI needs to contextualise a transaction. Using the above example, you may want the AI to always ask for the number of staff who attended before giving an answer. This could also apply to other tax questions e.g. always clarify the âship toâ location for international shipments. You can even combine your classical rules / code into the prompt, if you have it.Â
Think slowly: Analysis shows that LLMs can think better when asked to slow down.Â
Simplify: Instead of asking your LLM to give you the final tax answer, give it a smaller task such as summarising, contextualising or grouping the transaction. This then allows you to leave the tax analysis to other people, rulesets or software.
Format: You can clarify the output format you want to achieve. You can also clarify the format of any inputs, which reduces the risk of misinterpretation and/ or the wrong information being referenced.
Reasoning requirements: Instead of just asking for an answer, you can ask the AI to show its working. This is even more helpful when considering audit trails, etc. How could this look in practice:
Analyze this expense for PSA purposes and provide:Â
Summarise your understanding of the expense
Your recommendation (Taxable/Non Taxable/Uncertain)Â
Your reasoning based on UK tax lawÂ
What additional information would help confirm your analysisÂ
Your confidence level (High/Medium/Low)
Few-shot learning: Teaching with examples
The basic one-shot prompt can deliver improved analysis using some of the techniques above. Another way is called "few-shot" learning which means giving the AI a âfewâ examples of good analysis to guide its future responses.Â
If you are facing a large data task today, you could start adding labelled batches of good (and bad) results to your prompt when you have an analysis youâre happy with.Â
This could also be helpful if, for example, you have specific tax positions or if you have a library of scenarios you want an AI model to leverage.
Conclusion
Thereâs an enormous amount of information around AI at the moment and it can become complicated quite quickly. For those of you who havenât yet looked at AI or wanted to but didnât know where to start, I hope this has been useful. I encourage those who havenât experimented with AI to do so (safely) to see what it can do to help you in your day to day.Â
If I was sitting next to you exploring this for the first time then this would probably be the point we get a coffee and start brainstorming what other things AI could help with.Â
There are a number of areas to continue exploring how AI could integrate and support your tax workflows, processes - including Agents, APIs and GPTs. Something for a later blogâŚ


Luxury Trust Automobil ECJ Case: Intra-Community Triangular Transactions and VAT Rules
đ June 18, 2025
How Registration Threshold Changes Impact Businesses | VAT, GST & Sales Tax Compliance
đ May 30, 2025
Key Factors to Consider When Outsourcing Indirect Tax Compliance in the Digital Economy
đ May 22, 2025More News from World
Get real-time updates and developments from around the world, keeping you informed and prepared.