> For the complete documentation index, see [llms.txt](https://docs.mydbsync.com/cloud-workflow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mydbsync.com/cloud-workflow/tutorials/salesforce-and-quickbooks/multicurrency-in-quickbooks-to-salesforce-integration.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
