Sergey Volkov
2018-11-10 22:53:06 UTC
Hi
I wrote simple journal file:
2018-10-01 *
Assets:Cash 3000 RUB
Income:Begin
2018/10/01 *
Assets:Cash 200 USD
Income:Begin
The balance command shows me zero balance on these transactions. It's ok:
3000 RUB
200 USD Assets:Cash
-3000 RUB
-200 USD Income:Begin
--------------------
0
Then I transfered some roubles to the deposit:
2018/10/01 *
Assets:Cash -1000 RUB
Assets:Deposit
The balance is still ok:
3000 RUB
200 USD Assets
2000 RUB
200 USD Cash
1000 RUB Deposit
-3000 RUB
-200 USD Income:Begin
--------------------
0
But when I tried to convert rouble cash to usd cash I got non-zero balance:
2018/10/01 *
Assets:Cash -1000 RUB
Assets:Cash 15.38 USD
2000 RUB
215.38 USD Assets:Cash
-3000 RUB
-200.00 USD Income:Begin
--------------------
-1000 RUB
15.38 USD
It it a bug or expected behaviour? If it's expected, how can I properly
write convertation operation?
I wrote simple journal file:
2018-10-01 *
Assets:Cash 3000 RUB
Income:Begin
2018/10/01 *
Assets:Cash 200 USD
Income:Begin
The balance command shows me zero balance on these transactions. It's ok:
3000 RUB
200 USD Assets:Cash
-3000 RUB
-200 USD Income:Begin
--------------------
0
Then I transfered some roubles to the deposit:
2018/10/01 *
Assets:Cash -1000 RUB
Assets:Deposit
The balance is still ok:
3000 RUB
200 USD Assets
2000 RUB
200 USD Cash
1000 RUB Deposit
-3000 RUB
-200 USD Income:Begin
--------------------
0
But when I tried to convert rouble cash to usd cash I got non-zero balance:
2018/10/01 *
Assets:Cash -1000 RUB
Assets:Cash 15.38 USD
2000 RUB
215.38 USD Assets:Cash
-3000 RUB
-200.00 USD Income:Begin
--------------------
-1000 RUB
15.38 USD
It it a bug or expected behaviour? If it's expected, how can I properly
write convertation operation?
--
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hledger+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.