The "Importing External Data in Beancount" document says: "Beancount does not currently provide a mechanism to automatically categorize transactions. You can build this into your importer code. I want to provide a hook for the user to register a completion function that could run across all the importers where you could hook that code in."
I have several importer scripts now that work as as well as beancount's OFX import, but I'd like to assign account names, payees, narrations and meta-data automatically. At the moment I pipe the output of bean-extract to a Perl file to add the data, but there must be a better way. What would be an elegant way to wrap the importers into code that can run over the entries and improve the transactions? I looked at some importers on GitHub and I haven't seen anything. I believe smart_importer does something like that, but I couldn't figure out how it works or how I could do the same (without smart_importer). (My Python isn't fantastic.) -- Martin Michlmayr https://www.cyrius.com/ -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20200409021523.GC5254%40jirafa.cyrius.com.
