Our great sponsors
-
full-fledged-hledger
Tutorial on Hledger setup with multi-year files, multi-source imports and a range of auto-generated reports
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Here's a cleaned up version of the Makefile I use. I keep journals, csv files and their rules in one finance directory. The makefile moves downloaded csv files there and imports them. It could be as simple as:
I mostly followed a system like adept's fully fledged hledger but from scratch, but the concept is the same. I have import folder with bunch of importers from different sources all built with the same structure, 3 folders (in, csv, journal) which in order are the raw format of the source (.xls, .csv, .pdf), a csv pre-process version of the source data, and the final processed journals. In the root of the importer I have a in2csv and a csv2journal script files to handle the processing. You can have this scripts in whatever language you're comfortable working (even bash scripts will get most of the work in simple workflows).