hledger and Beancount
Tips for co-using/converting/switching Beancount and hledger.
See also:
- https://plaintextaccounting.org/#feature-matrix
- https://www.reddit.com/r/plaintextaccounting/comments/um1xy0/beancount_and_hledger/
- https://www.libhunt.com/compare-hledger-vs-beancount
Beancount's journal format is similar to hledger's, but different enough that neither can read the other's files.
There are two old converters: beancount2ledger and ledger2beancount. They are not actively maintained, and limited in what they support.
Since hledger 1.32, and especially in hledger 1.40.99+, the best option for exporting from hledger to beancount is hledger's print command, which supports beancount output.