---
title: "Get foreign currency exchange rate"
method: POST
path: "/accounting/general/getexchangerate/"
tags: ["Accounting (General)"]
---

# Get foreign currency exchange rate

`POST /accounting/general/getexchangerate/`

## Headers

- `Content-Language` unknown

## Request body

- AccountingGeneralGetExchangeRateRequest
  - `Credentials` CoreAPICredentials, required
    - `CompanyID` integer, required — Company identifier
    - `APIKey` string, required — API key secret
  - `Date` string, date-time, nullable — Defaults to the current date. Format should be JSON based (such as 2023-11-30).
  - `Currency_From` string, nullable — Original currency Defaults to USD
  - `Currency_To` string, nullable — Target currency Defaults to ILS

## Response `200`

OK

- ResponseAccountingGeneralGetExchangeRateResponse
  - `Status` 'Success (0)' | 'BusinessError (1)' | 'TechnicalError (2)'
  - `UserErrorMessage` string, nullable — Error message, in a user readable format
  - `TechnicalErrorDetails` string, nullable — Technical error details, let us know if you received this.
  - `Data` AccountingGeneralGetExchangeRateResponse
    - `Rate` number, double

---

[API](https://skmtc.net/myofficeguy/apis/sumit-api-full.md) · [All operations](https://skmtc.net/myofficeguy/apis/sumit-api-full/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myofficeguy/sumit-api-full/versions/de2902289b3a/schema)
