# Get Your CAS

> Request a mutual fund CAS from CAMS or KFintech, import it straight from Gmail in the Portfolio Intel app, or let an AI agent find it in your inbox and parse it.

Every analysis starts with a Consolidated Account Statement (CAS) PDF. This guide covers three ways to get one to Portfolio Intel: request it and upload it yourself, import it from Gmail in the mobile app, or have an AI agent fetch it from your inbox.

## Request a CAS

1. Open the CAS request page on CAMS or KFintech. Either one returns the same consolidated statement across both registrars.
2. Choose **Detailed** if you want XIRR, transactions or capital gains. **Summary** only has balances and valuation as on a date.
3. For a detailed statement, choose **Specific Period** and set the from-date to before your first investment. The default, Current Financial Year, only includes this year's transactions, so XIRR and gains computed from it are wrong.
4. Folio listing: the default (without zero-balance folios) is fine for holdings and XIRR. For capital gains, include folios you've fully redeemed: on CAMS choose **Transacted folios and folios with balance**, on KFintech tick **With zero balance folio**.
5. Enter your email. PAN is optional.
6. Set a password and confirm it. This is not your email password; the registrar only uses it to encrypt the PDF, and you'll need it to parse the file.
7. On KFintech, type the characters from the security check image, then submit.

The statement goes to the email address **registered in your folios**, usually within a few minutes. If you hold mutual fund units in a demat account, they may not appear in full; use the NSDL e-CAS for those.

The email comes from `donotreply@camsonline.com` with the subject *Consolidated Account Statement - CAMS Mailback Request*, or from KFintech with the subject *Consolidated Account Statement - KFINTECH Mailback Request*.

Portfolio Intel also parses the NSDL e-CAS that demat account holders receive each month. See the [CAS format guide](https://docs.portfoliointel.co.in/reference/cas-format-guide).

## Import from Gmail in the mobile app

The Portfolio Intel mobile app can find the statement in your inbox so you don't have to download and re-upload it.

1. On the upload screen, tap **Email** and sign in with Google.
2. The app lists your most recent CAMS and KFintech mailback emails, up to 10.
3. Pick one and enter the password you set when requesting it.

How it handles your mailbox:

- It asks for Gmail's **read-only** scope and can't send, delete or change email.
- It only searches for the two registrar senders and subjects above.
- Gmail is called directly from your phone. Your Google token and your email never reach Portfolio Intel servers. The attachment you pick is unlocked, parsed and [redacted](https://docs.portfoliointel.co.in/reference/privacy-security) on the phone, the same as a file you choose yourself.

## Let an AI agent fetch it

An agent that already has access to your Gmail through its own connector (for example the Gmail connector in Claude) can do the same thing with the [MCP tools](https://docs.portfoliointel.co.in/mcp/tools):

```text
1. Search Gmail:
   (from:donotreply@camsonline.com subject:"Consolidated Account Statement - CAMS Mailback Request")
   OR (from:samfS@kfintech.com subject:"Consolidated Account Statement - KFINTECH Mailback Request")
2. Download the PDF attachment from the newest match.
3. Ask the user for the CAS password.
4. parse_cas(pdf_base64=..., password=...)
5. enrich, or run_skill("portfolio-health-check", snapshot_id)
```

If the agent can't pass file bytes to a tool, it calls `request_upload_url`, gives the user the link, and then calls `parse_cas(session_id=...)`.

Portfolio Intel never asks for access to your mailbox. The agent reads your email with permissions you granted it, and Portfolio Intel only receives the one PDF.

If there's no CAS in the inbox, the agent should send you to the CAMS or KFintech request page and search again once the email arrives. Portfolio Intel doesn't submit the request on your behalf. The form asks for your PAN and a password you choose, so you fill it in yourself.

## Related guides

- [CAS statement analyser](https://docs.portfoliointel.co.in/guides/cams-cas-statement-analyser)
- [XIRR from a CAS PDF](https://docs.portfoliointel.co.in/guides/xirr-from-cas-pdf)
- [CAS format guide](https://docs.portfoliointel.co.in/reference/cas-format-guide)

Source: https://docs.portfoliointel.co.in/guides/get-your-cas/
