* POliveira <poliveira....@gmail.com> [2021-12-07 01:05]: > 2021/05/31 * Currency Exchange > Assets:Paypal 15.00 EUR > Assets:Paypal -20.00 USD
Typically, you should specify an exchange rate with @ or @@ to make the relationship between two currencies clear. However, if there are only two postings, ledger will do an implicit conversation for you, i.e. it does not require an explicit exchange rate (@) or exchange amount (@@). I strongly recommend to always use @ or @@ though since implicit conversations could lead to problems that are hard to track down later. > 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 This involves 3 currencies. How should ledger know the relationship between these currencies? It may be obvious to a human what you want in this case, but you'll have to tell ledger explicitly. As mentioned above, *explicit* is good anyway as it helps you avoid mistakes. -- Martin Michlmayr https://www.cyrius.com/ -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/Ya85jec3rtdZIYth%40jirafa.cyrius.com.