On Saturday, August 31, 2024 at 9:58:01 PM UTC+2 DK wrote:

Two reasons, actually. The first one is that I get an invoice in USD. And 
the second one is that I am pedantic, and want to keep a correct record in 
my ledger.



Understood. But I still think the syntax, proposed by me covers your reasons

2024-08-01 txn "Some Service" ""
    invoice: "xxx"
    Assets:Wise:EUR                         -9.32 EUR 
    Expenses:MyComp:Operating:Software
note: "Declaration price was 10 USD" 


But I also invite you to consider the following 2 issue, which you may have 
to consider, when making business in multi-currency environment

Specifically unrealized gains and losses, which come from changing exchange 
rates as well as gains (but mostly losses), coming from exchange of funds 
with the rate, different from the one of ECB

Consider the following situation


plugin "beancount.plugins.auto_accounts"

option "operating_currency" "EUR"

2024-01-01 price EUR 1.0 USD ; ECB exchange rate

; Here you have 2000 EUR in you balance sheet report
2024-01-01 * "Opening balance "
    Assets:US:Bank      1000 USD
    Assets:EU:Bank      1000 EUR
    Equity:Opening-Balances

; When the EUR / USD exchange rate changes, your net worth (when measured 
in EUR) drops by 500 EUR. 
; Do you need to reflect this somehow in your books? If so, how?
2024-01-02 price EUR 2 USD 

; Now you decide to move all your USD to EUR, but the bank offers an 
exchange rate, different from the ECB rate, which 
; decreases your net worth by another 100 EUR.
; Do you need to reflect this somehow in your books? If so, how?
2024-01-03 * "Move all USD from the US bank to the EU bank"
    Assets:EU:Bank  400 EUR @2.5 USD ; <==This is 2.5, instead of the 
official 2.0
    Assets:US:Bank -1000 USD

; Now you have 1400 EUR in your balance sheet report without you having had 
any income or expenses.
; Will you have do explain this somehow?


-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" 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/beancount/2bd1113a-6258-4d93-b630-5f13a2245f78n%40googlegroups.com.

Reply via email to