Hacker News new | past | comments | ask | show | jobs | submit login

I initially thought that it had to be either/or and when I switched to beancount I was sorely missing then simple balance reports from ledger.

What I’ve been doing lately is just generating ledger-formatted ledger on the fly for this that I used ledger before, while still benefiting from the strict beancount format, balance assertions and such that ledger doesn’t have




https://www.ledger-cli.org/3.0/doc/ledger3.html#Balance-asse...

It appears ledger does have balance assertions.


oh nice, thanks for sharing, I wasn't aware of that :-)

It seems though that the assertions are attached to transactions. The way I use balance assertions on beancount is that, say, payday after balancing everything I'd enter

> 2022-01-30 balance Assets:Bank 500.00 USD

and that will ensure that whatever happens, even if I need to go back in time to clear transactions, the amount needs to be that one, and that balance is usually straight from my current bank balance.

So, it seems slightly different use case that ledger's balance assertion




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: