[GNC] Problem with a split transaction with multiple currencies

Jim DeLaHunt list+gnucash at jdlh.com
Sat Dec 20 16:14:28 EST 2025


Hello, again, Boniforti:

On 2025-12-20 01:17, Boniforti Flavio wrote:
> Hi all
>
> I've the following situation:
> [image: image.png]
> I bought the "Ibanez AD202" last summer paying EUR 271.88
> I sold this unit two weeks ago for CHF 454.-, of which CHF 10.- I had to
> spend for the shipping.
> CHF 454 were equivalent to EUR 485.77 - reflected in the first line after
> the green line on the 03.12.2025.
> I zeroed the asset value of the "Ibanez AD202" by decreasing 271.88 EUR
> from it (I don't own it anymore, so it's zero value in my assets now).
> The remaining amount had to be split in CHF 10.- for the shipping, which I
> paid by credit card, and the rest would be my earning. I wrongly selected
> the account "Expenses:Post:Shipping costs of sales" instead of
> "Liabilities:Credit Card". Now when I change this account to the correct
> one, the 10.00 amount will appear as CHF 9.35 instead - see here:
> [image: image.png]
> -->
> [image: image.png]
>
> Why is this and how can I correct it?

Good question! I can't answer it directly, but I can perhaps help you 
explain it more clearly to yourself.

As I'm sure you know, each account has its own currency (or security, 
for investment accounts). Some of your accounts have the EUR currency. 
Others have the CHF currency.

And, each transaction has a currency. When you create a transaction from 
within a given account, GnuCash sets the transaction currency to the 
currency of that account. When you add a split with a different currency 
to a transaction, GnuCash displays the Transfer dialogue to let you set 
the exchange rate between the currencies for that split of that transaction.

My suggestion is that you re-state the problem, and explicitly state 
what is the currency of each account, what is the currency of the 
transaction, and for splits where the account currency differs from the 
transaction currency, what exchange rate value you enter into Transfer 
dialogue for that split.

This is what I do when GnuCash's handling of split amounts in 
multi-currency transactions surprises me — which it often does.

I hope this helps,
     —Jim DeLaHunt




More information about the gnucash-user mailing list