AI-Powered Lease Accounting Intelligence Platform — Integrated Business & Technical Narrative
Author : CA Soumya Anurag Choudhury
Author : CA Soumya Anurag Choudhury
Lease accounting under Ind AS 116 is one of the most technically complex, operationally intensive, and judgment-driven areas within enterprise finance. Organizations managing lease portfolios often struggle with fragmented documentation, manual interpretation of legal contracts, spreadsheet-based amortisation models, repetitive journal entries, audit memo preparation, and inconsistent accounting treatment.
The AI-Powered Lease Accounting Intelligence Platform addresses this challenge by transforming unstructured lease agreements into audit-ready accounting intelligence through a hybrid architecture combining Artificial Intelligence, cloud-native engineering, deterministic accounting computation, and policy-grounded technical reasoning.
The platform is designed not merely as a document extraction tool, but as an enterprise finance intelligence orchestration layer.
Its purpose is to reduce operational inefficiency, improve accounting consistency, strengthen governance, and accelerate financial reporting.
Traditional lease accounting workflows present multiple business and technical pain points.
| Business Challenge | Operational Impact |
| Manual contract review | Significant time consumption |
| Interpretation dependency | Inconsistent accounting conclusions |
| Spreadsheet amortisation models | Formula and control risk |
| Manual journal preparation | Repetitive operational effort |
| Audit memo drafting | High senior resource dependency |
| Fragmented document storage | Governance and retrieval risk |
Lease agreements are legal documents, not structured accounting datasets.
Finance teams must manually interpret clauses, determine exemption applicability, assess lease terms, identify discounting requirements, compute lease liabilities, and document accounting conclusions.
This introduces:
The central problem becomes:
How can unstructured lease contracts be transformed into technically grounded, deterministic, scalable, audit-ready accounting outputs?
The application solves this through a hybrid intelligence model.
Rather than relying solely on OCR, generic AI, or spreadsheet automation, the platform separates responsibilities across specialized architecture layers.
| Capability | Technology Role |
| Document understanding | Google Document AI |
| Accounting reasoning | Gemini LLM + Knowledge Grounding |
| Financial computation | Python deterministic engine |
| Workflow orchestration | Node.js / Express / TypeScript |
| User interaction | React Frontend |
| Data persistence | Firestore + GCS |
Core design philosophy:
AI interprets ambiguity. Knowledge grounding enforces accounting policy. Deterministic engines perform auditable computation.
The application begins with Firebase Authentication integrated with Google OAuth.
Users authenticate securely without the platform handling raw credentials.
Technical controls:
Business outcome:
Secure user segregation and enterprise access control.
Lease contracts are often 20–100+ page scanned PDFs.
Uploading these through conventional backend APIs would create bottlenecks.
The application therefore uses a signed upload architecture.
Workflow:
Benefits:
Technical principle:
Direct-to-object-storage upload architecture.
The platform intentionally separates structured data from binary document storage.
| Storage Layer | Purpose |
| Google Cloud Storage | Original PDFs, scanned contracts, binary files |
| Firestore | Metadata, extracted variables, accounting outputs, workflow states |
This polyglot persistence model improves scalability and architectural clarity.
Simple analogy:
GCS = secure document vault
Firestore = application accounting ledger
Once uploaded, documents enter the extraction pipeline.
Two processing modes are supported.
Gemini multimodal directly interprets uploaded document binaries.
Use case:
Rapid extraction workflows.
Google Document AI performs:
Engineering enhancement:
Large contracts are automatically chunked into 15-page segments using pdf-lib.
Backend sequentially processes chunks and stitches results.
Frontend receives NDJSON progress updates.
Business outcome:
Scalable handling of enterprise-scale scanned lease portfolios.
Gemini acts as the reasoning engine.
LLM responsibilities:
Important boundary:
LLMs are probabilistic.
They are unsuitable for deterministic financial mathematics.
Hence, AI is intentionally isolated from accounting computation.
The application does not rely on generic LLM memory.
It uses context injection grounding.
Concept:
At runtime, Gemini receives:
This improves reliability and reduces hallucination.
If a lease says:
11-month office agreement
AI evaluates:
Does short-term lease exemption apply?
If contract includes refundable deposit:
AI evaluates:
Does Ind AS 109 discounting apply?
Thus the Knowledge Base participates before deterministic computation.
This is policy-aware accounting assumption resolution.
Once assumptions are resolved, deterministic finance processing begins.
Role:
Commercial finance normalization.
Functions:
Example:
Contract:
₹25 lakh monthly rent
5% annual escalation
61-day rent free
leaseMath converts this into structured economic schedules.
Role:
Workflow orchestration bridge.
Responsibilities:
This is the deterministic finance core.
Computes:
Architectural principle:
AI interprets. Python computes.
This ensures reproducibility, auditability, and accounting precision.
Design principles:
Backend responsibilities:
Representative services:
/api/upload-url
/api/start-ocr
/api/document
/api/lease/interpret
/api/generate-memo
/api/technical-assistant
This creates clean service abstraction.
| Cloud Service | Role |
| Cloud Run | Backend hosting |
| GCS | document storage |
| Document AI | OCR |
| Gemini | AI reasoning |
| Firestore | structured data |
| Firebase Auth | identity |
| IAM | access governance |
| Cloud Logging | observability |
Architecture characteristics:
Inputs:
Gemini produces audit-ready accounting position papers.
This reduces manual technical drafting effort.
Provides conversational advisory support.
Uses:
This improves explainability for finance teams.
| Capability | Impact |
| AI extraction | reduced manual review time |
| grounded reasoning | consistent accounting treatment |
| deterministic engine | reduced spreadsheet risk |
| memo automation | reduced senior dependency |
| cloud architecture | scalable enterprise operations |
| assistant support | faster technical resolution |
Expected benefits:
Scalability features:
Enterprise readiness characteristics:
This platform transforms lease accounting from a fragmented, manual, spreadsheet-driven workflow into a policy-aware finance intelligence architecture.
It combines:
Final architectural principle:
Document AI understands the contract. Knowledge grounding applies accounting policy. TypeScript structures finance economics. Python computes deterministically. AI explains the outcome.
Application Dashboard
ARUL KUMAR RENT AGREEMENT IS LESS THAN 12 MONTHS HENCE DOES NOT QUALIFY FOR LEASE UNDER 116. HENCE IN EXEMPT CATEGORY
ABC LLP (LESSOR) AND XYZ (LESSEE) : YEAR ON YEAR ROU AND LEASE LIABILITY OVERVIEW
YEAR ON YEAR AMORTIZATION SCHEDULE
PERIOD JOURNAL ENTRIES ALONG WITH INITIAL RECOGNITION
TECHNICAL ACCOUNTING ASSISTANT
KNOWLEDGE BASE