# 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](https://docs.digitalriver.com/salesforce-lightning/salesforce-lightning-b2b-commerce-app-2.1/step-8-configure-and-synchronize-the-products#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 %}

{% hint style="info" %}
**Note:**  Skip this step if you are using SKU groups. This step is only required if you are NOT using SKU groups.
{% 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.\
   ![](https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/pm2umyFT9hs6hIRTtD7r/CSV%20mapping.png)
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="<https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/N9YhOsPdDGuuCGEdQIzR/Tax%20Code%20Mapping.csv>" %}

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

{% file src="<https://content.gitbook.com/content/3R66sN5xrbmDAJUBEoHo/blobs/E5JDSKy39dWB3VUln1Ee/Approved%20ECCN%20Codes.csv>" %}
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: 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.1/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.
