Flowstate Technologies LLP
Data intelligence8 min read

Entity resolution for vendor and customer master data

Duplicate vendors and customers break spend analysis, credit control and every AI built on top. Entity resolution fixes it, provided a person approves the merges.

Entity resolution is the work of deciding which records refer to the same real-world thing. In vendor master data management it means recognising that 'Sri Balaji Traders', 'SRI BALAJI TRADERS (HYD)', 'Balaji Traders - Kukatpally' and a ledger called 'Balaji 2' are one supplier — or deciding, correctly, that two of them are not. Every Indian business that has run Tally, an ERP and a few spreadsheets for more than three years has this problem.

It matters more than it looks. Spend analysis under-reports your largest suppliers because their spend is split across duplicates. Credit control misses a customer's total exposure. Duplicate payments slip through. And any AI assistant built on top inherits the confusion: asked for the top ten vendors, it ranks fragments.

Why simple deduplication rules fail

The first attempt is usually exact or fuzzy name matching. It fails in both directions. It misses true duplicates whose names differ substantially — a trading name versus a registered name, or an abbreviation. And it merges genuinely different businesses with similar names, which is worse, because a wrong merge corrupts history that was previously correct. INFORMS describes the same limit in master data management generally: rules-based matching struggles to cover every variation in real data.

Sources: INFORMS Analytics: master data management and AI

Entity resolution techniques that work, step by step

1. Standardise before matching

Normalise case, punctuation and common suffixes (Pvt Ltd, Private Limited, & Co), split addresses into components, standardise phone numbers to one format and validate identifiers. This step alone removes a surprising share of duplicates and makes everything after it more accurate.

2. Use strong keys where they exist

In India, the GSTIN is the strongest key you have for registered businesses, and the PAN embedded in it links the same legal entity across states. Two records with the same valid GSTIN are almost certainly the same registration. Two different GSTINs sharing a PAN are the same legal entity registered in different states — often the right answer is to link them under one parent rather than merge them, because tax filings are per registration.

3. Blocking

Comparing every record with every other record does not scale: 20,000 vendors means two hundred million pairs. Blocking groups records into candidate sets that could plausibly match — same PAN, same pincode and similar name, same phone number — so detailed comparison happens only within each block.

4. Match and cluster with an LLM

Within a block, a language model is good at the judgement rules struggle with: recognising that a trading name and a registered name refer to the same firm, or that 'Kukatpally branch' is a location rather than a different company. Recent research suggests the best results come from clustering a group of records at once rather than comparing pairs. A SIGMOD 2026 paper on in-context clustering reports higher accuracy than its baselines while cutting API calls by up to five times, at a cost comparable to the cheapest baseline.

Sources: In-context clustering-based entity resolution with large language models

A large 2026 study on sanctions data reaches a related conclusion: improvements to pairwise matching are showing diminishing returns, and effort is better spent on blocking, clustering and uncertainty-aware review. That is a useful corrective to the idea that a better model alone will solve the problem.

Sources: OpenSanctions Pairs: large-scale entity matching with LLMs

5. A person approves every merge

Proposed clusters go to a review queue with the evidence shown side by side: names, GSTINs, addresses, bank details, transaction history. High-confidence clusters with matching GSTINs can be approved in bulk; ambiguous ones get individual attention. Nothing merges in the source systems without approval, and every merge is reversible.

Signals and how much to trust them
SignalStrengthCaution
Same valid GSTINVery strongCheck for data-entry errors; validate the checksum
Same PAN, different GSTINSame legal entityUsually link, not merge — filings are per GSTIN
Same bank accountStrongShared accounts exist in family businesses and agents
Same phone or emailModerateAccountants and agents use one number for many clients
Similar name and same pincodeModerateCommon names cluster in markets and industrial areas
Similar name onlyWeakNever merge on this alone

Vendor master data management after the cleanup

A one-time cleanup decays within a year unless creation is controlled. The lasting fix is a golden record per entity with a stable internal ID, mappings from every source system's ID to it, and a check at creation time: when someone adds a vendor, search for likely matches by GSTIN, phone and name before allowing a new record. The same matching logic that cleaned the backlog now prevents new duplicates.

Data deduplication techniques compared

Choosing an approach
TechniqueStrengthLimit
Exact match on keysFast, safeMisses anything without a shared identifier
Fuzzy string matchingCatches spelling variantsFalse merges on common names
Probabilistic record linkageWeighs many fields togetherNeeds tuning per dataset
LLM clustering within blocksHandles trading names, abbreviations, contextCosts per call; needs review and blocking

Master data management companies in India: build or buy?

Enterprise MDM platforms such as Informatica, Reltio or Tamr are built for organisations with many systems and a dedicated data governance team, and they are priced accordingly. For a mid-sized business with Tally, one ERP or custom application and a few spreadsheets, a focused entity resolution pipeline and a controlled creation workflow usually solves the actual problem at a fraction of the cost. If you already own an MDM platform, use its matching engine and add LLM review to its uncertain cases rather than building a second system.

When not to do this

If you have a few hundred vendors, a person with a spreadsheet and a GSTIN column will finish the job faster than any pipeline. Entity resolution pays off at thousands of records, across several systems, or where duplicates keep coming back.

Sources and further reading