Links between Tax Code Module and Other Modules
This document showcases the module links defined between the Tax Code Module and other Commerce Modules.Summary
The Tax Code Module has the following links to other modules:| First Data Model | Second Data Model | Type | Description |
|---|---|---|---|
| ProductCategory | TaxCode | Stored - many-to-one | Associates product categories with tax codes for tax classification |
Product Module
Mercur defines a link between the Product Module’sProductCategory data model and the Tax Code Module’s TaxCode data model. This allows product categories to be associated with specific tax codes for proper tax calculation and compliance.
Retrieve with Query
To retrieve the tax code of a product category with Query, passtax_code.* in fields:
- query.graph
- useQueryGraphStep
Manage with Link
To manage the tax code of a product category, use Link:- link.create
- createRemoteLinkStep