this post was submitted on 03 Jan 2024
4 points (100.0% liked)

Plain Text Accounting

152 readers
1 users here now

Bookkeeping and accounting with plain text files and scriptable, command-line-friendly software, such as Ledger, hledger, or Beancount.

founded 1 year ago
MODERATORS
 

In hledger I have my income set up like income:job:main (gross) and taxes are in expenses:job:tax, so when I run: $ hledger is -t job I can see my net value for my work and if I run $ hledger is -t other expenses come into play as well.

Sometimes though, I would like to be able to see the income statement view with my net for my job under Revenues and the rest of my expenses under Expenses. Is there any easy way to do this with an alias or similar?

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 4 points 10 months ago (1 children)

hledger is --alias expenses:job:tax=income:job:main should do it.

[โ€“] [email protected] 2 points 10 months ago

Thank you so much! It works exactly like I wanted!