Home / Blog / GST Data Masking: Hide GSTINs, Names and Contacts in Shared Files
GST Data Masking: Hide GSTINs, Names and Contacts in Shared Files
GST data masking for shared and test files: hide GSTINs, names, contacts and bank details while keeping the file useful for testing, training and analysis.
What you can request
Tell us your target and we prepare a sample.
GST data masking solves a common problem: you need to share a file of real GST records, but not the real customers, suppliers and contacts inside it. A software vendor wants sample data to configure a matching tool. A trainer needs realistic registers for new staff. A consultant wants to analyse purchase patterns. A demonstration needs a statement that looks real. Sending live files exposes every name, GSTIN, phone number and value to people who do not need them. Masking replaces those details with stand-ins while keeping the file useful. This guide explains GST data masking for your own files: which fields to mask, methods that keep files usable, when to keep a key and how to check a masked file before it leaves.

GST sales data refers to the outward supply records each registered business reports through GSTR-1 and GSTR-3B. Your copies of those returns, your purchase statements, GSTR-2B, and your registers and masters hold customer and supplier identities, values and personal contact details. Masking applies to copies of these records made for a purpose outside normal accounting, never to the originals you keep for tax.
When Masking Makes Sense
Masking suits uses where the structure and patterns of the data matter but the identities do not. The test is simple: would the work suffer if every name were replaced with a code? If not, mask. Configuring or testing software. Training staff on realistic examples. Sharing data with an outside analyst for pattern studies. Demonstrating a process to a prospective customer or partner. Writing internal guides with screenshots. In each case, real identities add nothing and expose a great deal. A masked file can be shared widely, kept for years and reused, which a live file never should be.
When It Does Not
Masking is not a substitute for proper sharing when the recipient genuinely needs real records, such as an auditor testing your sales or a lender assessing your returns. Masked files sent to such recipients would only delay their work and lead to a second request. Those recipients need the real figures, shared with consent.
Fields to Mask
Look at every column and decide whether it identifies a business or a person, either directly or when combined with other columns in the same file.
| Field | Why it is sensitive | Usual treatment |
|---|---|---|
| Counterparty GSTIN | Identifies the business | Replace with a consistent stand-in |
| Legal and trade name | Identifies the business | Replace with generic names |
| Contact person | Identifies a person | Remove or replace |
| Phone and email | Reaches a person | Remove |
| Address and pincode | Locates the business | Keep district only or generalise |
| Bank details | Payment information | Remove |
| Bill number | Can be traced to a business | Replace with a sequence |
| Values | Commercial detail | Keep, scale or band, depending on use |
Your Own Identity
Remember your own GSTIN and name too. If the file will leave the business for a demonstration, your own identity may also need masking.
Free-Text Fields
Notes, narration and description fields often hide names, phone numbers and references to real businesses, such as “call Ramesh at the Pune office before dispatch”. Read through free-text columns before sharing, and either clear them or replace them with generic text. They are the most common place for real details to survive masking.
Masking Methods
Different methods suit different fields and purposes.
Replacement swaps a real value for a stand-in, such as replacing each customer name with “Customer A”, “Customer B” and so on. Consistent replacement uses the same stand-in every time a value appears, so patterns such as one customer buying every month survive. Removal deletes the field entirely, which suits phone numbers, emails and bank details best. Generalisation reduces detail, such as replacing a full address with the district. Scaling multiplies values by a fixed factor, keeping proportions while hiding real amounts. Banding replaces exact values with ranges.
Choosing a Method per Purpose
For software testing, consistent replacement and valid formats matter most, with values kept real so totals and matches behave normally. For training, scaled values and generic names work well. For outside pattern analysis, consistent replacement with real values may be needed, under a short agreement on use. For public demonstrations, remove or generalise as much as possible, since the audience is widest.
Keeping GSTINs Usable
Some software checks GSTIN structure. For testing such software, replace real GSTINs with stand-ins that keep the state code and the correct format, so the software accepts them, while the rest of the string no longer points to the real business. Do not use real GSTINs of other businesses as stand-ins, since that would attach your figures to someone else’s identity. Generate stand-ins that follow the pattern but are checked against the public search to make sure they do not belong to anyone.
Keeping Joins Working
If the masked file has several tables, such as a register and a statement, apply the same replacement to the same value in every table. Otherwise matches between tables break and the file stops being useful for testing.
Keeping or Destroying the Key
A key is the table linking each stand-in to its real value. Keep a key only if you will need to map results back, such as when an outside analyst finds an unusual supplier pattern you want to investigate. Store the key separately, with access limited to one or two people, and never send it with the masked file. Delete the key when the analysis ends, recording the date. If you will not need to map back, do not create a key at all. A key that does not exist can never be lost or misused.
GST Data Masking Steps
Make a copy of the source file and work only on the copy. Decide the purpose and the fields to mask. Apply the methods field by field, consistently across tables. Remove any hidden sheets, comments, file properties and formulas that might still contain real values. Check the result carefully before anything at all is sent. Share the masked file under a short note stating its purpose. Ask the recipient to delete it when the purpose ends, as you would for any shared file.
Checking the Masked File
Open the masked file as the recipient would. Search for a few real customer names, GSTINs and phone numbers from the source; none should appear. Check hidden columns, filters and pivot caches, which sometimes keep original values. Ask a colleague not involved in the masking to look for anything identifying. Fresh eyes spot details the person who did the work has stopped noticing.
Shortcuts to Avoid
Hiding columns instead of removing them, which leaves every value one click away. Masking names but leaving GSTINs. Leaving phone numbers in a notes field. Using real GSTINs of other businesses as stand-ins. Sending the key with the file. Masking the original instead of a copy. Each defeats the purpose or damages your own records.
Masking for Training
Training files are often reused for years and shared widely, sometimes far beyond the team they were made for. Mask them thoroughly, scale values so they look realistic but are not your own and keep the patterns that make good examples, such as a late-reported bill, a credit note and an amendment. A well-masked training set is a lasting asset. Review it once a year to make sure it still reflects current return formats and that no real details have crept in through later edits.
Common Masking Mistakes
Treating hidden columns as masked. Inconsistent replacement that breaks joins. Forgetting file properties and comments. Keeping keys in the same folder as the masked file. Masking only some tables. Each leaves real details exposed. A written checklist, used every time, prevents them.
A Logistics Firm’s Software Test
A logistics firm in Chennai was evaluating a matching tool and the vendor asked for three months of real purchase registers and statements. The finance head did not want carriers’ names, GSTINs and bank details sent outside the business.
She made copies, replaced carrier names with consistent stand-ins, replaced GSTINs with stand-ins that kept state codes and valid format, replaced bill numbers with sequences applied the same way in both registers and statements, removed contacts and bank details and kept values unchanged so the matching test was realistic. A colleague checked the files for traces of real data and found a hidden sheet, which was removed. The vendor ran the test successfully, and no real carrier details left the firm.
Related Guides on Handling Details
Replacing identifiers with codes for internal analysis is covered in GST data pseudonymization, and anonymising records for research in GST data anonymization. Personal details in tax records are explained in GST data privacy, and sharing real records with consent in GST data sharing. For business lists compiled from open details, see the GST B2B database page.
Frequently Asked Questions
What is GST data masking?
Replacing or removing identifying details, such as GSTINs, names and contacts, in a copy of GST files before sharing them for testing, training or analysis.
Which fields should be masked?
Counterparty GSTINs, names, contact persons, phones, emails, bank details, bill numbers and, depending on use, addresses and values.
How do I keep the file usable?
Use consistent replacement across all tables and keep GSTIN format valid where software checks it.
Should I keep a key?
Only if you need to map results back, stored separately with limited access and never sent with the file.
Mask One Test File This Month
Copy a register, mask identities consistently and have a colleague check it before sharing. For business lists compiled from open details, request a sample.
From requirement to data in four steps
A simple process with a sample before any purchase.
Share your target
Location, industry and campaign goal.
Review a sample
Check format, fields and relevance.
Confirm the pack
Finalise scope and volume.
Start outreach
Import the file and begin follow-up.
More guides on GST data
How to Check GST Purchase in Accounting Software With Built-In Reports
How to check GST purchase in accounting software with built-in reports: tax ledger, register by rate, match report and exceptions, reviewed every…
Where to Report GST Issues With Competitors: A Trader’s Steps
Where to report GST issues with competitors: find the rival's jurisdiction from its GSTIN, keep an evidence log, pick the right office,…
What Is Sales Data: A Beginner’s Guide to Types, Sources and Uses
What is sales data: a beginner's guide to its main types, from transactions and customers to products and pipeline, where GST fits…
Related data categories
Request a Free Sample
Share your target location, industry and campaign goal. Review sample records before choosing the final pack.
