CAS Generator

CAS Generator (Email Mailback)

Changed on

Generate a mutual fund CAS statement via email mailback. The CAS PDF will be sent to the investor's email.

KFintech and CAMS have a mutual partnership for data sharing and consolidation, so this endpoint retrieves mutual fund data from both RTAs, covering all mutual funds in India.

This is an async operation - the investor receives the CAS via email within a few minutes.

By default, a Detailed CAS is generated, which includes the complete transaction history. The parsing layer supports all statement types (Detailed, Summary, etc.), but generation always requests the Detailed variant for maximum data coverage.

cas_authority picks which RTA sends the email. The portfolio data is the same either way — only the PDF password policy differs. With cams, a PAN is a valid password.

post/v4/generate

Request

  • Base URL
    https://api.casparser.in
  • Auth
    API key in header x-api-key

Request body

emailstring required

Email address to receive the CAS document

pan_nostring

PAN number (optional)

from_datestring required

Start date (YYYY-MM-DD)

to_datestring required

End date (YYYY-MM-DD)

passwordstring required

Password protecting the emailed PDF. Must satisfy the chosen authority's policy — cams requires 6-20 characters with at least two digits, so a PAN works.

cas_authority'kfintech' | 'cams'

RTA that sends the mailback. Affects only the password policy, not the portfolio data returned.

Example request

{
  "email": "user@example.com",
  "pan_no": "ABCDE1234F",
  "from_date": "2023-01-01",
  "to_date": "2023-12-31",
  "password": "Abcdefghi12$",
  "cas_authority": "cams"
}

Response

Request submitted successfully

statusstring
msgstring

Example response

{
  "status": "success",
  "msg": "CAS request submitted. Check email shortly."
}

Changes

    • info

      added the new optional request property

    • warning

      the optional response header X-Request-ID removed for the status 401

    • warning

      the optional response header X-Request-ID removed for the status 500