Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.84 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.84 KB

s2hl

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