docs: tax provider updates for next release (#12431)

* docs: tax provider updates for next release

* change images

* fix vale error

* fix vale errors

* generate
This commit is contained in:
Shahed Nasser
2025-05-13 14:13:17 +03:00
committed by GitHub
parent 0c698194ea
commit 76bc21ff25
18 changed files with 18716 additions and 18297 deletions
@@ -18,4 +18,24 @@ A tax region, represented by the [TaxRegion data model](/references/tax/models/T
Tax regions can inherit settings and rules from a parent tax region.
Each tax region has tax rules and a tax provider.
---
## 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](../tax-rates-and-rules/page.mdx) 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](../tax-provider/page.mdx) guide.