# 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 %}
