* Gerhard Butscher <[email protected]> [2019-07-19 07:19]: > I forgot to mention that when I do > ledger -f myledger.txt bal > that is without "WoGeno" then the income ist correctly under "Income" and > the assets stay at 30000. > What I wanted to say is that the Description WoGeno München is used for > Assets as well as for Income and ledger seems to see that as one account > when issuing the ledger bal WoGeno command.
It's not one account. If you look at the balance report you posted, there are two accounts. ledger will also display the total. 'bal WoGeno' will match all accounts that contain WoGeno. This includes your Assets:WoGeno accout as well as your Income:WoGeno:Zinsen account. If you only want to see your asset account, do 'bal Assets:WoGeno' BTW, I don't think it makes sense to put the bank name into income account names like Income:WoGeno:Zinsen. Just call it Income:Zinsen. If you want to limit a query to show only Income:Zinsen received at WoGeno, you can do: bal Income:Zinsen -l "any(account =~ /WeGeno/)" -- Martin Michlmayr https://www.cyrius.com/ -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/20190719143842.GB28573%40jirafa.cyrius.com.
