India endpoints
All under /v1/india/*. Available on both books — India-only tables degrade to
safe zero shapes on UAE.
Overview / leg views
GET /v1/india/viewtrade
ViewTrade leg overview — funding wires, trades, brokerage revenue + cost, per-customer breakdown, recent activity.
GET /v1/india/glomopay
GlomoPay leg overview — remittances, FX-spread revenue, per-PAN LRS, per-customer, recent remittances.
GET /v1/india/treasury
Valura's GlomoPay MERCHANT balance (available/pending/deficit per currency) + live INR→USD mid rate. Read-only; not posted; not a customer balance.
Tax & compliance
GET /v1/india/lrs?fy=YYYY-YY
Per-PAN LRS/TCS compliance. Returns LrsTaxSummary with actual-vs-estimated
TCS.
GET /v1/india/capital-gains?customer=&fy=
FIFO realized STCG/LTCG + open-lot cost basis per customer.
GET /v1/india/dividends?customer=&fy=
US-equity dividend income + NRA WHT (DTAA foreign-tax-credit) per customer per FY.
GET /v1/india/schedule-fa?fy=YYYY-YY&customer=
ITR Schedule FA foreign-asset statement. fy required.
Valuation & reconciliation
GET /v1/india/nav
Firm + per-customer NAV / mark-to-market.
GET /v1/india/holdings-recon
Per (customer, instrument) share-count tie-out — ledger qty vs live ViewTrade position qty.
GET /v1/india/ledger-recon
Per-customer ledger cash + securities vs live ViewTrade balance.
GET /v1/india/reconciliation
LRS↔ViewTrade tie-out (per-customer + per-remittance matched/in-transit/unmatched).
GET /v1/india/compliance
Per-customer ViewTrade account-status compliance (active / trading_halted / inactive / no_link / error).
Ops & revenue
GET /v1/india/remittance-exceptions
Every non-paid GlomoPay order — the ops sweep.
GET /v1/india/settlement-audit?fy=
Settlement lag + missing UTR + purpose codes.
GET /v1/india/broker-fees
Modeled vs configured vs actual (Daily Ledger) broker-fee reconciliation.
GET /v1/india/fx-margin?fy=
Realized vs assumed FX-spread margin per remittance.
Response schemas — quick reference
| Schema | Endpoint |
|---|---|
LrsTaxSummary | /v1/india/lrs |
CapitalGainsSummary | /v1/india/capital-gains |
DividendSummary | /v1/india/dividends |
ScheduleFaSummary | /v1/india/schedule-fa |
NavSummary | /v1/india/nav |
HoldingsReconSummary | /v1/india/holdings-recon |
FirmLedgerRecon | /v1/india/ledger-recon |
IndiaReconResponse | /v1/india/reconciliation |
FirmCompliance | /v1/india/compliance |
RemittanceExceptionSummary | /v1/india/remittance-exceptions |
SettlementAuditSummary | /v1/india/settlement-audit |
BrokerFeeSummary | /v1/india/broker-fees |
FxMarginSummary | /v1/india/fx-margin |
GlomoPayTreasury | /v1/india/treasury |
ViewTradeOverview | /v1/india/viewtrade |
GlomoPayOverview | /v1/india/glomopay |
Every Pydantic response model lives under apps/ledger/ledger/schemas/. The
frontend mirrors each in apps/ledger/frontend/src/lib/api.ts.