Hi,

I am trying to record a multi-currency exchange transaction.
Say I have an online multi-currency wallet like Paypal where I hold 20 USD 
and 0 EUR.
Additionally, I have a GBP bank account (Bank 1) and a EUR bank account 
(Bank 2)

I want to convert my 20 USD to GBP, therefore I convert them first to EUR 
within my paypal account, and then settle the transaction by sending 15 EUR 
from Bank 2 to Bank1, which will be credited in GBP.

The following works (i.e. balances well):

2021/05/31 * Currency Exchange
    Assets:Paypal            15.00 EUR
    Assets:Paypal           -20.00 USD

2021/05/31 * Currency Exchange
    Assets:Bank1           10.00 GBP
    Assets:Bank2          -15.00 EUR

However, I was trying to consolidate everything in one entry, but the 
following does not balance and throws as error when parsing:

2021/05/31 * Currency Exchange
    Assets:Paypal            15.00 EUR
    Assets:Paypal           -20.00 USD
    Assets:Bank1           10.00 GBP
    Assets:Bank2          -15.00 EUR

Question 1: Is it possible to record this transaction in a single entry? 
How?
Question 2: Why doesn't the second option above does not balance? Isn't it 
equivalent to the 1st option?

Thanks, POliveira

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/bad7e3b7-d87f-48dd-b6dc-88a7b75abacan%40googlegroups.com.

Reply via email to