Parse AIS (Annual Information Statement)
parse_aisDecrypt and parse AIS JSON files from the Indian income tax portal on your device. Supply PAN and date of birth to derive the password, or provide it directly, to extract taxpayer information and normalized transaction entries.
Instructions
Decrypt and parse the AIS JSON export from the income tax portal, entirely on-device. Provide pan + dob (DDMMYYYY) to derive the password, or pass it explicitly. Returns taxpayer info and normalized information rows (TDS entries, SFT transactions) with amounts, dates, and codes extracted by column label. The decryption scheme is reverse-engineered from the AIS utility; if it fails, use the portal's CSV export as a fallback and file an issue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dob | No | Date of birth as DDMMYYYY (or DD-MM-YYYY); date of incorporation for non-individuals | |
| pan | No | PAN (used to derive the decryption password) | |
| path | Yes | Absolute path to the downloaded AIS .json file | |
| password | No | Explicit decryption password (overrides pan+dob derivation) |