Parse AIS (Annual Information Statement)
parse_aisDecrypt and parse an income tax portal AIS JSON export on-device, using PAN and DOB or a supplied password, to return taxpayer details and normalized TDS/SFT rows with amounts, dates, and codes.
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. NOT ISO YYYY-MM-DD. | |
| 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) |