Alen, if you can get your ledger journal into hledger, recent hledger
will do a pretty good job of converting it to a valid beancount journal.
Eg, perhaps:
ledger print | hledger -f- -I print -o foo.beancount
I forget what specific problems I hit with ledger2beancount. But
generally, it's not easy to make a robust ledger to beancount converter
because Beancount's syntax is much less permissive than Ledger's.
https://hledger.org/1.41/hledger.html#beancount-output
discusses most of the conversion issues I found and worked around
(a few more are not yet handled).
On 2025-02-08 03:01, Martin Michlmayr wrote:
* Alen Šiljak <goo...@alensiljak.eu.org> [2025-02-08 03:59]:
Would you have any recommendations for a Ledger-cli importer? Martin used
to maintain ledger2beancount and I'm wondering if that is still the case
and if it is up-to-date with v3 of Beancount.
Otherwise I might spend some time and try to adapt it.
ledger2beancount is pretty feature complete as far as I'm concerned,
although there are a number of outstanding issues, including some
minor v3 updates (as Zack pointed out).
I'd definitely appreciate feature requests, bug reports and patches.
Your feedback might prompt me in fixing the remaining outstanding
issues.
--
You received this message because you are subscribed to the Google Groups
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to beancount+unsubscr...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/beancount/d0caf113-4fa7-425f-82f8-8d29ff929475%40joyful.com.