[GNC] Split Credit card transaction w/ two currencies

Fred Tydeman tydeman.fred at gmail.com
Sat Nov 12 17:04:06 EST 2022


I am running Linux Fedora 36.
I am running GnuCash 4.12 (2022-09-24)
My main currency is USD (US dollars).
I am using Trading Accounts.

I had a meal in Colombia with a friend.
I paid for everything with a credit card,
and the friend gave me pesos for their part.

If I enter the two parts as two separate transactions,
all is OK.  That is, when I enter the USD of the COP part,
I get a popup asking for the exchange rate, which I enter
and the correct amount is transferred to the COP account.

In a credit card account, when I enter a split transaction
that has part of the charge be in USD and the other part
in COP (Colombia Pesos), I am getting bad results in the
COP account.  While I get a popup asking about the
exchange rate, the results are wrong in the COP account.

The parts are:
26.63 Liabilities:Credit Cards:visa   == total charge
14.78 Expenses:meals     == mine
11.85 Assets:Investments:$colombia => 50,000 COP  == theirs

There are 4219.41 COP per 1 USD on that date.

Assets:Investments:$colombia is a Cash account with
COP currency.

My guess about the problem is: GnuCash in adding the
splits for Trading:CURRENCY:USD and Trading:CURRENCY:COP
has problems with a credit card transaction that has
splits.


More information about the gnucash-user mailing list