Giter VIP home page Giter VIP logo

hdfc-credit-card-statement-parser's Introduction

HDFC Bank Credit Card Statement Parser

Extracts information from an HDFC Bank Credit Card statement. This will help copy structured data out of your statement.

This was built for personal use and does not guarantee accuracy. Always cross check extracted data with your pdf for mistakes

Usage

  1. Setup a virtual env and activate a virtual environment (optional)

    $ sudo apt install -y python3-venv
    $ python3 -m venv env
    $ source env/bin/activate
    
  2. Install requirements

    $ pip install -r requirements.txt
    
  3. Copy credit card statement PDFs to ./input/ folder

  4. Update the password in run.sh

  5. Run the script ./run.sh

    Sample output:

    Processing: ./input/2021-09-10.PDF
    Processed ./input/2021-09-10.PDF. Total due should be 39432.229999999996
    Output file: ./output/2021-09-10.csv
    

    Example of the output csv is shown in example-output.csv in this repo.

  6. Cross check the data and make sure the extracted information is correct.

Notes

  • It extracts both Indian and Foreign transactions. For Foreign transactions, the Forex Amount and Forex Rate is also extracted
  • Cr/Dr column is also included
  • I might have missed out testing for some types of transactions in the statement. Create a PR if you had to fix something to make it work for you

hdfc-credit-card-statement-parser's People

Contributors

xaneem avatar midlajc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.