redstreet/reds-ramblings-comments

personal-finance/computing-taxes-with-beancount/

Opened this issue · 4 comments

Computing Taxes with Beancount — Red's Rants

This article is written for users in the US.

https://reds-rants.netlify.app/personal-finance/computing-taxes-with-beancount/

qcasey commented

Thanks for the awesome writeup! I'm learning I need to restructure a lot of my ledger before doing this automatically...

I noticed you've got an HSA, are you withholding your own taxes? I found I need to estimate my tax burden regularly (at least every quarter) and I'm still not sure how to best represent it in beancount. Do you just tally it up in a Liabilities: account?

qcasey commented

Oh wait nevermind, I just noticed your Expenses:Federal-Income-Tax:Withheld: account.

Glad it's useful! That's right. if it is an amount I expect to pay but have not actually paid it in any way yet, I book it like so:

2022-06-10 * "I expect to pay this much for capital gains"
  Liabilities:Taxes:Federal-Income-Tax:Expected  -10.00 USD
  Expenses:Taxes:Federal-Income-Tax:Pending

If I've already paid it, I use the :Withheld or :Payments:Estimated or :Payments:Filing.

BTW, a part of restructuring your ledger is modifying hierarchy, which becomes very easy if you write a script to rename accounts. (eg: using sed)