Bug? Trading accounts - wrong currency amount
Mike Alexander
mta at umich.edu
Mon Jun 9 21:48:37 EDT 2014
--On June 9, 2014 at 5:37:00 PM -0700 kyomar <markus1611 at gmail.com>
wrote:
> Hi, I cannot enter expenses/incomes in different currencies. Example:
> Home currency is JPY. I enter bank charges in AUD 2 and I get this,
> which is okay:
>
> Expenses:Bank Charges yen 180
> Trading:CURRENCY:AUD 2.00
> Assets:ANZ: 2.00
> Trading:CURRENCY:JPY 180
>
> As soon as I record the transaction it changes to this:
>
> Expenses:Bank Charges yen 180
> Trading:CURRENCY:AUD 180
> Assets:ANZ: 2.00
> Trading:CURRENCY:JPY 180
> Imbalance-AUD 178
>
> I checked this in version 2.6 and 2.6.3. on windows and debian.
>
> Would be great if some of the developers could check and confirm/fix.
> I cannot work with gnucash at the moment because I have many
> transactions with different currencies.
I enter transaction in different currencies all the time and it works
fine, so I don't think there is anything fundamentally broken. What is
the currency of Expenses:Bank Charges (JPY I assume) and Assets:ANZ:
(maybe AUD)? What is the currency of the transaction itself (this will
generally be the currency of the register in which it was entered)?
What are the exchange rates between the transaction's currency and
other currencies used?
The transaction must be imbalanced as it is entered. Each split in the
transaction has both a value in the transaction's currency and an
amount in the split's currency. In order to be balanced the sum of the
value of all the splits must be zero and the sum of the amount for
splits in each currency used in the transaction must also be zero.
Without knowing all the currencies and exchange rates it's hard to see
why this isn't true.
Mike
More information about the gnucash-user
mailing list