# Exchange rate

Source: https://developer.avalara.com/vat-ecom/transactions/certification-requirements/exchange-rate/

**Element type:** Suggested

**Endpoints/models used:** [CreateTransactionModel](https://developer.avalara.com/api-reference/avatax/rest/v2/models/CreateTransactionModel/)

AvaTax provides a method for performing invoice currency conversion. This optional feature supports use cases where a customer needs to provide their local tax authority with the invoice tax details in a local currency. The `exchangeRate` option is used in this feature to provide the exchange rate between the transaction currency and the company base currency.

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-ecom/Skins/Default/Stylesheets/Images/transparent.gif)View example](javascript:void\(0\);)

```
 {  "type": "PurchaseInvoice",  "date": "2024-07-24",  "companyCode": "CRUSH",  "customerCode": "userMP",  "code": "userMP",  "isSellerImporterOfRecord": false,  "businessIdentificationNo": "ATU12233456",  "currencyCode":"EUR",  "exchangeRate": 0.85,  "exchangeRateCurrencyCode": "GBP",  "exchangeRateEffectiveDate": "2024-07-24",  ...} 
```