redstreet / reds-ramblings-comments

0 stars 0 forks source link

personal-finance/structuring-your-source-tree/ #8

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

Structuring Your Source Tree — Red's Rants

There are many ways to structure your ledger transactions in files. The simplest is to put all your transactions in one large file. Many folks do this, and i...

https://reds-rants.netlify.app/personal-finance/structuring-your-source-tree/

richban commented 2 years ago

My importer scripts are aware of this hierarchy. TODO:

can you share the scripts?

richban commented 2 years ago

Do you also have a main.bc with all the open statements which then you reference in each our accout files?

redstreet commented 2 years ago

can you share the scripts?

Here is the patch. Adding them to the article as well.

redstreet commented 2 years ago

Do you also have a main.bc with all the open statements which then you reference in each our accout files?

Correct. I actually have them in a account-opens.bc that's included by main.bc so the latter can be short.

richban commented 2 years ago

Do you version control also the processed "files" using with bean-file?

redstreet commented 2 years ago

Do you version control also the processed "files" using with bean-file?

Do you mean the downloaded .ofx and .csv files? Yes, I do. I don't expect these to change since no tool modifies them, so this is not super important. However, there are benefits to having my git repo to be fully self contained.

musoniusr commented 4 months ago

How do you prevent duplicate transactions on these? For example, if I have X checking account and then y credit card account (that is paid using x checking account), how do you prevent duplicate debits and credits when you combine the two files?

redstreet commented 4 months ago

How do you prevent duplicate transactions on these?

See Deduping

musoniusr commented 4 months ago

Wow. This is smart.

I haven't used your plugins yet because I'm still trying to understand the basics of Beancount, but I look forward to trying them once I have a little better understanding. It seems the import of files is a key aspect to all this since it took me about an hour to manually enter about 20 transactions by hand.

Quick question - I noticed you had a .sh file to run your examples. I work with Windows 11. Do I need a .sh file to run your scripts? (Haven't done any shell scripting and I'm just learning Python)

On Sun, Feb 25, 2024 at 2:59 PM Red S @.***> wrote:

How do you prevent duplicate transactions on these?

See Deduping https://reds-rants.netlify.app/personal-finance/deduping-with-zerosum/

— Reply to this email directly, view it on GitHub https://github.com/redstreet/reds-ramblings-comments/issues/8#issuecomment-1963044602, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKX6O4QWUNIWEQA5LVKLKWDYVOJ3DAVCNFSM5KYEELRKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGMYDINBWGAZA . You are receiving this because you commented.Message ID: @.***>

redstreet commented 4 months ago

Welcome to Beancount!

Fast imports are definitely key IMHO. However, if you are new to it, it helps a lot to do things maunally at first, with learning both double entry bookkeeping and Beancount.

You don't need a shell to run my importers. They are short scripts and you can run those commands on the command line. However, it's going to be far, far more difficult to work with Beancount or command line accounting in general if you don't work out of a Unix shell of some sort. I'd recommend running Ubuntu on WSL for Windows 11, which is native to Windows and is super simple to install.

musoniusr commented 4 months ago

Thank you. I have Ubuntu on Windows 11, I just haven't used it because I haven't figured out how to move easily around the file system. I'll see if I can though. Right now I'm just using Powershell and that seems to work fine (for the moment).

I'm pretty familiar with double entry accounting and Gnucash and have played around with Ledger CLI years ago, but I really want to be able to have more control of scripting things and it seems like Python is the way to go on that for a beginner like myself (from what I've seen). Plus, I see there is a lot of activity with Beancount.

Quick question on the Deduping - can I insert that in entries I'm working on now manually so that when I try your scripts those entries are ready or would it be better not to do that?

Also, if you had me start with one of your importers to see what I should do, which would you recommend?

On Sun, Feb 25, 2024 at 3:53 PM Red S @.***> wrote:

Welcome to Beancount!

Fast imports are definitely key IMHO. However, if you are new to it, it helps a lot to do things maunally at first, with learning both double entry bookkeeping and Beancount.

You don't need a shell to run my importers. They are short scripts and you can run those commands on the command line. However, it's going to be far, far more difficult to work with Beancount or command line accounting in general if you don't work out of a Unix shell of some sort. I'd recommend running Ubuntu on WSL for Windows 11, which is native to Windows and is super simple to install.

— Reply to this email directly, view it on GitHub https://github.com/redstreet/reds-ramblings-comments/issues/8#issuecomment-1963058023, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKX6O4QDAGJNUERODBU67BTYVOQFFAVCNFSM5KYEELRKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGMYDKOBQGIZQ . You are receiving this because you commented.Message ID: @.***>

redstreet commented 4 months ago

You absolutely can enter zerosum entries manually. Makes no difference to the plugin.

Reg getting started, see: https://reds-rants.netlify.app/personal-finance/what-should-you-tackle-first/