[GNC] Enhancement request: multi-currency accounts

Anton Tsyganenko anton-tsyganenko at yandex.ru
Sun Oct 23 05:09:46 EDT 2022


> So, can your proposal work with this kind of structure as well? Or mest 
> the division into currencies happen at the lowest level of account?

The division happens at the lowest level, however the proposal still can 
work with this kind of structure. In this case all the multi-currency 
accounts would just have 1 sub-account for the currency, which the 
assets are nominated in.

> How do you "make an operation in this currency"?  Suppose I am entering 
> a new transaction: what is the currency of that transaction?  I think 
> there is an answer possible, but it needs to be defined.

The proposal is generally for the data structure. I don't have the full 
vision of the interface yet. Probably it would be a drop-down menu for 
currency in the ledger. It may look like this:

https://i.ibb.co/wLDDTSx/Screenshot-from-2022-10-23-12-58-20.png

Here I merged together splits for the same multi-currency account, but 
different sub-accounts for trading and cash exchange, so there is debit 
and credit in one line, but in different currencies. I'm not sure, that 
it should be done this way, but in this simple examples it looks good 
for me.

 > How do you enter a multi-currency transaction? e.g. I pay for a 
dinner > with a EUR price using my CAD credit card. The expense is in 
EUR, the > credit card is in CAD, and the card company automatically 
converts the > EUR charge to CAD and bills me in CAD. How would I enter 
that transaction?

You can use either first or second "Paying for a dinner abroad" example 
from the screenshot above. It only depends on which currency you prefer 
this expenses would be tracked in.


More information about the gnucash-user mailing list