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:
- Import Gnucash Files #332
- GnuCash and ledger combination
- Current working gnucash exporter?
- https://www.reddit.com/r/plaintextaccounting/comments/16xhjm5/command_line_vs_gui how to export from hledger to gnucash
- https://news.ycombinator.com/item?id=37954925 using gnucash and hledger