README
Currencies & Exchange Rates - Deprecated 2024-01-01
Deprecation details
This service is deprecated due to 2 reasons:
- The service is developed in .NET/C#, and all Hii Retail maintained in this tribe is developed in Node.js. So the team/tribe no longer has any C# developers to maintain this service.
- The PS&M decided that currencies and denominations should no longer be maintained by each tenant. The definitions should be global for all tenants, and maintained by Extenda Retail.
The service Currency & Exchange Rate is now replaced by 2 services:
- Currency
- This contains global definitions for currencies and denominations
- Exchange Rates
- The features for this service support the same features as the old, i.e. APIs for maintaining the exchange rates.
- In addition, it is now possible to:
- Import exchange rates from the European Central Bank.
- This contains exchange rates for all European currencies and major currencies across the world.
- If importing exchange rates, the tenants/business units can set a markup, to ensure some margin to the standard exchange rates provided by the European Central Bank.
- Import exchange rates from the European Central Bank.
Currencies - Deprecated
Maintains the currencies that need to be available for the tenants.
Note! The currencies are global for all tenants, but each tenant can configure the default currency for the tenant.
Exchange Rates - Deprecated
Maintains the exchange rates for:
- The tenant:
- Field businessUnitIds are empty, this means global for all stores in the tenant.
- The business unit:
- Field businessUnitIds specifies the business unit the exchange rate applies for.
Note! When exporting to PubSub or requesting data from API, the output is calculated for each business unit. So subscribers don’t have to handle/calculate the global exchange rates.
The exchange rates are maintained for each type:
- SALES
- The exchange rate to be used for sales.
- PURCHASE
- The exchange rate to be used for purchases from suppliers.
- INTERCOMPANY
- The exchange rate used for intercompany actions, like purchasing from one business unit to another.