Plain Text Accounting
- plaintextaccounting.org
- By saikatsg
- 131 points
- 52 comments
Discussion
Source linksShowing up to 12 top-level comments in Hacker News order.
-
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
-
The intro to BeanCount written by the author of the program was horrible. It claims that it is written from a Computer Scientist's point of view and that it will explain the benefits of double-entry accounting. It never does. The message I came away with was that single-entry accounting can be the same as double entry as long as the the same metadata is collected. I know that not what the author intended, but they never explained the benefits.
-
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.
-
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 automatically. All my orchestration is via Makefile. It's honestly painless at this point.
-
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.
-
I've been using plain text accounting for years! But always struggled to get my bank statements imported correctly while using the Python beancount libary, so I built my own based on Go :) https://github.com/robinvdvleuten/beancount
-
PTA is great, especially with AI agents. I use hledger, which has deterministic checks like balance assertions. And AI agents are good at investigating discrepancies and fixing the underlying entries until those checks pass. And if your bank doesn’t offer a way to access your transactions programmatically, you can just throw a PDF at the agent or use something like Chrome DevTools MCP to let it read the transactions from your online banking portal. And you can set things up so that AI providers never see your actual data.
-
A question I haven't found an answer for yet: how do I enter the food I bought into such a system? Is a hot-dog an asset that depreciates when I eat it later tonight?
-
I discovered beancount a couple of years ago and really like the concept of plain text accounting. I wanted to do a first real rust project so I wrote my own software for doing double entry accounting called Sou: https://github.com/fotisk07/sou I have been using it for a while to handle my personal financial life and absolutely love it
-
big fan. I moved all my finances to hledger a few years back and it's been amazing. LLMs wrote parsers for all my banking services and now everything is imported to the cent into ledgers that are updated every month.
-
Excellent. I love the idea but I was never able to keep up with the journaling. I will now have Claude make me a Telegram bot to whom I can send pictures of bills and yadda yadda in the end everything will land as a beancount transaction in a file in my computer. And finally I will become the master of my money.
-
How many pages on this site would I have to randomly choose to click on and read before it actually shows me whatever the hell it does? I gave up after four.