Case study · Fund operations architecture

Netting without blurring: preparing an Indian asset manager for scheme-level net settlement of funds

SEBI will let mutual fund schemes net the funds side of outright cash market trades from 1 April 2027, while securities still settle gross and nothing may be netted across schemes. For an asset manager that sounds like a treasury change. In practice it touches trade capture, custodian files, cash forecasting and the audit trail, and it introduces a new risk: a single late trade can undo a netting the treasury was counting on.

Case studyAsset management · IndiaSumanta Mukhopadhyay9 min read
#fintech#data#architecture
CASE STUDY · CASE STUDY · FUND OPERATIONS ARCHITECTURE3 Dec 2026 · 15:55 GST
At a glance
SectorAsset management · India
My roleFractional CTO and principal architect
EngagementArchitecture, delivery leadership and partner coordination
ScopeTrade classification, scheme-level obligation engine, cash forecasting, custodian reconciliation, audit trail, configurable file interfaces, observability
What changed
  • Every trade classified as outright or non-outright per scheme, security and settlement cycle
  • Gross and net fund obligations computed side by side and reconciled with the custodian
  • Treasury forecasts showing provisional and final obligations, with the cost of late trades visible
  • No path in the code or data model for cross-scheme netting
  • An audit trail trustees can review without engineering help
Trade capture from order managementScheme-level obligation engineRules versioned per settlement cycleCustodian file adaptersReconciliation serviceAppend-only obligation ledgerTreasury cash forecastOpenTelemetry tracing with baggage

Anonymised composite. Client names, identifying details and confidential figures are withheld; public facts are cited in the references.

The situation

A mid-sized Indian asset management company ran equity and hybrid schemes whose cash market trades settled through a custodian on a gross basis, as institutional trades must: every purchase was funded in full and every sale paid out separately, even when the two largely offset on the same day. The treasury team pre-funded purchase obligations scheme by scheme from spreadsheets built on custodian files, and the order management system, fund accounting and custodian each held their own version of the day's trades.

Why now. On 5 November 2026 SEBI permitted net settlement of funds for mutual fund schemes' outright transactions in the cash segment, to reduce temporary funding needs and improve settlement efficiency, with effect from 1 April 20271. It follows the April 2026 framework that allowed net settlement of funds for Foreign Portfolio Investors, due by 31 December 20263. The circular asks AMCs and custodians to put systems and controls in place for scheme-wise identification of outright and non-outright trades and of gross and net obligations, to keep a clear audit trail, and to confirm system readiness jointly before implementation. Detailed file formats, timelines and reconciliation standards are left to AMFI to formulate with the clearing corporations, exchanges and custodians2.

So the engagement had to start before the detailed standards existed. The brief: be ready on day one, without rebuilding everything when the standards arrive.

What had to be true

  • Classification exactly as the circular defines it: outright means a purchase or a sale, but not both, in a security in the same settlement cycle by a scheme1.
  • No netting across schemes, ever: not in code, not in data, not in a treasury workaround2.
  • Accounting untouched: scheme-wise accounting, NAV, asset allocation and investment limits must not be affected by netting2.
  • Gross and net side by side, so every net figure can be explained from the gross trades behind it.
  • Formats configurable, because AMFI's standards would define files, cut-offs and exception handling later.
  • An audit trail a trustee can read, since trustees must review the implementation in unit-holders' interest2.

Architecture

Sources
Order managementexecuted trades per schemeBroker confirmationscontract notesCustodian filesobligations and status
Obligations
Classifieroutright or non-outright per scheme, security, cycleObligation enginegross and net, side by sideRules by cycleversioned eligibility rules
Record
Obligation ledgerappend-only, scheme-scopedReconciliationagainst custodian figures
Consumers
Treasury forecastprovisional and finalFund accountinggross, unchangedTrustee and audit viewsread-only
Operations
Tracing with scheme and cycle contextpropagated end to endException queuebreaks and late changes
Netting lives in one engine and one ledger. Fund accounting keeps working from gross trades, so NAV is never computed from netted figures.

The most important design choice was where the netting sits. It is a cash-movement view, not an accounting fact, so the obligation engine produces it from gross trades and fund accounting never sees it. Every record in the ledger carries a scheme identifier, and the engine's grouping key starts with the scheme, so there is no query or function that could combine two schemes' obligations.

The data flow, end to end

  1. CaptureExecuted trades arrive per scheme with security and settlement cycle
  2. ClassifyEach scheme, security and cycle marked outright or non-outright
  3. ComputeGross obligations and net fund obligation for outright trades
  4. ReconcileEngine figures matched to custodian obligations; breaks queued
  5. FundTreasury funds residual purchase obligations scheme by scheme
  6. RecordGross, netted and excluded trades kept as one audit trail
From trade to funded obligation. Securities still settle gross; only the funds leg is netted.

The circular's own annexure became the first test case: a scheme buying security A, buying and selling security B, and selling security C. Under gross settlement every leg is funded separately; under the framework, A and C are netted, while B, being non-outright, stays gross2. The team encoded that example, and variations of it, as fixtures the engine had to reproduce exactly before any other work was accepted. The rules on residuals were encoded the same way: a shortfall is funded by the scheme, and excess outright sale proceeds may not be set against non-outright purchase obligations2.

The hard part: a late trade can undo the netting

Classification is a property of the whole settlement cycle, not of a single trade. If a scheme has sold a security and a fund manager later buys the same security in the same cycle, both trades become non-outright and drop out of netting. The scheme's funding need goes up, not down, because a trade was added. Rejected, unconfirmed and modified trades can flip classifications the same way, which is why the circular lists their treatment among the matters AMFI's standards must cover2.

The design answer was two kinds of figure. A provisional obligation is recomputed on every trade event; a final obligation is fixed at the cut-off the standards set. Treasury forecasts showed both, together with the funding the scheme would need if every outright security in play became non-outright, so the treasury never relied on netting that could still disappear. The order management system was also given a warning: before a trade in a security the scheme had already traded the other way in that cycle, the dealer sees that it will remove the security from netting. The decision stays with the fund manager; the cost becomes visible.

Keeping scheme and cycle context intact across order management, the engine, reconciliation and treasury needed explicit plumbing. OpenTelemetry's baggage carries key-value context between services alongside a trace, but it is not added to spans automatically, so each service has to read it and record what it needs4. The team set the scheme and settlement cycle as baggage at trade capture and copied them onto every span and log line, so any break could be traced to the scheme and cycle it belonged to.

Diagram of a parent span and child spans in Service A each carrying a ClientId attribute, and a child span in Service B where the ClientId is unknown, showing that context does not cross a service boundary unless it is propagated
Context that is not propagated is lost at the next service. Here the identifier was the scheme and settlement cycle. Source: OpenTelemetry documentation · CC BY 4.0

Net the cash, never the facts. Keep every trade, every classification and every obligation gross in the record, and treat the net figure as a view you can always rebuild and explain.

The engine reused patterns from payments work: idempotent processing of every trade event and an append-only ledger, as in idempotent payment pipelines and the payments platform case study. Interfaces with the custodian were written as data contracts, following the data contracts playbook, and trade events moved by change data capture from the order management database, as described in change data capture and event streams.

How it ran

Fund operations and treasury
  1. Current funding process mapped
  2. Provisional and final forecast agreed
  3. Exception handling roles
Engineering
  1. Trade capture and classifier
  2. Obligation engine and ledger
  3. Custodian adapters and reconciliation
Custodian and industry
  1. File and status exchange agreed
  2. AMFI standards tracked
  3. Joint readiness confirmation
Three parties had to move together. The custodian lane set the pace, because readiness had to be confirmed jointly.
Phase 1Shadow
  • Engine computes net beside today's gross
  • Circular annexure as fixtures
  • No money moves on net figures
Phase 2Reconcile
  • Engine matched to custodian daily
  • Breaks classified and fixed
  • Late-trade impact measured
Phase 3Conform
  • AMFI formats and cut-offs configured
  • Exception handling as specified
  • Trustee review pack
Phase 4Go live
  • Joint readiness confirmed
  • Net funding from 1 April 2027
  • Gross shadow kept for a period
Shadow first: net figures computed and reconciled while money still moved gross.

Key decisions and trade-offs

DecisionAlternativeWhy
Netting as a cash view over gross recordsStore only net obligationsEvery net figure must be explainable and accounting must stay gross
Scheme as the first key everywhereRely on a rule forbidding cross-scheme nettingMake the prohibited state impossible to represent
Provisional and final obligationsOne figure at end of dayLate trades can increase funding; treasury needs to see that early
Rules versioned by settlement cycleRules hard-coded in the engineAMFI standards and later changes apply from a date, not retrospectively
Long shadow run before go-liveSwitch over on the effective dateReconciliation breaks are cheaper to find when no money depends on them

What I'd do again, and differently

Again: turn the regulator's worked example into executable tests on day one. It settled arguments about interpretation faster than any meeting. Differently: involve the dealing desk earlier. The rule that a later opposite trade removes a security from netting changes the economics of trading decisions, and fund managers needed to understand it before seeing the warning in their screens, not after. For a wider view of regulated platform work in India, see the lending consent platform case study.

If you run fund operations or market infrastructure in India, my work with Indian companies explains how I approach it, or analyse your challenge and bring the result to a call.

References
  1. 1
  2. 2
  3. 3
  4. 4
    BaggageOpenTelemetry documentation
FAQ

Common questions

What does SEBI's net settlement framework for mutual funds allow?

From 1 April 2027, a mutual fund scheme may net the funds for outright cash market trades within the same scheme and settlement cycle. Securities still settle gross, and no netting or adjustment is allowed across schemes.

What is an outright transaction?

Either a purchase or a sale, but not both, in a security within the same settlement cycle by a scheme. If a scheme both buys and sells the same security in a cycle, those trades are non-outright and are excluded from netting.

Why is this an architecture problem and not just a treasury change?

Because classification depends on every trade in the cycle, obligations must be computed both gross and net, custodian files and reconciliation change, and SEBI requires systems for scheme-wise identification and a clear audit trail, with AMFI setting file formats and timelines.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.