Case study · Financial services · AI
Choice Finserv Reached 95% Aadhaar Masking Accuracy Across 1.5 Million Documents
Choice Finserv, a financial services provider, managed over 1.5 million documents on Amazon S3. Like every NBFC in India that onboards customers with Aadhaar-based KYC, it has an obligation that does not expire: the RBI requires all stored Aadhaar data to be masked, in new and historical documents alike.
Choice Finserv needed bulk Aadhaar masking that was accurate, secure and deployable in a restricted offline environment.
- 95% masking accuracy
- 1.5 million documents
- Zero document quality degradation
Results at a glance
95%
Masking accuracy, held consistently with no manual review
1.5 million
Documents on Amazon S3 processed across every format and type
Zero
Document quality degradation: every masked file stayed readable and audit-ready
The Challenge
Whether an NBFC holds 50,000 documents or 5 million, the same operational problems surface in bulk Aadhaar compliance.
01
The Document Repository Is Not Uniform
Loan applications, CIBIL reports, bank statements, and KYC forms each present Aadhaar data differently across PDFs, scanned images, and text files. A tool built for one format misses Aadhaar data in another, and at scale that inconsistency becomes a compliance gap.
02
Manual Review Is Not a Path to Compliance
Even a 100,000-document repository cannot be reviewed by hand within a regulatory deadline. At Choice Finserv's volume, the only workable approach was automation that held its accuracy without human exception handling.
03
Processing Everything Wastes Time and Compute
Not every document contains Aadhaar data, so processing the whole corpus uniformly adds unnecessary overhead. Pre-classification, which routes only Aadhaar-containing files to masking, keeps timelines and costs realistic.
04
Sensitive Data Cannot Leave the Environment
Regulated financial institutions cannot send customer documents to an external service for processing. Masking has to happen inside their own infrastructure, offline, with a complete audit trail.
05
Retrieval Speed Sets Compliance Speed
When documents sit on Amazon S3, downloading them without an optimized framework creates the bottleneck that pushes the compliance deadline out. That is as true at 50,000 documents as at 1.5 million.
06
Masked Documents Must Stay Usable
A document whose quality has degraded, or whose non-Aadhaar content has been wrongly redacted, creates problems downstream for branch teams and auditors. Document integrity after masking is a requirement, not a nice-to-have.

The Solution
HabileLabs designed a multi-layer compliance architecture around Choice Finserv's scale, security posture, and accuracy requirements, with each component addressing a specific challenge.
AI-Powered Aadhaar Masking Engine
Detects and masks Aadhaar numbers and QR codes across PDFs, images, text files, loan documents, and credit reports. Built for the mixed formats of real financial document repositories rather than a single document type, with document quality fully preserved.
Intelligent Document Classification
Classifies every document before masking begins. Only Aadhaar-containing files enter the masking pipeline; the rest are skipped, which reduces compute overhead and keeps timelines on track.
High-Performance Parallel Processing
Python multiprocessing and optimized batch processing sustain consistent throughput across large volumes. The pipeline was designed for this scale from the outset, not scaled up during delivery.
Optimized Amazon S3 Retrieval
Multi-threaded downloads and automated workflows remove retrieval bottlenecks, so processing starts sooner and runs without interruption.
Secure Offline Deployment with Docker
Containerized and deployed entirely within Choice Finserv's restricted environment. No internet access is required, and the existing security posture and infrastructure configuration did not change.
Business Impact
95% Masking Accuracy
Held consistently across 1.5 million documents of every format and type, with no manual review required.
Full RBI Compliance Achieved
Aadhaar numbers and QR codes fully masked across the document estate.
Reduced Processing Overhead
Classification skipped non-Aadhaar documents, reducing compute and cost.
Faster Time to Compliance
Optimized Amazon S3 retrieval cut ingestion time, so processing started sooner and ran without bottlenecks.
Zero Document Quality Degradation
Every masked file remained readable, usable, and audit-ready, with no loss of content or formatting across the corpus.
A Scalable Framework in Place
The reusable architecture handles growing document volumes without redesign, beyond the initial engagement.
This Problem Exists Across India's NBFC Ecosystem
What NBFCs Can Take from This
Every licensed NBFC that has collected Aadhaar-based KYC since 2017 has a version of this problem. The trigger varies: an RBI inspection letter, an internal audit that surfaces unmasked legacy files, a digital transformation that exposes historical document liability, or a data security review. The underlying situation is shared by NBFCs of all sizes: historical documents containing unmasked Aadhaar data and no clear path to automated compliance.
Smaller NBFCs often have it harder, with lean IT teams, fewer vendor options, and less margin for error during a compliance window. The Choice Finserv engagement was built to be reproducible at any scale.
Digital Lending NBFCs and Fintechs
If you onboarded customers rapidly between 2018 and 2023, retroactive Aadhaar compliance is likely your largest unaddressed regulatory risk. The classify-first, mask-selectively, process-in-parallel model applies directly.
Microfinance Institutions
Mixed formats from field operations are the norm. The AI classification layer resolves format differences before masking begins, so documents do not need to be clean or uniform.
Small and Mid-Size NBFCs (under ₹500 Cr AUM)
You don't need enterprise infrastructure. The solution is containerized, runs on your existing servers, and is priced for smaller institutions, not just large ones.
Housing Finance Companies
High document-to-loan ratios make manual compliance impossible. Parallel processing keeps the timeline feasible instead of open-ended.
Why Choice Finserv Chose HabileLabs
The Full Problem, Not Just the Masking Task
Retrieval constraints, pre-classification, security posture, output quality: HabileLabs designed for all of it, including the infrastructure that makes the AI engine work at production scale.
Accuracy and Document Integrity as Equal Outputs
95% masking accuracy with zero document quality degradation, delivered together rather than traded off.
Deployment That Fits the Existing Environment
No changes to security policy and no infrastructure exceptions. The solution worked within Choice Finserv's existing setup from day one.

Conclusion
Planning something similar?
Choice Finserv needed accurate bulk Aadhaar masking across 1.5 million documents, deployed securely offline and completed on time, with document integrity intact. The engagement delivered all of it. For any NBFC holding historical Aadhaar documents under RBI obligations, the questions are the same regardless of size: how to process the repository accurately, securely, and without disrupting operations. Whether the repository holds 50,000 documents or 5 million, the obligation is the same, and the solution scales to fit.