Thanks for pointing this out, Simon!
I'm back to trying to convert the ledger this weekend and am hitting some 
issues with porting lot sales with ledger2beancount.
hledger is giving me other issues. I guess I have to consolidate the syntax 
in my ledger files first. The older data was ported from GnuCash by some 
other script, I believe.

On Monday, 24 February 2025 at 2:11:04 am UTC+1 [email protected] wrote:

> On 2025-02-23 15:01, Simon Michael wrote:
> > 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.
>
> (Also, because third party converters are never as good at reading 
> Ledger's complex journal format as Ledger itself.)
>
>
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/beancount/76f36e48-8abb-4274-b49f-62e11e4bf74an%40googlegroups.com.

Reply via email to