CA India Logo

CA V MANMOHAN

ResearchMar 6, 2026

Building a Hallucination-Free GST Subject Matter Expert

A strategic guide by CA V Manmohan to eliminating AI risks in tax law using custom, anchored AI models (GEMs).

Custom AI (Gemini Gems)
AIGSTCase Study

The Risk: AI Hallucinations

Generic AI poses a massive liability for CAs because it frequently hallucinates non-existent tax codes, dates, and case laws, confidently presenting them as absolute facts. Relying on this without a framework is dangerous for tax professionals.

The Solution: GEMS

The GEM approach anchors the AI in verified, accurate frameworks. Gems are custom, personalized versions of AI (like Gemini Gems, Custom GPTs, or Claude Projects) built to act as specialized experts with locked-down knowledge bases.

The Instruction System

To eliminate tax hallucinations, the setup must rely on incredibly strict Instructions and a tightly controlled Knowledge Base. Here is the 6-step prompt design architecture.

Step 1

Authoritative Persona & Boundaries

The Design: Skips pleasantries, delivers direct answers like a seasoned tax lawyer. Assumes every query is strictly related to Indian GST.

Achieves: Rejects out-of-scope non-finance queries instantly.

Step 2

Anchoring the Source of Truth

The Design: Tethered to highly curated docs (Bare Acts, ICAI Handbooks, Case Laws).

Achieves: Replaces AI guessing with verified legal text; foundational defense against hallucinations.

Step 3

3-Phase Verification Engine

  • 1. Extraction: Queries uploaded docs for framework.
  • 2. Live Verification: Web search on cbic.gov.in for volatile data.
  • 3. Synthesis: Prioritizes live law, flags updates with [Statutory Update].
Step 4

Rigorous Structuring & Citations

The Design: Mandatory bolding of Sections/Rules. "Micro-Citations" at the end of every paragraph detailing exact doc/page/section.

Achieves: Highly scannable, source-backed data that is instantly auditable.

Step 5

Context-Specific Execution

The Design: Adapts based on query type:

  • Litigation: Chronological notice replies.
  • Tax Planning: Maximizes ITC, Markdown tables.
  • Quantitative: Chronological math breakdowns.
Step 6

Final Audit & Engagement

The Design: Forces a "Statutory Status & Live Verification Report" before concluding, plus 5 highly relevant follow-up questions.

Achieves: Internal compliance check and deeper investigation.

Platform Setup Guide

A visual 8-step guide to configuring your AI workspace.

1

Access Gemini

Go to gemini.google.com on your web browser and sign in.

Access Gemini
2

Open Gem Manager

Look for the Gem manager icon (it looks like a jewel) in the left-hand sidebar and click it.

Open Gem Manager
3

Create New

Click the New Gem button to start creating your custom AI assistant.

Create New Gem
4

Name the Gem

Give it a clear, descriptive title like "GST SUBJECT MATTER EXPERT" and a brief description.

Name the Gem
5

Write Instructions

This is the most crucial step. Be incredibly specific about its role, the formatting you expect, and how it should interact with you.

Note: Refer to Instructions.docx in the resources section.
Write Instructions
6

Add Knowledge

Upload reference files, style guides, or link relevant Google Workspace documents (e.g., ICAI GST materials).

Upload Knowledge
7

Test and Save

Use the preview area on the right to chat with your Gem and ensure it behaves as expected. Once you're happy, click Save.

Test and Save

Final Interface

Our GST SME IS READY! You can now start using the customized AI for professional tasks.

Final Interface

User Manual

Structuring your prompts using specific templates manually triggers the AI's most powerful, specialized sub-routines.

The Golden Rule for Every Prompt

Before diving into specific scenarios, always include these three critical variables to perfectly calibrate the Time/Place of Supply and Valuation Rules:

1. Exact Date
2. State(s) Involved
3. Related/Unrelated

1. Notice Replies & Litigation

Triggers Rule 3: Legal Defense & Case Structure.

// Structure
Context: [Business type]
Issue: [Section invoked, allegation]
Demand: [Amount]
Ask: "Draft a legal defense strategy"

"Context: I am an IT exporter. Issue: Received an SCN under Section 73 alleging zero-rated supply without LUT. Demand: 12 Lakh IGST. Ask: Provide a para-wise legal defense."

2. Tax Planning & Structuring

Triggers Rule 4: Tax Planning (Transaction deconstruction).

// Structure
Context: [Entities, relationships]
Transaction: [Proposed move]
Ask: "Structure this to optimize ITC"

"Context: Real estate developer entering a Joint Development Agreement... Ask: Structure this transaction to legally minimize blocked ITC under Section 17(5)."

3. Quantitative Computations

Triggers Rule 7: Calculation Engine.

// Structure
Context: [Scenario description]
Values: [Base amounts, dates, ITC]
Ask: "Calculate exact financial exposure"

"Context: Claimed 5 Lakhs ineligible ITC in Jan 2025 and reversed today. Ask: Calculate exact interest liability under Sec 50(3) up to today."

4. Procedural Workflows

"Task: File revocation of cancelled GST. Entity: Pvt Ltd. Ask: Give me the document checklist and exact click-by-click portal navigation."

5. Ambiguous Scenarios

"Scenario: Sending 20L scrap metal to job worker out of state, they will sell directly. Ask: What are my compliance requirements?"

Project Resources

Download the specific prompt files, manuals, and verified case studies associated with this project.

Share this Article

Value Your Opinion

Insightful discussions lead to better solutions. I'd love to hear your thoughts, questions, or feedback.

Share Your Thoughts