---
title: "A new easier method to use the Currency endpoint"
description: "The currency endpoints have been changed and a new version 2 added for Exchange rate and Rate type."
lang: en
languages:
  en: https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-08-10-a-new-easier-method-to-use-the-currency-endpoint/index.md
lastmod: 2021-08-10
---

> Documentation index: https://docs.vismasoftware.no/visma-net-erp/llms.txt


# A new easier method to use the Currency endpoint

Last modified August 10, 2021

2021-08-10


Label: api:currency-management


Version: 8.60



The currency endpoints have been changed and a new version 2 added for Exchange rate and Rate type.

GET api/v1/currency and\
GET /api/v1/currency/\{curyId\}has been extended with new columns\
"symbol": "string",\
"isBaseCurrency": true, - is only returned on the currency that is the base currency.\
"decimalPrecision": 0,\
"isUsedForAccounting": true

New version 2 of Currency rates\
GET /api/v2/currencyrate with parameter\
fromDate\
toDate\
fromCurrency\
toCurrency\
rateType

Returning\
"id": 0,\
"fromCurrencyId": "string",\
"toCurrencyId": "string",\
"rateType": "string",\
"rate": 0,\
"effectiveDate": "2021-08-04T00:00:00",\
"multDiv": "string",\
"rateReciprocal": 0

For POST the CurrencyRateID is removed as parameter and From and To Currency is part of the request.\
POST /api/v2/currencyrate\
"fromCurrencyId": "string"\
"toCurrencyId": "string"\
"rateType": "string"\
"effectiveDate": "2021-08-04"\
"rate": 0\
"multDiv": "Multiply"

For PUT the request only contain Rate and MultiDiv to avoid updating an existing Rate for a other currency/ratetype by mistake.\
PUT /api/v2/currencyrate with parameter\
currencyRateId\
"rate": 0\
"multDiv": "Multiply"

New API's for Currency rate type:\
GET /api/v2/currencyratetype\
"id": "string",\
"description": "string",\
"daysEffective": 0

POST /api/v2/currencyratetype\
"id": "string"\
"description": "string"\
"daysEffective": 0



---

[View this page](https://docs.vismasoftware.no/visma-net-erp/release-notes/2021-08-10-a-new-easier-method-to-use-the-currency-endpoint/)
