# Multicurrency in QuickBooks to Salesforce Integration

## Integration from QuickBooks to Salesforce

If QuickBooks is enabled with Multi-Currency, then the following changes need to be made to the mappings in DBSync.

1. Log in to your DBSync account.
2. Ensure that the Salesforce and QuickBooks connectors are validated and that you have imported the **QuickBooks Desktop/Online to Salesforce Accounts Receivable** template.
3. Open the relevant project to view the available **Automated Tasks**. Select and open the relevant **Automated Task**. You will see a list of available flows.
4. Open flow for Customer To Account sync. Open the Mapping for the first transform\&Write.
5. Add the mapping where target field = **"CurrencyIsoCode"** and add the following code under the source field:

{% code overflow="wrap" %}

```
IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("US Dollar"),
"USD",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("British Pound Sterling"),
"GBP",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("Euro"),
"EUR",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("Canadian Dollar"),"CAD",""))))

```

{% endcode %}

6. Open flow for QuickBooks transaction to Opportunity syn&#x63;**.**&#x20;
7. Add the mapping where target field = **"CurrencyIsoCode".** Then, add the following code under the source field:

{% code overflow="wrap" %}

```
IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("US Dollar"),
"USD",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("British Pound Sterling"),
"GBP",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("Euro"),
"EUR",IF(VALUE("CustomerRef/FullName/CustomerRet/CurrencyRef/FullName").equals("Canadian Dollar"),"CAD",""))))
```

{% endcode %}

8. Open the mapping for QuickBooks Desktop/Online to Salesforce Receivable and add the same mapping as shown in the example above.

This completes the Multicurrency customizations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.mydbsync.com/cloud-workflow/tutorials/salesforce-and-quickbooks/multicurrency-in-quickbooks-to-salesforce-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
