Install the tax module

To begin using the tax-integration app, ensure that you have completed the getting started and configuration steps.

For more ideas on how you can use the tax module, refer to tax use cases.

Prerequisites

Installation

data-src=/_includes/checkout-version.md

To enable out-of-process tax management in Adobe Commerce, install the magento/module-out-of-process-tax-management module using the following command:

composer require magento/module-out-of-process-tax-management --with-dependencies

For Adobe Commerce version 2.4.5, run the following command if you encounter any issues during magento setup:install process:

magento setup:di:compile

Configuration

data-src=/_includes/checkout-configuration.md

The tax-integration app uses an App Management custom installation step to set up Commerce for you automatically.

Install

Installing the app creates a demo tax integration, My tax integration, using the /V1/oope_tax_management/tax_integration REST endpoint, allowing you to test out-of-process tax calculation right away.

Uninstall

Uninstalling the app disables this tax integration using the same endpoint. Commerce immediately goes back to calculating tax itself, instead of calling out to the app. If you re-install the app later, the same tax integration is turned back on, instead of being created again.

Limitations

This extension overrides the class Magento\Tax\Model\Sales\Total\Quote\Tax in the di.xml file

<preference for="Magento\Tax\Model\Sales\Total\Quote\Tax"
                type="Magento\OutOfProcessTaxManagement\Model\Tax\Sales\Total\Quote\Tax"/>

As a result, this extension is not compatible with other tax extensions that also override this class, such as TaxJar or Avalara.

If you need to use another tax extension, Adobe recommends disabling this extension to prevent conflicts.