logoalt Hacker News

peter_d_sherman • yesterday at 6:52 PM • 1 reply • view on HN

Hmm, this appears to be quite the accounting software ecosystem!

Prior to reading this, I was only aware of GnuCash as Open Source accounting software -- but it appears that there's been quite the development of a whole bunch of command-line based, text-based Open Source accounting software (and utilities) since around 2016 or so...

This is relevant now more than ever, because these tools, being command-line based, are perfect for AI agents (and other software that makes use of, or could make use of what they do...)

You know, if there might be something lacking from this entire ecosystem, I'm guessing that it would be a standard database type and a standard database schema for accounting that all of the tools in this ecosystem could read and write data to/from...

Oh sure, you can say "text files" are that already -- but that's not really an agreement; a consensus of all of the tools with a standard database (something like Postgres, MySQL, SQLite, etc.) and it's not really an agreement; a consensus of all of the tools on an interoperable accounting database schema -- which each tool knows how to implicitly work with...

I'm guessing there have been probably been attempts at formalizing such specifications; i.e., GnuCash (or another such open-source accounting software package's) database and schema could be used for such a default, but I'm not really sure where they are in those standardization processes, I'm not sure which tools would support it, and I'm not sure about the potential future limitations of such a schema (i.e., in which businesses or business types, under what business and/or accounting circumstances does or would such a database schema fail? SAP or BAAN or another large ERP would be the people to ask/know about such things; they serve huge international businesses and their database schemas are absolutely ginormous to handle all possible use-cases, and have been expanded many times over their lifetimes...)

Until then, text is probably the simplest, most neutral, most agreed-upon format for accounting, now we have AI which can parse it better, but I still yearn for a future with a standardized open-source accounting database and a standardized (also open) accounting schema for that database, and standardized access methods to/from that data (local JSON server? local BSON server? Something else?)

Anyway, the space of these tools, text-based or not, this evolving accounting ecosystem -- is definitely worth watching!

An excellent submission to HN, and an excellent discussion!


Replies

BeetleB • yesterday at 7:52 PM

I use KMyMoney. It's not plain text - it's a GUI. It saves everything in a compressed XML.

I pointed an LLM at the source code, and told it to document the XML schema.

Using that document, I can now have the LLM code scripts for automated data entry. It's fantastic. You could easily use it to output everything in ledger format.