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:
@@ -4,7 +4,7 @@ export const metadata = {
|
||||
|
||||
# {metadata.title}
|
||||
|
||||
In this document, you’ll learn how tax lines are calculated and what a tax provider is.
|
||||
In this guide, you’ll learn how tax lines are calculated using the tax provider.
|
||||
|
||||
## Tax Lines Calculation
|
||||
|
||||
@@ -64,16 +64,8 @@ The method returns tax lines for the line item and shipping methods. For example
|
||||
|
||||
## Using the Tax Provider in the Calculation
|
||||
|
||||
The tax lines retrieved by the `getTaxLines` method are actually retrieved from the tax region’s provider.
|
||||
The tax lines retrieved by the `getTaxLines` method are actually retrieved from the tax region’s [Tax Module Provider](../tax-provider/page.mdx).
|
||||
|
||||
A tax module provider whose main service implements the logic to shape tax lines. Each tax region has a tax provider.
|
||||
A tax module implements the logic to shape tax lines. Each tax region uses a tax provider.
|
||||
|
||||
The Tax Module provides a `system` tax provider that only transforms calculated item and shipping tax rates into the required return type.
|
||||
|
||||
{/* ---
|
||||
|
||||
TODO add once tax provider guide is updated + add module providers match other modules.
|
||||
|
||||
## Create Tax Provider
|
||||
|
||||
Refer to [this guide](/modules/tax/provider) to learn more about creating a tax provider. */}
|
||||
Learn more about tax providers, configuring, and creating them in the [Tax Module Provider](../tax-provider/page.mdx) guide.
|
||||
|
||||
Reference in New Issue
Block a user