Data Lineage: Tracing a Number From Trade to Return
Regulatory reporting data lineage means being able to point at any figure in a filing and show the path back: the report cell, the calculation, the rule version, the files and finally the trades or folios behind it. Most AMCs can reproduce a report. Few can explain one number quickly when SEBI, an auditor or the board asks why it moved. Lineage closes that gap, and it also tells you what a source change will break before you make it.
This post is for the Chief Data Officer and the compliance team who certify reported data. For automating the filing itself, see automating SEBI returns. For storage, see the AMC data warehouse. This post covers tracing numbers from trade to return.
What does lineage need to show for a regulatory figure?
A traceable figure has five links. If any link is missing, the trail stops there.
| Link | What it records | Example for an AMC |
|---|---|---|
| Report cell | Report, period, field, value, filing version | Monthly Cumulative Report, month, equity AUM |
| Calculation | Formula, rule and version, parameters | Sum of scheme AUM less investee-scheme holdings |
| Intermediate data | Tables or files used, run ID, row count | Scheme AUM table, run on day 2 of the month |
| Source extract | System, file name, checksum, load time | Fund accounting export, custodian file, RTA file |
| Source record | Trade, holding, folio or price | Individual security holding on the NAV date |
Most teams document the first two in a procedure note and lose the rest. Lineage keeps all five linked, so a reviewer can start at the report and drill down or start at a trade and see where it lands.
Why do regulatory figures need this traceability?
The SEBI Master Circular for Mutual Funds dated March 20, 2026 has several places where the AMC must stand behind the data. Paragraph 6.20.1 sets the Monthly Cumulative Report deadline at the 3rd working day of each month. Paragraph 6.20.2(c) says compliance officers must take due care and confirm the data submitted is correct and does not require revision. Paragraph 6.26.2 makes the compliance officers of AMCs and custodians responsible for the correctness of the daily transaction report by 3.00 p.m. on T+1. Paragraph 6.27.1 says information and documents in the compliance process shall be authenticated or adopted by the AMC's Board.
The Master Circular does not name lineage tooling. We found no paragraph that requires it. The need follows from the certification duty: a compliance officer who signs "correct and needs no revision" needs more than a spreadsheet nobody can explain.
How does a trace work? An illustrative example
Illustrative example: the equity AAUM figure in one disclosure is ₹41,250.00 crore. The same month's Monthly Cumulative Report shows ₹41,068.00 crore. The gap is 41,250.00 - 41,068.00 = ₹182.00 crore, and the CFO wants to know why before the numbers are shared.
Without lineage, three people open three spreadsheets over two days. With lineage, the reviewer follows the path:
- Open the MCR cell for equity AUM. The lineage shows the calculation: sum of scheme-level AUM, with investing schemes excluding their investments in investee schemes (paragraph 6.20.1(b)).
- Open the other disclosure cell. Its calculation uses the full scheme AUM with no exclusion.
- Compare the scheme-level inputs. Only one scheme differs: a fund of funds with ₹1,000.00 crore of AUM.
- Open the source record. Its fund accounting extract shows ₹182.00 crore invested in schemes of the same fund house.
- Check the arithmetic. MCR value for that scheme = 1,000.00 - 182.00 = ₹818.00 crore. The other report uses ₹1,000.00 crore. The difference is ₹182.00 crore, matching the gap in full. Unexplained variance: nil.
The trace shows that both numbers are correct under their own rules. The action is a labelled note on the report, and a decision on whether the two reports should follow the same basis. Check the current text of each report's instructions before changing the basis.
How do you build a lineage map?
Build it report by report, starting with the one that causes the most rework.
- List the report's fields and their definitions from the circular or the filing format.
- Name the source system for each field: fund accounting, the RTA, custodian, price feed, scheme master or distributor master.
- Write each transformation as a named rule with a version, an owner and a plain-language description.
- Record each hop, from the extract through staging and warehouse tables to the output, with the job that moves it.
- Attach run metadata to every run: run ID, timestamp, input checksums, row counts, rule versions and operator.
- Link the output to the sign-off record, so the approver, time and version of the filed report are one click from the numbers.
- Test it by asking a reviewer to trace three random figures, including one that changed since last month.
What metadata makes a run reproducible?
| Item | Why it matters |
|---|---|
| Run ID and timestamp | Separates the first run from a corrected rerun |
| Source file name, size, checksum | Shows the input was the file you think it was |
| Row counts in and out of each step | Flags silent drops and duplications |
| Rule and mapping version | Explains why a figure changed after a rule update |
| Parameters (period, scheme list, as-of date) | Lets someone repeat the run exactly |
| Approver and sign-off time | Shows who certified the figure and when |
Keep these for as long as your records policy requires. Records retention and archival covers how to set retention periods. A run log you cannot read two years later fails the purpose.
How does lineage help beyond audits?
- Impact analysis. Before changing a scheme category or a field in the securities master, list the reports that use it.
- Faster break resolution. A variance becomes a path to follow, not a search. See recon breaks: finding the root cause for the process side.
- Board and trustee confidence. Management can show how a figure on the board pack was produced.
- Safer change. A source system migration or a vendor change shows exactly which reports need re-testing.
Lineage works best with clean inputs. If a feed is dirty, lineage tells you where the dirt came from, but the fix still sits in data quality management.
Where does lineage usually break?
Four failure modes appear again and again in AMC reporting chains.
- Manual overrides. Someone edits a value in the output file to fix a late correction. Fix: allow overrides only through a logged adjustment with a reason and approver, so the lineage shows it as a step.
- Spreadsheet hops. A macro workbook sits between the warehouse and the report. Fix: either bring the logic into a versioned job or log the workbook version and checksum on each run.
- Silent rule changes. A mapping, such as scheme category, is edited without a version. Fix: treat every mapping as controlled data with a change record.
- Reruns that overwrite. A corrected rerun replaces the first output with no trace. Fix: keep every run, flag the one that was filed and record why the earlier one was superseded.
Spreadsheet, catalogue tool or custom build for regulatory reporting data lineage?
| Option | Works when | Breaks when |
|---|---|---|
| Documented spreadsheet map | One or two reports, stable processes | Rules change monthly and the document goes stale |
| Data catalogue with automatic lineage | Your pipelines use supported tools and standard SQL | Logic sits in spreadsheets, macros or vendor black boxes |
| Custom lineage built into reporting jobs | You want run logs, rule versions and sign-off linked to each filed figure | You skip naming rules and owners, so the lineage records nothing meaningful |
The test for any option is the three-figure trace: pick three figures at random and ask a reviewer, who did not build the report, to trace each to a source record.
What to do in the next 30 days
Week 1: Choose. Pick one report with a history of rework. List its fields, their definitions and owners.
Week 2: Map. Trace each field to its source system and write down every transformation as a named, versioned rule. Mark the fields that cannot be traced.
Week 3: Log. Add run metadata to the next live run: run ID, input checksums, row counts, rule versions and sign-off.
Week 4: Test. Ask a reviewer to trace three figures. Fix what blocked them, then decide whether to extend to the next report by hand or by tooling.
Before you finalise field definitions, check the current report formats and paragraph text on the SEBI site, and read any AMFI notes on data submitted to the industry body.
How Digiqt helps with regulatory reporting data lineage
Digiqt builds custom reporting and lineage software for AMCs. A typical build records each hop from source extract to report cell, stores rule versions and run metadata, and gives compliance a drill-down from any filed figure to its source records.
It sits on top of your existing warehouse and reporting jobs, so you keep your current stack.


