summaryrefslogtreecommitdiff
path: root/test/regress/1894_1.test
blob: aefca9a8682c0e80821de43c9a1ea0007acb3e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
= /Expenses:Transportation/ and not expr "has_tag(/NOTAX/)"
         Expenses:Tax                     0.2
         $account                        -0.2

2020-05-06 * Test
    Expenses:Transportation            200.00 EUR
    Assets:Bank                       -200.00 EUR

2020-05-06 * Test
    ; :NOTAX:
    Expenses:Transportation            300.00 EUR
    Assets:Bank                       -300.00 EUR

test bal
         -500.00 EUR  Assets:Bank
          500.00 EUR  Expenses
           40.00 EUR    Tax
          460.00 EUR    Transportation
--------------------
                   0
end test