# Configure tax settings

The Magento Digital River extension is responsible for providing the end tax calculation for the shopper navigating the checkout. The extension supports both tax-inclusive and tax-exclusive pricing models and handles all remittance and tax liabilities to local governments globally. However, the transactional tax is not calculated until after the shopper confirms their billing and shipping address. To ensure estimated tax and tax display is consistent throughout the pre-checkout pages, Digital River recommends the following configurations for tax, based on pricing models.

{% hint style="info" %}
**Note:** Each Magento website/store should be tax-exclusive or tax-inclusive.
{% endhint %}

## Tax settings

To ensure the correct display of taxes in all situations, please configure your Magento tax settings per the following: Navigate to **Stores**, then to **Configuration**, then to **Sales**, and then to **Tax**.&#x20;

{% hint style="info" %}
**Note:** The Digital River extension cannot be used with other Magento tax partners.
{% endhint %}

1. In the **Tax Classes** section, update **Tax Class for Shipping** to **Taxable Goods**.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQIWwy-SRY-uZdKjeZP%2FTaxClassesforShipping.png?alt=media&#x26;token=da8a71e0-ca3b-406e-91be-960d56706c53" alt="" data-size="original">&#x20;
2. In the **Shopping Cart Display Settings**, keep the **Display Full Tax Summary** set to **No**.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQIX5U3vodS45qtOEQa%2FDisplayFullTaxSummary.png?alt=media&#x26;token=a0d45fbc-9c8f-40d9-a43f-aaea29987f23" alt="" data-size="original">&#x20;
3. In the **Calculation Settings** section of the **Tax configuration**, set **Enable Cross Border Trade** to **Yes**. This will ensure proper tax treatment on any cross-border shipments on your site.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQI_Dg5Ik6tt03UW12N%2FEnableCrossBorderTrade.png?alt=media&#x26;token=e0424795-11ef-4853-b156-48efbc5f11eb" alt="" data-size="original">&#x20;

## Tax-exclusive settings

To display tax-exclusive values in the order summary prior to the checkout/#payment page, configure the following tax settings:

1. Navigate to **Stores**, then to **Configuration**, then to **Sales**, then to **Tax**, and then to **Calculation Settings**.
2. Verify **Catalog Prices** is set to `Excluding Tax` —this is the default setting.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQI_W6ixJbH5t9pD5xi%2FCatalogPrices.png?alt=media&#x26;token=8c9b406c-e25c-4196-b408-016e492f8703" alt="" data-size="original">&#x20;
3. Open the **Price Display Settings**, **Shopping Cart Display Settings**, and **Orders, Invoices, Credit Memos Display Settings** within the same settings and verify the following are also configured for `Excluding Tax` —these are the default settings.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQI_cftasWw8fQD4o-6%2FPriceDisplaySettingsExcluding.png?alt=media&#x26;token=6dea13d7-a242-4db0-91ae-125a086d5392" alt="" data-size="original">&#x20;
4. Navigate to **Stores**, then to **Tax Zones and Rates**. All supported countries (and US states) must be added to the table with an estimated tax rate. Current tax rates for each country and state sales tax can be provided by Digital River during the client implementation phase. \
   (see [https://docs.magento.com/user-guide/tax/tax-zones-rates.htm](https://docs.magento.com/user-guide/tax/tax-zones-rates.html?itm_source=merchdocs\&itm_medium=search_page\&itm_campaign=federated_search\&itm_term=tax%20zone%20rates).)\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQI_la6QRTBJ1suHW8a%2FTaxzZonesRates.png?alt=media&#x26;token=1d30bd9f-6505-4bc6-a773-71cfafe5e65a" alt="" data-size="original"> \
   **Note:** Each store should be configured for all available ship-to countries available for that store. A purchase made from a store with tax-inclusive pricing (a German store, for example) with a shipping address from a tax-exclusive region (the United States, for example) can result in incorrect tax calculation.
5. Navigate to **Stores**, then to **Tax Rules**. Add a single tax rule for all tax rates created in step 4.

## Tax-inclusive settings

To display prices inclusive of tax in the order summary prior to the checkout/#payment page, configure the following tax settings in Magento:

1. Navigate to: **Stores**, then to **Configuration**, then to **Sales**, then to **Tax**, and then to **Calculation Settings**.
2. Update **Catalog Prices** to `Including Tax`.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQI_vbEiBfasgOJaJpR%2FCatalogPrices2.png?alt=media&#x26;token=8edccda1-d175-4e1e-ba98-1ef7dd8c57c7" alt="" data-size="original">&#x20;
3. Open the **Price Display Settings**, **Shopping Cart Display Settings**, and **Orders, Invoices, Credit Memos Display Settings** within the same settings and update the following settings to `Including Tax`.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQIa47qycDF1Xg0spUV%2FPriceDisplaySettingsIncluding.png?alt=media&#x26;token=c1e11157-1850-469b-8de4-ec528918cfc4" alt="" data-size="original">&#x20;
4. Navigate to **Stores**, then to **Tax Zones and Rates**. All supported countries using inclusive tax settings must be added to the table with the appropriate tax rate. Current tax rates for each country can be provided by Digital River during the implementation phase.\
   &#x20;<img src="https://421214189-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNZuMZbk2cjWhdeZ51z%2F-MQIVKlG-Fw4ZnqVcwb4%2F-MQIaDd_dB12PSacTNJt%2FTaxzZonesRates2.png?alt=media&#x26;token=db4729bc-7363-45f6-ab5d-e9836a8bcc54" alt="" data-size="original"> \
   **Note:** Each Magento store view or Website should be configured for all available ship-to countries available in that store.
