1. U4 ERPx
  2. Business cases
  3. Exchange rate updates

Exchange rate updates

Automatically retrieve and update exchange rates from the available bank API for all configured currencies and ERPx clients, ensuring accurate daily/monthly/on demand valuations for multi-currency transactions.

Key APIs used

  • GET /v1/objects/companies - Verify base currency configuration.
  • GET /v1/objects/currencies - Retrieve configured currencies from ERPx.
  • GET /v1/objects/exchange-rates - Fetch current exchange rate records.
  • POST /v1/exchange-rates - Trigger synchronisation with exchange rate provider / Bank.

Integration workflow

sequenceDiagram
    participant API as ERPx API
    participant EIT as Extension/Integration toolkit
    participant NB as Exchange rate provider

    EIT->>API: 1. GET /v1/objects/companies
    API-->>EIT: Base currency: NOK

    EIT->>API: 2. GET /v1/objects/currencies
    API-->>EIT: Configured currencies

    EIT->>API: 3. GET /v1/objects/exchange-rates
    API-->>EIT: Current exchange rates

    EIT->>API: 4. POST /v1/exchange-rates/
    EIT->>NB: Fetch latest rates 
    NB-->>EIT: Exchange rates (required currencies)
    API-->>EIT: Sync completed

    EIT->>API: 5. GET /v1/objects/exchange-rates
    API-->>EIT: Updated exchange rates

For detailed API specifications, request/response formats, and authentication details, refer to: