Tax Region

In this document, you’ll learn about tax regions and how to use them with the Region Module.

Looking for no-code docs? Refer to this Medusa Admin User Guide to learn how to manage tax regions using the dashboard.

What is a Tax Region?#

A tax region, represented by the TaxRegion data model, stores tax settings related to a region that your store serves.

Tax regions can inherit settings and rules from a parent tax region.


Tax Rules in a Tax Region#

Tax rules define the tax rates and behavior within a tax region. They specify:

  • The tax rate percentage.
  • Which products the tax applies to.
  • Other custom rules to determine tax applicability.

Learn more about tax rules in the Tax Rates and Rules guide.


Tax Provider#

Each tax region can have a default tax provider. The tax provider is responsible for calculating the tax lines for carts and orders in that region.

You can use Medusa's default tax provider or create a custom one, allowing you to integrate with third-party tax services or implement your own tax calculation logic.

Learn more about tax providers in the Tax Provider guide.

Was this page helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break