{"repo":"felgru/bank-statement-parser","free":true,"listed":false,"github":"https://github.com/felgru/bank-statement-parser","clone":"git clone https://github.com/felgru/bank-statement-parser.git","description":"scripts to import bank statement PDFs into hledger files","language":"Python","stars":28,"topics":["ledger","hledger","finance","accounting","plaintext-accounting"],"license":null,"category":"trading","readme_excerpt":"Bank Statement Parser scripts to import bank statement PDFs into hledger files Supported banks: ABN AMRO BNP Paribas ING.de ING.fr Mercedes-Benz Bank VTB Direktbank Not actual banks, but bank statement-like files: PayPal csv reports Payslips: PayFit Bouygues Télécom Thermo Fisher Scientific Usage To parse a single bank statement PDF you can use the parse-bank-statement.py script. For bulk imports you can use the import-bank-statements.py script that tries to parse all bank statements found in / . For each bank statement file it creates a corresponding hledger file in one of multiple configurable ledger directories. Those directories can be changed in the configuration file $XDG CONFIG HOME/bank-statement-parser/import.cfg (where $XDG CONFIG HOME defaults to $HOME/.config if unset). The default is /accounting/incoming and can be set via the incoming dir key in the common section. Ledger directories can be configured by adding a new section with a ledger dir entry. Here's an example configuration file with one ledger dir at /accounting/bank statements : If you have more than one ledger config section in your import.cfg , you have to have a file $XDG CONFIG HOME/bank-statement-parser/select ledger.py that contains a function that maps the metadata of a bank statement (normally containing IBAN, account owner and other identifying data) to a section name from your import.cfg . The abovementionned scripts are compatible with Python 3.9 or later. To parse PDF files the bank statemen","default_branch":null,"files":null,"tree":[],"storefront":"/r/felgru","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/felgru/bank-statement-parser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}