codereverser / casparser

Parser for Consolidated Account Statements (CAS) generated from CAMS/Karvy/Kfintech
MIT License
135 stars 63 forks source link

parser not working, resulting in excalamation mark / error rather than checked #78

Closed isaac-philip closed 1 year ago

isaac-philip commented 1 year ago

I generated a consolidated report from CAS - CAMS + KFintech at https://www.camsonline.com/Investors/Statements/Consolidated-Account-Statement

Executing the casparser cli utility does not return successfully.

Is this expected ?

Please note the Error and the Excalamation marks in the image below.

casparser_snippet_error

Command executed,

$ casparser <filename>.pdf -p '<$password$>'

File Type details,

File Type : FileType.CAMS
CAS Type : CASFileType.DETAILED

also, is up-to-date,

(.venv_py310) iceman@pop-os ~/D/M/Statements> casparser-isin --update
2023-08-31 00:26:23,325 - INFO - Fetching remote isin db metadata
2023-08-31 00:26:24,283 - INFO - Local db version  : 2023.8.18
2023-08-31 00:26:24,283 - INFO - Remote db version : 2023.8.18
2023-08-31 00:26:24,283 - INFO - casparser-isin database is already upto date
codereverser commented 1 year ago

Thanks for the report.

Looks like the CAS format has changed recently. Shall push an updated version in a couple of days.

isaac-philip commented 1 year ago

cool thanks, plz consider me as a reviewer.

We could have a test with the new file/format validating the changes if possible?

codereverser commented 1 year ago

cool thanks, plz consider me as a reviewer.

We could have a test with the new file/format validating the changes if possible?

I've created PR #79 with support for new files. Can you please give it a try? @isaac-philip