Skip to content

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

License

Notifications You must be signed in to change notification settings

denibertovic/s2hl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:denibertovic/s2hl.git

  3. Build:

    cd s2hl && make build

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published