Hello.
Let's say I've got a ledger file like this:
--8<---------------cut here---------------start------------->8---
= /^Income:Salary:BigCorp/
Expense:Tax 400,00 €
Expense:Pension 100,00 €
2010-03-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking
2010-04-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking
--8<---------------cut here---------------end--------------->8---
$ ledger -f ~/Money/salary.dat print
yields
--8<---------------cut here---------------start------------->8---
2010-03-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking 1500,00 €
Expense:Tax 400,00 €
Expense:Pension 100,00 €
2010-04-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking 1500,00 €
Expense:Tax 400,00 €
Expense:Pension 100,00 €
--8<---------------cut here---------------end--------------->8---
balance and register output look reasonable too. What's even more
interesting is that with transaction of this form:
--8<---------------cut here---------------start------------->8---
2010-04-03 BigCorp
Income:Salary:BigCorp
Assets:Checking -2000,00 €
--8<---------------cut here---------------end--------------->8---
The fees are as if added and the Income is increased, exactly as I would
expect it (Income is -2500 and Assets is 2000). But why
$ ledger --actual -f ~/Money/salary.dat print
--8<---------------cut here---------------start------------->8---
2010-03-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking 1500,00 €
2010-04-03 BigCorp
Income:Salary:BigCorp -2000,00 €
Assets:Checking 1500,00 €
--8<---------------cut here---------------end--------------->8---
subtracts tax and superannuation without printing them? Is it a bug or
I've missed something in the documentation?
--
Miłego dnia,
Łukasz Stelmach