hledger and GnuCash
Tips for co-using/converting/switching GnuCash and hledger.
Relevant data conversion tools include:
- Old 2.x versions of Ledger had some ability to read one of GnuCash's data formats
- gnucash2ledger.py (2014, python, reads SQLite)
- piecash (2015, python, reads SQLite/MySQL/Postgres)
- gnucash-to-beancount (2017, python, reads SQLite) (then use beancount2ledger)
- gcash2ledger.py (2018, python, reads uncompressed XML)
- gnucash2ledger (2023, python, reads compressed/uncompressed XML)
Related discussion: