Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

s2hl

Master
master

A tool for converting Erste bank statements to Hledger Journal file

NOTE: This will probably on work with (csv and html) bank statements exported from Erste in Croatia.

Installation

Please see Releases page.

Usage

s2hl - A converter from Erste CSV/HTML statemets to Hledger journal format.
Requires the directory structure SOMEPATH/statements/{CURRENCY}/*.{csv,html}

Usage: s2hl-exe (-s|--statements-dir DIR) (-o|--output-dir DIR)
                (-c|--currency CUR) [--debug]
  Converts from Erste CSV and HTML statements to HLedger journal format.

Available options:
  -h,--help                Show this help text
  -s,--statements-dir DIR  Absolute path to the directory hosting bank statement
                           files.
  -o,--output-dir DIR      Absolute path to directory where to write the hledger
                           journal file
  -c,--currency CUR        Currency on the statements: HRK, USD, EUR
  --debug                  Print out results to stdout but don't actually create
                           a ledger file

NOTE: Currently the tool should work with HRK, USD and EUR currencies. But has only been tested with USD and HRK.

NOTE: When sepcifying the path to the statement files with "-s,--statements-dir DIR" not that the directory should containt subdirectories depending on which currency you're parsing. See "--help" for more details.

How to contribute

Report issues on the Issue tracker: https://github.com/denibertovic/s2hl/issues

  1. Install stack

  2. Clone the repo (or fork it first and then clone):

    git clone git@github.com:denibertovic/s2hl.git

  3. Build:

    cd s2hl && make build

About

A converter from Erste CSV/HTML statemets to Hledger journal format

Resources

License

Packages

No packages published