Giter Club home page Giter Club logo

account-pdf2table's Introduction

account-pdf2table

Purpose

Read a PDF for a bank account and extract the table of the operations.

The purpose is to copy/paste these operations into Excel/Calc file to be imported into an accounting software like Inqom.

The 1st version was to copy/paste manually the PDF from Chrome to the application, and parse the text.

Now it can

  • read directly the PDF and its folder
  • extract the pdf as text, keeping the layout using the pdfbox library
  • be configured to find the table columns 'date', 'description', 'debit', 'credit'
  • and get operations in a table you can copy in clipboard to paste it in Excel.

Future feature: be able to open a PDF that is a scanned (aka an image) and use OCR to get the table.

Usage

  • Drag&Drop the PDF on "drop file here"
  • Choose a layout that match the bank name & click on "read layout"
  • If the operation do not appear correctly, the setting is not ok for the PDF, so, in the left text area:
    • find the start of the table header that should contain "date, description, debit, credit"
    • long press left-click on the line to highlight the date column size, from first to end, & right click and choose "date". It may contain "Date" and spaces.
    • continue for description column, debit and credit columns
    • click "read layout" and check the result. If not ok, fix repeat to fix the size of columns
    • when it's ok, give a name to this setting and click on save to save it on disk
  • Click on "copy to clipboard" to copy the operation in clipboard and paste them in Excel.
  • Click << and >> arrows to quickly open the next PDF in the folder
  • Click "Open" to open the PDF using the default system application used to open PDF

Note: "DATE: Date: 0-21 DESCRIPTION: Description 21-90" means that the DATE column contains "Date" and starts from character 0 to 21. the DESCRIPTION column contains "Description" and starts from character 21 to 90, etc.

Note

  • It uses Netbeans JPanel editor to create the panels.
  • It needs to be cleanup as it contains old code to extract texts not formatted

account-pdf2table's People

Contributors

antsfiles avatar

Stargazers

 avatar

Watchers

 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.