Sumit icon

Sumit

Interact with Sumit Accounting API

General → Get Exchange Rate

AI-generated

Summary

Retrieve the currency exchange rate for a specified date between two currencies.

Inputs

  • Date — Date for which to look up the exchange rate; if omitted, the current date is used.
  • Currency From (required) — Source currency code as a string (e.g., USD).
  • Currency To (required) — Target currency code as a string (e.g., ILS).

Output shape

a single JSON object containing the exchange rate and related information from the Sumit API response.

The returned data corresponds to the API response for the exchange rate query for the provided date and currency pair. If multiple input items are processed, the output is an array of such JSON objects paired to each input item. Errors for individual items are returned as JSON error messages if 'continueOnFail' is enabled.

Examples

Example 1: Get exchange rate from USD to ILS for today's date

Set resource to 'General', operation to 'Get Exchange Rate', Currency From as 'USD', Currency To as 'ILS', and optionally provide 'Date'.

Links

Discussion