Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.34 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.34 KB

Barclays Bank statement PDF-to-CSV

NB: This only works with Business account statements! Support for personal account statements is planned, pending getting hold of an appropriate PDF.

Reads Barclays Bank statements and extracts transactions. Validates transactions against the total payments and receipts shown in the top-right of the bank statement.

Tested against 18 months' worth of bank statements exported in September 2014.

Built on Mozilla PDF.JS, which is marvellous.

In-browser version online at: http://penrosestudio.com/barclays-bank-pdf-to-csv/

Installation

Clone the git repository, then install dependencies:

git clone https://github.com/penrosestudio/barclays-bank-pdf-to-csv.git
npm install

Usage under Node.js

node statement-parser <folder>

<folder> should be a directory containing Barclays Bank statement PDFs.

Usage in a browser

Open index.html in a browser and drop a PDF onto the drop-zone.

Browsers tested and compatible:

  • Mac OS X 10.9.5:
    • Chrome 40.0
    • Safari 7.0.6
    • Firefox 35.0.1
  • Windows 7:
    • Firefox 36.0

Output

A single CSV file will be created called statements.csv.

Issues

Please submit any problems as GitHub issues on this repository.