Potential contribution: Bank API libraries
Dear hledger users and devs,
I've been using hledger for a few years to run my personal and company accounts and I think it is superb. But one shortcoming vs commercial solutions has been that there's no native bank integrations beyond downloading CSV/OFX files and translating them via scripts.
Wanting something more robust, I wrote a couple of API libraries for N26 (popular EU internet bank) and Monzo (popular UK internet bank) to retrieve transactions and translate them into the native Transaction type.
Personally, I build a single executable that handles retrieval of transactions from more than one bank, invoice generation as PDF and so on. However, to best serve the community, several smaller executables a-la hledger-web might be more practical to provide a kind of "pick-n-mix" experience.
Does anybody have any thoughts as to if this is a good and welcome idea? I have thought that the set of (hedger ∧ (Monzo ∨ N26)) users might be quite small meaning that it is not worthwhile for instance.
Olivia
On Feb 19, 2023, at 06:06, Olivia Mackintosh @.***> wrote: I've been using hledger for a few years to run my personal and company accounts and I think it is superb. But one shortcoming vs commercial solutions has been that there's no native bank integrations beyond downloading CSV/OFX files and translating them.
Being a bit lazy, I wrote a couple of API libraries for N26 (popular EU internet bank) and Monzo (popular UK internet bank) to retrieve transactions and translate them into the native Transaction type and it works rather well and want to float the idea of contributing them as optional packages.
Does anybody have any thoughts as to if this is a good and welcome idea? I have thought that the set of (hedger ∧ (Monzo ∨ N26)) uses might be quite small meaning that it is not worthwhile for instance.
Absolutely!
https://github.com/simonmichael/hledger/tree/master/examples https://github.com/simonmichael/hledger/tree/master/examples , especially https://github.com/simonmichael/hledger/tree/master/examples/csv https://github.com/simonmichael/hledger/tree/master/examples/csv , and https://hledger.org/scripts.html https://hledger.org/scripts.html
are where we gather such things currently. As we gather more it could become more organised.
Hi @livmackintosh .. are you still using hledger ? Any CSV rules or tools or how-tos you'd like to share ?