# Currency code

Source: https://developer.avalara.com/vat-erp/transactions/certification-requirements/currency-code/

**Element type:** Required

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

Your integration must allow users to specify the three-character ISO 4217 currency code for a transaction. You can add a `currencyCode` at the document level only. If a user specifies this, and this is different than the currency the tax liability needs to be reported in, then they must also provide an `exchangeRateCurrencyCode` and an `exchangeRate` for conversion to the reporting country.

[![Closed](https://avalara-devdocs-prod.mcoutput.com/vat-erp/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",  ...} 
```