Given this journal file:
---------------------------------------------------------------
P 2011/12/20 EUR CHF 1.218
2011/12/20 Billing Customer
Creditor EUR 2992.50
Withholding Tax EUR 157.50
Income EUR -3150.00
P 2011/12/28 EUR CHF 1.2100
2011/12/28 Partial Payment from Customer
Bank CHF 2365.55
Exchange rate correction CHF 54.45
Creditor EUR -2000.00
---------------------------------------------------------------
I get the following balances:
$ ledger -f dt balance
CHF 2365.55 Bank
EUR 992.50 Creditor
CHF 54.45 Exchange rate correction
EUR -3150.00 Income
EUR 157.50 Withholding Tax
--------------------
CHF 2420.00
EUR -2000.00
$ hledger -f dt balance
CHF 2365.55 Bank
EUR 2992.50
EUR -2000.00 Creditor
CHF 54.45 Exchange rate correction
EUR -3150.00 Income
EUR 157.50 Withholding Tax
--------------------
CHF 2420.00
EUR -2000.00
Notice how hledger has two EUR values in the same account "Creditor".
When I remove the two lines to set the exchange rate, then hledger gives
the same balance as ledger. So, what am I doing wrong?
Regards,
Sascha
For the record: this was fixed, cf #76, #69. Thanks Sascha.