# Ledger, hledger, and Beancount: Plain Text Accounting Turns 23 and Still Refuses to Die

> Hacker News story 50756452 · language: en · submitted 2026-12-04
> Web version: https://zeli.app/story/50756452
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 160 · by [saikatsg](<https://news.ycombinator.com/user?id=saikatsg>) · 💬 64
[original](<https://plaintextaccounting.org/>) · [HN discussion](<https://news.ycombinator.com/item?id=50756452>)

## Summary

Plain Text Accounting is a community portal for bookkeeping with plain text files and command-line tools like Ledger, hledger, and Beancount. The site catalogs over 30 implementations, a feature matrix, and extensive docs, videos, and cookbooks. Ledger dates to 2003 and has 5.9k stars; hledger and Beancount remain active. Maintained by hledger lead Simon Michael, it's a hub for a niche that values transparency and version control over proprietary software.

## Key quote

> Plain text accounting is a way of doing bookkeeping and accounting with plain text files and efficient, command-line-friendly software like Ledger, hledger, or Beancount.

## HN discussion (64 comments)

### [NoboruWataya](<https://news.ycombinator.com/item?id=50760244>)

> The problem with using (non-local) LLMs for PTA is that you end up sending all of your financial data to Anthropic/OpenAI, which is a privacy nightmare. A good local model would of course solve this and in theory you shouldn't need too beefy a model to categorise your financial transactions, but I haven't spent much time playing around with them (would be happy to receive recommendations for small models).
>
> The `smart_importer` plugin already gives you a way to automatically guess at the appropriate accounts for transactions (based, I assume, on some old pre-LLM machine learning or similar). It's okay but quickly falls apart on transactions that don't look extremely similar to past ones.
>
> Manual journaling (with help from `smart_importer`) isn't so bad if you keep it up regularly. You need to appreciate the process though. It can feel like a real chore downloading, importing and categorising all of your transactions but at the same time it's probably no bad thing to review your finances like that occasionally.
>
> Personally I moved to beancount from GnuCash which I used for years. Mainly to have more flexibility to use my own scripts, etc. It takes a bit more work to set up but have had no issues since.

### [inanutshellus](<https://news.ycombinator.com/item?id=50761336>)

> I'm not interested in connecting my finances to an LLM, but I'm happy to use an LLM-developed app or to use an LLM to keep an app up-to-date with current laws.
>
> I've done my own taxes for years, but this year I'm running an LLC (S-Corp technically) for the first time, so I'm considering how to scale up and do my own taxes with this whole new "self employed" concept.
>
> I've seen a couple tax projects on github but I haven't yet gone and done my own taxes as a business owner yet.
>
> Have any of you?
>
> \--
>
> https://github.com/emmilco/us-tax-model (via https://news.ycombinator.com/item?id=50275626)
>
> “Publicly available tax calculators (PolicyEngine, UsTaxes, OpenTaxSolver, etc.) are used to cross check derived numbers from this system”
>
> https://github.com/IRS-Public/direct-file
>
> https://github.com/IRS-Public/fact-graph
>
> https://github.com/column-tax/tax-calc-bench

### [nickjj](<https://news.ycombinator.com/item?id=50760836>)

> This isn't covered in detail on that page (but it's mentioned), but I do plain text accounting with https://github.com/nickjj/plutus.
>
> It's a single file Python script that lets you fully manage how you track income and expenses on the command line as well as generate reports from your data. It supports importing CSVs in a general way so you can import bank CSV exports or anything you'd like. It also supports manual entry with a bunch of quality of life things to help validate / lint your data.
>
> Unlike Ledger and other tools, Plutus uses a CSV file as its source of truth so it's portable and can be used in other tools if you want.
>
> I use it to help file my taxes every year, it takes me literally 15 minutes once a year to have the final numbers with a complete breakdown of business income, business expenses and personal expenses. I import CSVs from multiple sources.
>
> It's 100% hand coded and can generate a full report on 100,000 items in ~500ms on 12 year old hardware.
>
> I used to use GnuCash for ~10 years but replaced it with Plutus. I also imported everything from GnuCash and ran the same reports, everything lined up to the cent. There's also an extensive test suite and a way to play around with the tool using auto-generated demo data.
>
> The readme has more details along with a demo video.

### [mauvehaus](<https://news.ycombinator.com/item?id=50760468>)

> A lot of discussion about using AI for this. I'm not really sure I see the point of that. I used Quickbooks desktop and Freshbooks prior to switching to hledger, and the whole appeal of using hledger has been that I understand everything that's happening.
>
> My business admittedly has very simple books (a checking account, a Visa, some vendors and clients), but I can explain everything from the transaction import process through to the reports. The whole thing was pretty opaque to me when I was using QB and Freshbooks.
>
> hledger has really good tools for importing transactions from CSV files from your bank, by the way. If you can download those, you can probably write a rules file to import the transactions into journal files. I don't see a huge upside to having an LLM guess my intentions in light of this.
>
> hledger also lets you set up balance assertions. I pull my monthly statement balance, and set one that on the date of the statement closing, hledger's balance for my bank accounts is equal to my statement balance. Transfers between bank accounts (paying the Visa bill) go through a couple synthetic accounts, and I have balance asssertions set up to ensure a zero balance in those at the end of the year.
>
> I spent maybe half a week setting things up from scratch last January, and keeping things up to date monthly now takes about 10-15 minutes depending on how many checks I've had to deal with. Those don't come with enough information in the CSV files to categorize/annotate them autom […]

---

## Cite

- Page: https://zeli.app/story/50756452
- Date: 2026-12-04
- Source: plaintextaccounting.org (https://plaintextaccounting.org/)
- Hacker News: https://news.ycombinator.com/item?id=50756452

## Other languages

- zh: https://zeli.app/zh/story/50756452 · markdown: https://zeli.app/zh/story/50756452.md
- ja: https://zeli.app/ja/story/50756452 · markdown: https://zeli.app/ja/story/50756452.md
- ko: https://zeli.app/ko/story/50756452 · markdown: https://zeli.app/ko/story/50756452.md
- de: https://zeli.app/de/story/50756452 · markdown: https://zeli.app/de/story/50756452.md
- es: https://zeli.app/es/story/50756452 · markdown: https://zeli.app/es/story/50756452.md
- ru: https://zeli.app/ru/story/50756452 · markdown: https://zeli.app/ru/story/50756452.md
