GnuCash allows you to update the Currency Exchange Rates in two different ways, manual and automatic. In the following two sections we will work through both ways.
Before we start, lets have a quick look at the Chart of Accounts
Open the Price Editor by going to Tools -> Price Editor.
Click on the Add button to add a new currency exchange. A window will appear to allow you to select the commodity you wish to define the exchange rate for. Click on Select and set the Type to Currency and the Currency/security to EUR (Euro). This window should appear like this:
Click Ok and in the Select Commodity window, set the exchange rate between the selected commodity and the selected currency. In this example, you will set the exchange rate to 1 EUR to 1 USD.
Observe that since you have no exchange rate for HKD, GnuCash do not convert the HKD accounts to USD. This will be added in the next section.
In the previous section you saw how you could manually define a new currency exchange rate, but there must be an easier way to do it. And there is.
Open the Price Editor by going to Tools -> Price Editor.
Click on the Get Quotes button to automatically load the various exchange rates you need.
Note | |
---|---|
If the Get Quotes button is disabled, that means that the perl module Finance::Quote is not installed. For information on how to install it, please see Configuring for automatic retrieval of quotes |
You noticed that GnuCash will download exchange rates for all currencies you are using in your various accounts. This will happend everytime you click on Get Quotes or have GnuCash downloading quotes/exchange rates automatically as per Configuring for automatic retrieval of quotes
And if you check the main Chart of Accounts you now see that GnuCash has automatically converted the HKD amount to USD amount on the parent accounts that are in USD, as well as on the Total (USD) column. Also the Euro accounts have been been updated with the latest exchange rate.
Currency Quote retrieval will start from the time you create an account with a non-default currency. However, it will not stop when you delete these accounts from GnuCash.
When you have deleted the last account for one particular currency, and you do not wish to get currency updates for this currency anymore. Do the following;
Tools -> Price Editor
Expand the CURRENCY row
Double click on the Currency you want to disable Exchange Rate retrieval for.
Unselect the Get Online Quotes