> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/salesforce-lightning/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-7-import-eccn-codes-tax-groups-and-tax-types.md).

# Step 7: Import ECCN codes, tax groups, and tax types

{% hint style="warning" %}
You must load the ECCN codes, tax groups, and tax types and assign them to the Salesforce Lightning products in Salesforce before you do the [Product Sync](/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-8-configure-and-synchronize-the-products.md#product-synchronization).

Products missing any required fields (for example, DR Product Country Origin, DR TAXGROUP, DR TAXTYPE, and DR ECCN) will not be synced to Digital River. Digital River uses this information to calculate tax.
{% endhint %}

To import **ECCN codes**, **Tax Groups**, and **Tax Types**:

1. Click **Setup**.
2. In the **Search** field, type the `Data Import Wizard` and click **Data Import Wizard**.
3. Click **Launch Wizard**.
4. Click **Digital River Tax Mappings**.
5. Click **Add new records**.
6. Click **CSV** to upload the file.
7. Select **Choose File** and click **Next**.
8. Map the **CSV** column to the **Custom Fields** column.\
   ![](/files/m4hvh413jP6EP1rYtBOV)
9. Click **Next**, then click **Start import**.

{% hint style="info" %}
Repeat the above steps to import ECCN codes to the Digital River ECCN Lookup (Custom object).
{% endhint %}

#### **​Tax code mapping spreadsheet**

{% file src="/files/AgdhR0zvLEjcYlSfisp5" %}

#### **Approved ECCN codes spreadsheet**

{% file src="/files/fNfYQaJZt192rT0bZ8ig" %}
Tax code mapping spreadsheet[<br>](https://docs.digitalriver.com/salesforce-lightning/v/1.0/operation-and-maintenance/step-6-enable-or-disable-us-tax-certificates)
{% endfile %}


---

# 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:

```
GET https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.0/integrate-the-salesforce-lightning-app/step-7-import-eccn-codes-tax-groups-and-tax-types.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.
