Imagine I have the following ledger file where I've bought two books,
one in australia where gst applies and one from overseas where there
is no gst.

I need to report to the tax office the amount

= tag gst and /^Expenses/
        $account                        -0.090909091
        Liabilities:GST                  0.090909091

2010/06/08 Book in oz
        ; :gst:
        Assets:Bank                                 AUD -11.00
        Expenses:Book

2010/06/08 Book from overseas
        Assets:Bank                                 AUD -10.00
        Expenses:Book

What I'm interested in doing is getting a report that is the amount I
spent on expenses which had gst on them.

So in the above case I want to discover that I've spent $10 on
expenses which had gst applied to them.

I am using ledger 3.0

I've tried the following

ledger -f test.dat bal 'expenses and tag("gst")'

Reply via email to