On 24/12/2021 20:00, o1bigtenor wrote:
On Fri, Dec 24, 2021 at 10:08 AM Daniele Nicolodi <[email protected]> wrote:

On 22/12/2021 07:16, psionl0 wrote:
I'm not sure I see the problem. Ledger is designed to have any
categories in any grouping you want. You might have Expenses:Electicity,
Expenses:Gas, Expenses:Food etc. Your bal report would list subtotals
for each of these categories and you could do a reg report on any
individual categories if you wanted more detail.

The goal is to leverage the existing ledger history and some machine
learning to automatically assign accounts (usually expense accounts) to
transactions when they are imported from account statements (which
usually are associated with some assets).


Greetings

If you are willing and able to share what you come up with I would love
to try something like this.

I quickly uploaded the code here https://gist.github.com/dnicolodi/063d1898f4deb2ca64f7df0ef410333e

It can be used as a standalone script or can be integrated into a Beancount importer. Making it work with Ledger syntax would require some adaptation.

Cheers,
Dan

--

--- You received this message because you are subscribed to the Google Groups "Ledger" 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/ledger-cli/3c63b435-1593-3dc0-18fd-703e4822cdea%40grinta.net.

Reply via email to