Home
Explore
Guides

Country Tax Guides

All Guides Europe Americas Asia-Pacific Africa

VAT for Beginners

Indirect Tax 101
Tools
VAT Calculator GST Calculator Sales Tax Calculator VAT Number Check
Events Authors EN

Overviews

Court Decisions Expert Insights 🔊CJEU Podcast

Tax Updates

All News Europe Americas Asia-Pacific Africa

Topics

e-Invoicing Digital VAT Registration Tax Compliance and Reporting Tax Rates Nexus Tax Schemes Crypto Cross-Border Supply Customs ViDA Tax Returns

Indirect Taxes

VAT GST Sales and Service Tax Consumption tax PST Sales and Use Tax Digital Service Tax Excise Duty Japanese Consumption Tax

Other Taxes

Direct Taxes
Home
Learn About Tax
Tax News Tax Insights & Analyses Tax Guides Court of Justice of the European Union VAT for Beginners
Tools
VAT Calculator GST Calculator Sales Tax Calculator VAT Number Checker
Events Authors EN
World
World

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

July 15, 2025
How do I start using AI in Tax? A brief journey through AI experimentation using a real example
Featured VAT Advisors

🎧 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: 

  1. Summarise your understanding of the expense

  2. Your recommendation (Taxable/Non Taxable/Uncertain) 

  3. Your reasoning based on UK tax law 

  4. What additional information would help confirm your analysis 

  5. 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…

How can AI help with tax categorization?
AI can assist in tax categorization by analyzing transactions, identifying patterns, and providing suggestions based on tax law, improving efficiency in managing complex tax scenarios.
What is "one-shot" prompting in AI?
One-shot prompting involves asking AI a single, straightforward question to receive an immediate response. It is useful for tasks that require quick, general answers, like tax categorization of a single transaction.
How does prompt engineering improve AI results in tax tasks?
Prompt engineering allows you to refine AI requests to align with specific needs, such as instructing the AI to take on a "tax professional" persona, enhancing accuracy and relevance in responses.
What is the role of "personas" in AI tax analysis?
By instructing AI to adopt specific personas, like a tax advisor or HMRC inspector, you can tailor its responses based on different risk appetites and perspectives, leading to more nuanced analysis.
How can AI avoid "hallucination" in tax analysis?
To prevent AI from fabricating information, provide reference materials, hard rules, and detailed input formats, ensuring AI stays grounded in accurate, tax-specific guidelines and laws.
What is "few-shot" learning in AI for tax work?
Few-shot learning involves providing AI with a few labeled examples to guide its future responses, helping improve accuracy in tax analysis over time, especially for large data sets or complex cases.
World
Technology
Digital

I love solving problems and building great solutions. I draw on a deep tax foundation built through professional qualifications, consultancy roles and an in-house leadership at a global FTSE 100 company. Robert John

Featured Insights

VAT and the June 2025 Ruling: What Energy Users Need to Know

VAT and the June 2025 Ruling: What Energy Users Need to Know

🕝 June 26, 2025

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, 2025

More News from World

Get real-time updates and developments from around the world, keeping you informed and prepared.

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

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

July 15, 2025
15 minutes
How to Avoid VAT Penalty Risks for Overstated Reimbursement Claims
World

How to Avoid VAT Penalty Risks for Overstated Reimbursement Claims

July 1, 2025
17 minutes
VAT Compliance: The Top Companies for 5 Essential Needs
World

VAT Compliance: The Top Companies for 5 Essential Needs

June 19, 2025
10 minutes
The Rise of Green VAT/GST: Impact of Environmental Taxes on Indirect Tax Systems
World

The Rise of Green VAT/GST: Impact of Environmental Taxes on Indirect Tax Systems

June 12, 2025
7 minutes
How to Fix Common Reasons for VAT Number Validation Failures
World

How to Fix Common Reasons for VAT Number Validation Failures

June 10, 2025
14 minutes
Tax Data Lakes & AI: The New Era of Tax Compliance and Transformation
World

Tax Data Lakes & AI: The New Era of Tax Compliance and Transformation

June 4, 2025
5 minutes
How Registration Threshold Changes Impact Businesses | VAT, GST & Sales Tax Compliance
World

How Registration Threshold Changes Impact Businesses | VAT, GST & Sales Tax Compliance

May 30, 2025
9 minutes
How to Use Voluntary Disclosure (VDA) for Tax Compliance
World

How to Use Voluntary Disclosure (VDA) for Tax Compliance

May 28, 2025
14 minutes
Key Factors to Consider When Outsourcing Indirect Tax Compliance in the Digital Economy
World

Key Factors to Consider When Outsourcing Indirect Tax Compliance in the Digital Economy

May 22, 2025
9 minutes
Excise Duties: How Alcohol Taxes Impact Your Business
World

Excise Duties: How Alcohol Taxes Impact Your Business

May 19, 2025
10:21
Taxability Rules for Online Courses & E-Learning Platforms: VAT, GST, and Sales Tax Explained
World

Taxability Rules for Online Courses & E-Learning Platforms: VAT, GST, and Sales Tax Explained

May 16, 2025
9
Clarifying VAT Place of Supply Rules for Non-EU Roaming Services: SK Telecom Case
Europe

Clarifying VAT Place of Supply Rules for Non-EU Roaming Services: SK Telecom Case

May 14, 2025
14 minutes
How to Apply Reverse Charge VAT for SaaS Companies
World

How to Apply Reverse Charge VAT for SaaS Companies

May 6, 2025
15 minutes
Tariffs as Indirect Taxes: How Incoterms & Strategies Impact International Trade
World

Tariffs as Indirect Taxes: How Incoterms & Strategies Impact International Trade

April 17, 2025
8 minutes
VAT Considerations for Digital Assets: Cryptocurrency, NFT, In-Game Purchases
World

VAT Considerations for Digital Assets: Cryptocurrency, NFT, In-Game Purchases

April 10, 2025
10 minutes
Digital Transformation & VAT Compliance: Strategies for Success in the Digital Age
World

Digital Transformation & VAT Compliance: Strategies for Success in the Digital Age

April 4, 2025
9 minutes
Digital Economy Taxation: Risk Assessment Framework for International Businesses
World

Digital Economy Taxation: Risk Assessment Framework for International Businesses

April 4, 2025
10 minutes
VAT Implications for Online Creators & Influencers | Global Tax Guide 2025
World

VAT Implications for Online Creators & Influencers | Global Tax Guide 2025

April 3, 2025
12 minutes
Difference Between Direct and Indirect Taxes Explained for Businesses and Consumers
World

Difference Between Direct and Indirect Taxes Explained for Businesses and Consumers

March 27, 2025
8 minutes
Taxability Rules for Gig Economy: VAT & GST Implications for Ride-Sharing Platforms
World

Taxability Rules for Gig Economy: VAT & GST Implications for Ride-Sharing Platforms

March 20, 2025
12 minutes
The Power of Secure Data Sharing in Multi-Jurisdictional Tax Compliance
World

The Power of Secure Data Sharing in Multi-Jurisdictional Tax Compliance

March 3, 2025
7 minutes
Digital Economy Taxation: VAT/GST on Digital Services vs. DST Explained
World

Digital Economy Taxation: VAT/GST on Digital Services vs. DST Explained

February 27, 2025
10 minutes
Global Anti-Base Erosion (GloBE) Model Rules Explained | Pillar Two Guide
World

Global Anti-Base Erosion (GloBE) Model Rules Explained | Pillar Two Guide

January 31, 2025
8 minutes
A Complete Guide to VAT Registration and Compliance
World

A Complete Guide to VAT Registration and Compliance

January 15, 2025
4 minutes
When to Register for VAT and How to Become VAT Registered
World

When to Register for VAT and How to Become VAT Registered

January 15, 2025
3 minutes
The Rise of Automated VAT Returns: Key Opportunities and Limitations
World

The Rise of Automated VAT Returns: Key Opportunities and Limitations

January 10, 2025
8 minutes
Backdated VAT Registration: Causes, Consequences, and Compliance Tips
World

Backdated VAT Registration: Causes, Consequences, and Compliance Tips

January 9, 2025
10 minutes
Simplify GST Compliance: A Guide to GST Number Check
World

Simplify GST Compliance: A Guide to GST Number Check

December 20, 2024
3 minutes
How to Find VAT Number and Verify Its Validity
World

How to Find VAT Number and Verify Its Validity

December 16, 2024
5 minutes
OECD Report 2024: Key Global Trends in VAT, GST, and E-Invoicing
World

OECD Report 2024: Key Global Trends in VAT, GST, and E-Invoicing

December 14, 2024
3 minutes
Understanding E-Invoicing and Its Benefits
World

Understanding E-Invoicing and Its Benefits

December 12, 2024
5 minutes
Understanding VAT Thresholds: What You Need to Know
World

Understanding VAT Thresholds: What You Need to Know

December 11, 2024
4 minutes
Understanding the Flat Rate VAT Scheme: A Simplified Taxation Method
World

Understanding the Flat Rate VAT Scheme: A Simplified Taxation Method

December 11, 2024
4 minutes
A Comprehensive Guide to Import VAT and VAT Submission
World

A Comprehensive Guide to Import VAT and VAT Submission

December 9, 2024
6 minutes
VAT Deregistration Guide: Thresholds, Forms, and Process Explained
World

VAT Deregistration Guide: Thresholds, Forms, and Process Explained

December 10, 2024
6 minutes
2025 VAT Rate Increases: Slovakia, Israel, Estonia & More
World

2025 VAT Rate Increases: Slovakia, Israel, Estonia & More

December 1, 2024
3 minutes
OECD Tax Policy Reforms 2024: Key VAT Changes and Global Trends
World

OECD Tax Policy Reforms 2024: Key VAT Changes and Global Trends

October 11, 2024
3 minutes
Key Challenges in eInvoicing Implementation and Proven Solutions for Compliance Success
World

Key Challenges in eInvoicing Implementation and Proven Solutions for Compliance Success

September 27, 2024
10 minutes
VAT Compliance for Charging Infrastructure: What Energy Companies Need to Know
World

VAT Compliance for Charging Infrastructure: What Energy Companies Need to Know

September 11, 2024
10 minutes
Software as a Service – Concept and Tax Treatment from the Global Perspective
World

Software as a Service – Concept and Tax Treatment from the Global Perspective

July 19, 2024
10 minutes
OSS Schemes -Practical Guide for Non-EU based Suppliers
World

OSS Schemes -Practical Guide for Non-EU based Suppliers

July 8, 2024
10 minutes
Incoterms In a Nutshell: A Quick Guide on Rules and Indirect Tax
World

Incoterms In a Nutshell: A Quick Guide on Rules and Indirect Tax

June 3, 2024
2 minutes
Changing VAT Rates. How to Stay Compliant?
World

Changing VAT Rates. How to Stay Compliant?

May 6, 2024
2 minutes
What should Zalando sellers know about VAT?
World

What should Zalando sellers know about VAT?

May 20, 2024
2 minutes
VAT Registration - Basics and Tips
World

VAT Registration - Basics and Tips

April 25, 2024
5 minutes
Navigating VAT on Call-Off Stock for Amazon Sellers: A Comprehensive Guide
World

Navigating VAT on Call-Off Stock for Amazon Sellers: A Comprehensive Guide

July 15, 2024
4 minutes
Mastering VAT Calculation: A Comprehensive Guide
World

Mastering VAT Calculation: A Comprehensive Guide

April 24, 2024
6 minutes
Introduction to the Concept of Electronic Invoicing
World

Introduction to the Concept of Electronic Invoicing

April 17, 2024
3 minutes
Input vs Output VAT
World

Input vs Output VAT

April 15, 2024
3 minutes

Stay Ahead of VAT Changes

Don’t miss out on crucial VAT developments that could impact your business or practice. 

Thanks for subscribing!
You can unsubscribe at any time.
VAT News Insights & Analyses Tax Guides Events About us Sponsors Authors Become a Contributor
Privacy policy
EU Tax Reform VAT News in Europe VAT for Digital Platforms Sales Tax GST ECJ Cases E-Invoicing
hello@vatabout.com