4
submitted 10 months ago* (last edited 10 months ago) by PracticalReputation@lemmy.world to c/plaintextaccounting@lemmy.world

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?

you are viewing a single comment's thread
view the rest of the comments
[-] simonmic@lemmy.world 4 points 10 months ago

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

[-] PracticalReputation@lemmy.world 2 points 10 months ago

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

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

Plain Text Accounting

151 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