Files @ 8aa83cee1e89
Branch filter:

Location: NPO-Accounting/npo-ledger-cli/rounding/bug_reports/dir-commodity-precision.test

bkuhn
E.g. of invoice for conference w/ split IncomeType

An example of an invoice for a conference where the income type is split
between RBI and Donations. Include a ledger reporting example that
shows the total of donations, and explain in the documentation why
that's useful.
D 1000.000 EUR
commodity EUR
  precision 2
  default

2012-01-01 *
   A                        1 AAA @@ 10.00 EUR
   A                        1 BBB @@ 20.00 EUR
   C

P 2012-07-01 AAA 10.123 EUR
P 2012-07-01 BBB 20.123 EUR 

test -V bal
          30.240 EUR  A
         -30.000 EUR  C
--------------------
           0.240 EUR
end test