Runs where you run it
Node 22 or the browser. No network calls of its own.
For developers · Beta
CAMS, KFintech, NSDL and CDSL CAS PDFs to checked JSON, with the page behind every number. As a package in your own systems, or one HTTPS call.
Try it now: no key, no sign-up
curl https://api.sachfolio.com/v1/samples/dev-sample
Our sample statement, read by the API. Add .casparser for casparser's shape.
With the package
npm install @sachfolio/cas-reader
import { readCas } from "@sachfolio/cas-reader/node";
import { toCasparser } from "@sachfolio/cas-reader";
const cas = await readCas(bytes, { password }); // pages, checks, exact decimals
const json = toCasparser(cas); // or casparser's shape
Why teams choose it
Your users' PAN, folios and transactions stay in your systems.
Node 22 or the browser. No network calls of its own.
Page and line for each value, as exact decimal strings.
Balances, units × NAV and totals, each pass or fail.
toCasparser() returns casparser's shape. Python drop-in included.
XIRR included; redactCas() keeps personal data out of logs.
Email support and quick fixes for layout changes.
The output
From our sample statement, --format casparser.
{
"statement_period": { "from": "01-Jan-1990", "to": "30-Sep-2026" },
"file_type": "CAMS",
"cas_type": "DETAILED",
"folios": [{
"folio": "1111111 / 11",
"amc": "Sahyadri Mutual Fund",
"schemes": [{
"scheme": "Sahyadri Flexi Cap Fund - Direct Plan - Growth",
"isin": "INF000A01AB9",
"open": "0.000",
"close": "150.000",
"valuation": { "date": "2026-09-29", "nav": "110.0000",
"cost": "14999.25", "value": "16500.00" },
"transactions": [{
"date": "2026-05-21",
"description": "SIP Purchase - Instalment No - 1/12",
"amount": "4999.75", "units": "50.000",
"nav": "99.995", "balance": "50.000",
"type": "PURCHASE_SIP"
}, {
"date": "2026-05-21",
"description": "*** Stamp Duty ***",
"amount": "0.25",
"type": "STAMP_DUTY_TAX"
}]
}]
}]
}
Honest limits
| Statement | Status |
|---|---|
| CAMS CAS, detailed and summary | Supported |
| KFintech CAS, detailed and summary | Supported |
| NSDL or CDSL demat CAS | Mutual fund units and ETFs; shares, bonds and NPS not read |
| MF Central CAS | Not yet |
| Capital gains, lot by lot | Supported (include=gains); no tax rates |
| Schedule 112A rows for the ITR | Not yet |
| Re-printed ("print to PDF") copies, scanned images | Rejected with a clear error code |
Unsupported files fail with an error code, never a guess.
Plans
Only reads that return a result count. Prices before GST, where it applies.
| Plan | Statements | Price | Buy |
|---|---|---|---|
| Free | 10 a month, plus the sandbox on our samples | ₹0 | Get a free key |
| Basic | 100 within 30 days | ₹1,000 | Buy Basic |
| Pro | 500 within 30 days | ₹3,000 | Buy Pro |
| More | Bigger volumes, or on your own servers | Talk to us | Email us |
Checks, XIRR and capital gains included. No auto-renewal · Refund within 7 days · Delivery · Terms
Hosted API (beta)
The same JSON as the package. Read in memory, never stored.
POST /v1/parse with your key; format=casparser for casparser's shape, include=analytics,gains, redact=trueGET /v1/samples/{name} returns exactly what POST /v1/parse?include=analytics,gains returns for our samples.
curl https://api.sachfolio.com/v1/samples/dev-sample
curl https://api.sachfolio.com/v1/samples/cams-detailed.casparser
| Sample | What it shows | Files |
|---|---|---|
dev-sample | A complete read, with one check failing on purpose | PDF · JSON |
cams-detailed | A partial read: coverage shows the gap | PDF · JSON |
kfin-summary | A KFintech summary: holdings only, so history checks are unavailable | PDF · JSON |
The sample PDFs are invented and have no password. Offline: open the app's sample and choose Save a copy → Everything as JSON.
Tell us what you're building and your monthly volume.
Never send us your users' statements.