API Forum

This forum is in read-only mode.
Please refer to our API support in case you have any questions.
We can be reached at api@e-conomic.com
e-conomic API developer forum

Get the current currency rate

0
Hi,

I just created a test account with data. The first thing I need to make sure of is that the ERP system and E-conomic uses the same exchange rate for the different currencies. I get the list of currencies from Currency_GetAll. When I use the currency code to get a rate through Currency_GetData, it only returns the code. Am I doing something wrong?

Thanks in advance,
Andreas
created Jun 17, 2011 by alydersen
0% Accept Rate
Q 2 A 1 C 0

1 Answer

0
Hi,

Exchange rates in e-conomic aren't just tied to a currency code, but also specific dates.

Furthermore, we unfortunately cannot expose these directly in the API at this time, due to licensing restrictions in the commercial exchange rate feed we use.

However, if you simply wish to make sure e-conomic uses specific rates for specific entries and/or invoices, that's no problem: Invoices have an ExchangeRate field which you should fill out anyway - and for entries, you fill out both the currency and default currency amount, thus allowing you to calculate the latter using your exchange rate of choice.


Best regards,
answered Jun 17, 2011 by Christian Estrup
Visma e-conomic A/S
...