diff --git a/_data/sidebars/pbc_all_sidebar.yml b/_data/sidebars/pbc_all_sidebar.yml index 00ab8122d9f..821fcb7f6d6 100644 --- a/_data/sidebars/pbc_all_sidebar.yml +++ b/_data/sidebars/pbc_all_sidebar.yml @@ -3397,79 +3397,82 @@ entries: - title: Tax Management url: /docs/pbc/all/tax-management/tax-management.html nested: - - title: Avalara - url: /docs/pbc/all/tax-management/avalara/avalara.html - nested: - - title: Install Avalara - url: /docs/pbc/all/tax-management/avalara/avalara.html - - title: Install Avalara + Product Options - url: /docs/pbc/all/tax-management/avalara/install-avalara-product-options.html - - title: Install Avalara + Shipment - url: /docs/pbc/all/tax-management/avalara/install-avalara-shipment.html - - title: Apply Avalara tax codes - url: /docs/pbc/all/tax-management/avalara/apply-avalara-tax-codes.html - - title: Spryker Tax + - title: Base shop nested: - - title: Base shop + - title: Spryker Tax nested: - title: Tax feature overview - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/tax-feature-overview.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/tax-feature-overview.html - title: Install and upgrade nested: - title: Integrate the Tax Glue API - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/install-and-upgrade/install-the-tax-glue-api.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/install-and-upgrade/install-the-tax-glue-api.html - title: Integrate the Product Tax Sets Glue API - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/install-and-upgrade/install-the-product-tax-sets-glue-api.html - title: Upgrade the ProductTaxSetsRestApi module - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.html - title: Upgrade the Tax module - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/install-and-upgrade/upgrade-the-tax-module.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/install-and-upgrade/upgrade-the-tax-module.html - title: Manage in the Back Office - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-in-the-back-office/log-into-the-back-office.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-in-the-back-office/log-into-the-back-office.html nested: - title: Create tax rates - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-in-the-back-office/create-tax-rates.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-in-the-back-office/create-tax-rates.html - title: Edit tax rates - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-rates.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-rates.html - title: Create tax sets - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-in-the-back-office/create-tax-sets.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-in-the-back-office/create-tax-sets.html - title: Edit tax sets - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-sets.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-sets.html - title: Manage using Glue API nested: - title: Retrieve tax sets - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets.html - title: Retrieve tax sets when retrieving abstract products - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.html - title: Import and export data - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/import-and-export-data/tax-management-data-import.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/import-and-export-data/tax-management-data-import.html nested: - title: "Import file details: tax_sets.csv" - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/import-and-export-data/import-file-details-tax-sets.csv.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/import-and-export-data/import-file-details-tax-sets.csv.html - title: "Import file details: product_abstract.csv" - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/import-and-export-data/import-file-details-product-abstract.csv.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/import-and-export-data/import-file-details-product-abstract.csv.html - title: "Import file details: product_option.csv" - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/import-and-export-data/import-file-details-product-option.csv.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/import-and-export-data/import-file-details-product-option.csv.html - title: "Import file details: shipment.csv" - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/import-and-export-data/import-file-details-shipment.csv.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/import-and-export-data/import-file-details-shipment.csv.html - title: Extend and customize - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/extend-and-customize/tax-module-reference-information.html + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/extend-and-customize/tax-module-reference-information.html - title: Domain model and relationships - url: /docs/pbc/all/tax-management/spryker-tax/base-shop/domain-model-and-relationships/tax-domain-model-and-relationships.html - - title: Marketplace + url: /docs/pbc/all/tax-management/base-shop/spryker-tax/domain-model-and-relationships/tax-domain-model-and-relationships.html + - title: Avalara + url: /docs/pbc/all/tax-management/base-shop/avalara/avalara.html + nested: + - title: Install Avalara + url: /docs/pbc/all/tax-management/base-shop/avalara/avalara.html + - title: Install Avalara + Product Options + url: /docs/pbc/all/tax-management/base-shop/avalara/install-avalara-product-options.html + - title: Install Avalara + Shipment + url: /docs/pbc/all/tax-management/base-shop/avalara/install-avalara-shipment.html + - title: Apply Avalara tax codes + url: /docs/pbc/all/tax-management/base-shop/avalara/apply-avalara-tax-codes.html + - title: Vertex + url: /docs/pbc/all/tax-management/base-shop/vertex/vertex.html include_versions: - - "202212.0" - - "202307.0" + - "202400.0" nested: - - title: Install the Tax + Merchant Portal - Marketplace Product feature - url: /docs/pbc/all/tax-management/spryker-tax/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.html - - title: Vertex - url: /docs/pbc/all/tax-management/vertex/vertex.html + - title: Install Vertex + url: /docs/pbc/all/tax-management/base-shop/vertex/install-vertex.html + include_versions: + - "202400.0" + - title: Marketplace include_versions: + - "202212.0" - "202307.0" nested: - - title: Install Vertex - url: /docs/pbc/all/tax-management/vertex/install-vertex.html + - title: Install the Tax + Merchant Portal - Marketplace Product feature + url: /docs/pbc/all/tax-management/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.html + - title: User Management url: /docs/pbc/all/user-management/user-management.html nested: diff --git a/docs/pbc/all/tax-management/202307.0/avalara/apply-avalara-tax-codes.md b/docs/pbc/all/tax-management/202307.0/base-shop/avalara/apply-avalara-tax-codes.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/avalara/apply-avalara-tax-codes.md rename to docs/pbc/all/tax-management/202307.0/base-shop/avalara/apply-avalara-tax-codes.md diff --git a/docs/pbc/all/tax-management/202307.0/avalara/avalara.md b/docs/pbc/all/tax-management/202307.0/base-shop/avalara/avalara.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/avalara/avalara.md rename to docs/pbc/all/tax-management/202307.0/base-shop/avalara/avalara.md diff --git a/docs/pbc/all/tax-management/202307.0/avalara/install-avalara-product-options.md b/docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara-product-options.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/avalara/install-avalara-product-options.md rename to docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara-product-options.md diff --git a/docs/pbc/all/tax-management/202307.0/avalara/install-avalara-shipment.md b/docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara-shipment.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/avalara/install-avalara-shipment.md rename to docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara-shipment.md diff --git a/docs/pbc/all/tax-management/202307.0/avalara/install-avalara.md b/docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/avalara/install-avalara.md rename to docs/pbc/all/tax-management/202307.0/base-shop/avalara/install-avalara.md diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/domain-model-and-relationships/tax-domain-model-and-relationships.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/domain-model-and-relationships/tax-domain-model-and-relationships.md similarity index 94% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/domain-model-and-relationships/tax-domain-model-and-relationships.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/domain-model-and-relationships/tax-domain-model-and-relationships.md index c665a206907..4787d6d64c4 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/domain-model-and-relationships/tax-domain-model-and-relationships.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/domain-model-and-relationships/tax-domain-model-and-relationships.md @@ -8,6 +8,7 @@ redirect_from: - /docs/scos/dev/feature-walkthroughs/202307.0/tax-feature-walkthrough/tax-feature-walkthrough.html - /docs/scos/dev/feature-walkthroughs/202307.0/tax-feature-walkthrough/tax-feature-walkthrough.html - /docs/pbc/all/tax-management/202307.0/domain-model-and-relationships/tax-domain-model-and-relationships.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/domain-model-and-relationships/tax-domain-model-and-relationships.html --- diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/extend-and-customize/tax-module-reference-information.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/extend-and-customize/tax-module-reference-information.md similarity index 97% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/extend-and-customize/tax-module-reference-information.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/extend-and-customize/tax-module-reference-information.md index ce00904a9de..f9c0057a12c 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/extend-and-customize/tax-module-reference-information.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/extend-and-customize/tax-module-reference-information.md @@ -8,6 +8,7 @@ redirect_from: - /docs/scos/dev/feature-walkthroughs/202307.0/tax-feature-walkthrough/reference-information-tax-module.html - /docs/scos/dev/feature-walkthroughs/202307.0/tax-feature-walkthrough/reference-information-tax-module.html - /docs/pbc/all/tax-management/202307.0/extend-and-customize/tax-module-reference-information.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/extend-and-customize/tax-module-reference-information.html --- diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-abstract.csv.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-abstract.csv.md similarity index 93% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-abstract.csv.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-abstract.csv.md index 82e5d3bcd0c..7e62e88ff45 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-abstract.csv.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-abstract.csv.md @@ -6,6 +6,7 @@ redirect_from: - /docs/pbc/all/tax-management/202307.0/import-and-export-data/import-file-details-product-abstract.csv.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-product-abstract.csv.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-product-abstract.csv.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-abstract.csv.html --- This document describes how to import taxes for abstract products via `product_abstract.csv`. To import full information for abstract products, see [File details - product_abstract.csv](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/import-and-export-data/products-data-import/file-details-product-abstract.csv.html). diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-option.csv.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-option.csv.md similarity index 94% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-option.csv.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-option.csv.md index 382a4daf072..a6203110dbc 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-option.csv.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-product-option.csv.md @@ -5,6 +5,7 @@ template: data-import-template redirect_from: - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-product-option.csv.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-product-option.csv.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-product-option.csv.html --- diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-shipment.csv.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-shipment.csv.md similarity index 93% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-shipment.csv.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-shipment.csv.md index 17a13caebde..c601d6cc2a4 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-shipment.csv.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-shipment.csv.md @@ -5,6 +5,7 @@ template: data-import-template redirect_from: - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-shipment.csv.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-shipment.csv.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-shipment.csv.html --- This document describes how to import taxes for shipment methods via `shipment.csv`. To import full information for shipment methods, see [File details - shipment.csv](/docs/pbc/all/carrier-management/{{site.version}}/base-shop/import-and-export-data/file-details-shipment.csv.html). diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-tax-sets.csv.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-tax-sets.csv.md similarity index 94% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-tax-sets.csv.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-tax-sets.csv.md index 3fed8c76942..2392733e9b1 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-tax-sets.csv.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/import-file-details-tax-sets.csv.md @@ -11,6 +11,7 @@ redirect_from: - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-tax-sets.csv.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-tax-sets.html - /docs/pbc/all/tax-management/202307.0/base-shop/import-and-export-data/import-file-details-tax-sets.csv.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/import-file-details-tax-sets.csv.html --- This document describes the `tax.csv` file to configure the [tax](/docs/pbc/all/tax-management/{{site.version}}/spryker-tax/base-shop/tax-feature-overview.html) information in your Spryker Demo Shop. diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/tax-management-data-import.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/tax-management-data-import.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/import-and-export-data/tax-management-data-import.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/tax-management-data-import.md diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-product-tax-sets-glue-api.md similarity index 87% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-product-tax-sets-glue-api.md index e2021661107..5cf600356bc 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-product-tax-sets-glue-api.md @@ -8,6 +8,7 @@ originalArticleId: abdf52c7-aadd-4d9e-84fa-1f7bd1790ed5 redirect_from: - /docs/pbc/all/tax-management/202307.0/install-and-upgrade/integrate-the-product-tax-sets-glue-api.html - /docs/pbc/all/tax-management/202307.0/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-product-tax-sets-glue-api.html --- {% include pbc/all/install-features/202307.0/install-glue-api/install-the-product-tax-sets-glue-api.md %} diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-tax-glue-api.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-tax-glue-api.md similarity index 87% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-tax-glue-api.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-tax-glue-api.md index d48852c6b10..b14df265a2b 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-tax-glue-api.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/install-the-tax-glue-api.md @@ -8,6 +8,7 @@ originalArticleId: 48705764-af9f-4d16-be2f-6ba995e10ee1 redirect_from: - /docs/pbc/all/tax-management/202307.0/install-and-upgrade/integrate-the-tax-glue-api.html - /docs/pbc/all/tax-management/202307.0/base-shop/install-and-upgrade/install-the-tax-glue-api.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/install-the-tax-glue-api.html --- {% include pbc/all/install-features/202307.0/install-glue-api/install-the-tax-glue-api.md %} diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md similarity index 91% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md index 7619659e891..11208f7ecd2 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.md @@ -13,6 +13,7 @@ redirect_from: - /docs/scos/dev/module-migration-guides/202307.0/glue-api/migration-guide-producttaxsetsrestapi.html - /docs/pbc/all/tax-management/202307.0/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.html - /docs/pbc/all/tax-management/202307.0/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-producttaxsetsrestapi-module.html --- {% include pbc/all/upgrade-modules/upgrade-glue-api-modules/upgrade-the-producttaxsetsrestapi-module.md %} diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-tax-module.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-tax-module.md similarity index 93% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-tax-module.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-tax-module.md index 187095c3ce7..8646f738128 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-tax-module.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/install-and-upgrade/upgrade-the-tax-module.md @@ -33,6 +33,7 @@ redirect_from: - /docs/scos/dev/module-migration-guides/migration-guide-tax.html - /docs/pbc/all/tax-management/202307.0/install-and-upgrade/upgrade-the-tax-module.html - /docs/pbc/all/tax-management/202307.0/base-shop/install-and-upgrade/upgrade-the-tax-module.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/install-and-upgrade/upgrade-the-tax-module.html --- {% include pbc/all/upgrade-modules/upgrade-the-tax-module.md %} diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-rates.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/create-tax-rates.md similarity index 95% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-rates.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/create-tax-rates.md index fbc6d7ef79d..595698cfb8e 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-rates.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/create-tax-rates.md @@ -15,6 +15,7 @@ redirect_from: - /docs/pbc/all/tax-management/manage-in-the-back-office/create-tax-rates.html - /docs/pbc/all/tax-management/202307.0/manage-in-the-back-office/create-tax-rates.html - /docs/pbc/all/tax-management/202307.0/base-shop/manage-in-the-back-office/create-tax-rates.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-rates.html related: - title: Tax feature overview link: docs/scos/user/features/page.version/tax-feature-overview.html diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-sets.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/create-tax-sets.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/create-tax-sets.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/create-tax-sets.md diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-rates.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-rates.md similarity index 88% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-rates.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-rates.md index fd7a77d0498..b66a0bb0823 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-rates.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-rates.md @@ -6,6 +6,8 @@ template: back-office-user-guide-template related: - title: Tax feature overview link: docs/scos/user/features/page.version/tax-feature-overview.html +redirect_from: + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-rates.html --- diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-sets.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-sets.md similarity index 90% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-sets.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-sets.md index 842e9b10101..fc35d8bc89f 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-sets.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/edit-tax-sets.md @@ -5,6 +5,8 @@ template: back-office-user-guide-template related: - title: Tax feature overview link: docs/scos/user/features/page.version/tax-feature-overview.html +redirect_from: + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/edit-tax-sets.html --- To edit a [tax set](/docs/scos/user/features/{{site.version}}/tax-feature-overview.html) in the Back Office, follow the steps: diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/log-into-the-back-office.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/log-into-the-back-office.md similarity index 100% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-in-the-back-office/log-into-the-back-office.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-in-the-back-office/log-into-the-back-office.md diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md similarity index 96% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md index dd5cafb0d97..1e6b42a2116 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.md @@ -6,6 +6,7 @@ template: glue-api-storefront-guide-template redirect_from: - /docs/pbc/all/tax-management/202307.0/manage-via-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.html - /docs/pbc/all/tax-management/202307.0/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets-when-retrieving-abstract-products.html --- This document describes how to retrieve tax sets of abstract products. To retrieve full information of abstract products, see [Retrieve abstract products](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/abstract-products/glue-api-retrieve-abstract-products.html). diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets.md similarity index 98% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets.md index 65881650a84..ef75a2d7808 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/manage-using-glue-api/retrieve-tax-sets.md @@ -17,6 +17,7 @@ redirect_from: - /docs/scos/dev/glue-api-guides/202307.0/managing-products/abstract-products/retrieving-tax-sets.html - /docs/pbc/all/tax-management/202307.0/manage-via-glue-api/retrieve-tax-sets.html - /docs/pbc/all/tax-management/202307.0/base-shop/manage-using-glue-api/retrieve-tax-sets.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/manage-using-glue-api/retrieve-tax-sets.html related: - title: Retrieving abstract products link: docs/pbc/all/product-information-management/page.version/base-shop/manage-using-glue-api/abstract-products/glue-api-retrieve-abstract-products.html diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/tax-feature-overview.md b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/tax-feature-overview.md similarity index 99% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/tax-feature-overview.md rename to docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/tax-feature-overview.md index 33de413b274..6613513f0a4 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/tax-feature-overview.md +++ b/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/tax-feature-overview.md @@ -22,6 +22,7 @@ redirect_from: - /docs/scos/user/features/202307.0/tax-feature-overview.html - /docs/pbc/all/tax-management/tax-management.html - /docs/pbc/all/tax-management/202307.0/base-shop/tax-feature-overview.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/base-shop/tax-feature-overview.html --- The *Tax* feature lets you define taxes for the items you sell. The feature is represented by two entities: tax rates and tax sets. diff --git a/docs/pbc/all/tax-management/202307.0/spryker-tax/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md b/docs/pbc/all/tax-management/202307.0/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md similarity index 85% rename from docs/pbc/all/tax-management/202307.0/spryker-tax/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md rename to docs/pbc/all/tax-management/202307.0/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md index 0c2accba585..9b412d6bc24 100644 --- a/docs/pbc/all/tax-management/202307.0/spryker-tax/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md +++ b/docs/pbc/all/tax-management/202307.0/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.md @@ -6,6 +6,7 @@ template: feature-integration-guide-template related: - title: Marketplace Product feature walkthrough link: docs/pbc/all/product-information-management/page.version/marketplace/marketplace-product-feature-overview.html + - /docs/pbc/all/tax-management/202307.0/spryker-tax/marketplace/install-the-tax-merchant-portal-marketplace-product-feature.html --- {% include pbc/all/install-features/202307.0/marketplace/install-the-merchant-portal-marketplace-product-tax-feature.md %} diff --git a/docs/pbc/all/tax-management/202307.0/tax-management.md b/docs/pbc/all/tax-management/202307.0/tax-management.md index 6c6b4b71932..c11bd83e711 100644 --- a/docs/pbc/all/tax-management/202307.0/tax-management.md +++ b/docs/pbc/all/tax-management/202307.0/tax-management.md @@ -2,6 +2,8 @@ title: Tax Management description: Tax Management PBC lets you manage your tax rules for different stores and products template: concept-topic-template +redirect_from: + --- Adhere to the respective tax regulations in the countries you sell and effortlessly configure and manage tax rates for products, shipments, and additional services. diff --git a/docs/pbc/all/tax-management/202307.0/vertex/install-vertex.md b/docs/pbc/all/tax-management/202400.0/base-shop/vertex/install-vertex.md similarity index 63% rename from docs/pbc/all/tax-management/202307.0/vertex/install-vertex.md rename to docs/pbc/all/tax-management/202400.0/base-shop/vertex/install-vertex.md index 8f9082755b9..ce11bc9b052 100644 --- a/docs/pbc/all/tax-management/202307.0/vertex/install-vertex.md +++ b/docs/pbc/all/tax-management/202400.0/base-shop/vertex/install-vertex.md @@ -2,16 +2,27 @@ title: Install Vertex description: Find out how you can install Vertex in your Spryker shop draft: true -last_updated: Aug 3, 2023 +last_updated: Sep 13, 2023 template: howto-guide-template related: - title: Vertex link: docs/pbc/all/tax-management/page.version/vertex/vertex.html +redirect_from: + - /docs/pbc/all/tax-management/202307.0/vertex/install-vertex.html + --- -## Integrate ACP connector module for tax calculation +## Prerequisites + +- Before you can integrate Vertex, make sure that your project is ACP-enabled. See [App Composition Platform installation](/docs/acp/user/app-composition-platform-installation.html) for details. + +- The Vertex app catalog page lists specific packages that must be installed or upgraded before you can use the Vertex app. To check the list of the necessary packages, in the Back Office, go to **Apps**-> **Vertex**. + +Adjust your installation to comply with the listed requirements before proceeding. -To enable the Vertex integration, use the [spryker/tax-app](https://github.com/spryker/tax-app) ACP connector module. +## 1. Integrate ACP connector module for tax calculation + +To enable the Vertex integration, you need to integrate the [spryker/tax-app](https://github.com/spryker/tax-app) ACP connector module first. To integrate the connector module for the Vertex app, follow the steps below. @@ -22,32 +33,108 @@ Add the following config to `config/Shared/config_default.php`: ```php // ... +use Generated\Shared\Transfer\ConfigureTaxAppTransfer; +use Generated\Shared\Transfer\DeleteTaxAppTransfer; use Generated\Shared\Transfer\SubmitPaymentTaxInvoiceTransfer; // ... -$config[MessageBrokerConstants::MESSAGE_TO_CHANNEL_MAP] = [ +$config[MessageBrokerConstants::MESSAGE_TO_CHANNEL_MAP] = +$config[MessageBrokerAwsConstants::MESSAGE_TO_CHANNEL_MAP] = [ // ... - - SubmitPaymentTaxInvoiceTransfer::class => 'tax-commands', + ConfigureTaxAppTransfer::class => 'tax-commands', + DeleteTaxAppTransfer::class => 'tax-commands', + SubmitPaymentTaxInvoiceTransfer::class => 'payment-tax-invoice-commands', ]; -$config[MessageBrokerConstants::CHANNEL_TO_TRANSPORT_MAP] = [ +$config[MessageBrokerConstants::CHANNEL_TO_RECEIVER_TRANSPORT_MAP] = [ // ... - 'tax-commands' => 'http', + 'tax-commands' => MessageBrokerAwsConfig::HTTP_CHANNEL_TRANSPORT, ]; -$config[MessageBrokerAwsConstants::CHANNEL_TO_SENDER_TRANSPORT_MAP] = [ +$config[MessageBrokerConstants::CHANNEL_TO_SENDER_TRANSPORT_MAP] = [ // ... - 'tax-commands' => 'http', + 'payment-tax-invoice-commands' => MessageBrokerAwsConfig::HTTP_CHANNEL_TRANSPORT, ]; ``` -### 2. (Optional) If you plan to send invoices to Vertex through OMS, configure Payment OMS +### 2. Configure the Calculation dependency provider + +Add the following to `src/Pyz/Zed/Calculation/CalculationDependencyProvider.php`: + +```php +// ... + +use Spryker\Zed\TaxApp\Communication\Plugin\Calculation\TaxAppCalculationPlugin; + +// ... + + /** + * @param \Spryker\Zed\Kernel\Container $container + * + * @return array<\Spryker\Zed\CalculationExtension\Dependency\Plugin\CalculationPluginInterface> + */ + protected function getQuoteCalculatorPluginStack(Container $container): array + { + /** @var array<\Spryker\Zed\Calculation\Dependency\Plugin\CalculationPluginInterface> $pluginStack */ + $pluginStack = [ + // ... + + # Please put this plugin after all other tax calculation plugins or instead. + + new TaxAppCalculationPlugin(), + + // ... + ]; + + return $pluginStack; + } + + /** + * @param \Spryker\Zed\Kernel\Container $container + * + * @return array<\Spryker\Zed\CalculationExtension\Dependency\Plugin\CalculationPluginInterface> + */ + protected function getOrderCalculatorPluginStack(Container $container): array + { + return [ + // ... + + # Please put this plugin after all other tax calculation plugins or instead. + new TaxAppCalculationPlugin(), + + // ... + ]; + } + +// ... +``` + +{% info_block infoBox "Performance improvement" %} + +Spryker has its own [Taxes](/docs/pbc/all/tax-management/{{page.version}}/spryker-tax\base-shop/tax-feature-overview.html) feature, which comes pre-installed in the Checkout through the Calculation module. To enhance performance when using an external Tax calculation provider, we recommend disabling the following plugins: + +in `\Pyz\Zed\Calculation\CalculationDependencyProvider::getQuoteCalculatorPluginStack()`: + +- TaxAmountCalculatorPlugin +- ItemTaxAmountFullAggregatorPlugin +- TaxRateAverageAggregatorPlugin +- TaxTotalCalculatorPlugin + +in `\Pyz\Zed\Calculation\CalculationDependencyProvider::getOrderCalculatorPluginStack()`: -The following code sample shows how to configure payment `config/Zed/oms/{your_payment_oms}.xml`. +- TaxAmountCalculatorPlugin +- ItemTaxAmountFullAggregatorPlugin +- TaxAmountAfterCancellationCalculatorPlugin +- OrderTaxTotalCalculationPlugin + +{% endinfo_block %} + +### 3. (Optional) If you plan to send invoices to Vertex through OMS, configure your Payment OMS + +Configure payment `config/Zed/oms/{your_payment_oms}.xml`as in the following example: ```xml @@ -109,7 +196,7 @@ The following code sample shows how to configure payment `config/Zed/oms/{your_p ``` -Configure Oms Dependency Provider. +#### Configure the Oms dependency provider Add the config to `src/Pyz/Zed/Oms/OmsDependencyProvider.php`: ```php @@ -142,48 +229,17 @@ use Spryker\Zed\TaxApp\Communication\Plugin\Oms\Command\SendPaymentTaxInvoicePlu ``` -### 3. Configure Calculation Dependency Provider - -Add the following to `src/Pyz/Zed/Calculation/CalculationDependencyProvider.php`: - -```php -// ... - -use Spryker\Zed\TaxApp\Communication\Plugin\Calculation\TaxAppCalculationPlugin; - -// ... - - /** - * @param \Spryker\Zed\Kernel\Container $container - * - * @return array<\Spryker\Zed\CalculationExtension\Dependency\Plugin\CalculationPluginInterface> - */ - protected function getQuoteCalculatorPluginStack(Container $container): array - { - /** @var array<\Spryker\Zed\Calculation\Dependency\Plugin\CalculationPluginInterface> $pluginStack */ - $pluginStack = [ - // ... - - // Please put this plugin after all other tax calculation plugins. - - new TaxAppCalculationPlugin(), - - // ... - ]; - - return $pluginStack; - } +## Integrate the Vertex app -// ... -``` +Spryker does not have the same data model as Vertex, which is necessary for accurate tax calculations. Therefore, the integration requires project developers to to add some missing information to the Quote object before sending a calculation request. -## Integrate the Vertex app +The following diagram shows the data flow of the tax calculation request from Spryker Cart to the Vertex API. -To integrate the Vertex app, follow the steps below. + ![tax-calculation-request](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/tax-management/vertex/install-vertex/tax-calculation-requests.png) -### 1. Configure Vertex Specific Metadata Transfers +### 1. Configure Vertex-specific metadata transfers -Define specific Vertex Tax Metadata transfers and extend several other transfers with them: +Define specific Vertex Tax metadata transfers and extend other transfers with them: ```xml @@ -234,17 +290,18 @@ Define specific Vertex Tax Metadata transfers and extend several other transfers ``` -`SaleTaxMetadata` and `ItemTaxMetadata` are designed to be equal to the Vertex Tax Calculation API request body. You can extend them as you need according to the Vertex API structure. +`SaleTaxMetadata` and `ItemTaxMetadata` are designed to be equal to the Vertex Tax Calculation API request body. You can extend them as you need, following to the Vertex API structure. -`SaleTaxMetadata` is equal to the Invoicing/Quotation request payload, excluding LineItems. +- `SaleTaxMetadata` equals the Invoicing/Quotation request payload, excluding LineItems. -`ItemTaxMetadata` is equal to Line Item API Payload. +- `ItemTaxMetadata` equals the Line Item API payload. -### 2. Implement Vertex Specific Metadata Extender Plugins +### 2. Implement Vertex-specific metadata extender plugins There are several types of expander plugins you have to introduce. +As a starting point, you can take examples provided by Spryker in the [tax-app-vertex] module (https://github.com/spryker/tax-app-vertex). The plugins inside are for development purposes. The data in the TaxMetaData fields has to be collected from the project database or other sources such as external ERP. -#### Configure Customer Class Code Expander plugins +#### Configure the Customer Class Code Expander plugins The following code sample shows how to introduce the following expander plugin: @@ -305,13 +362,13 @@ class CalculableObjectCustomerWithVertexCodeExpanderPlugin extends AbstractPlugi } ``` -#### Configure Customer Exemption Certificate Expander plugins +#### Configure the Customer Exemption Certificate Expander plugins -For order: +Configure the Customer Exemption Certificate Expander plugin for order: `Pyz/Zed/{YourDesiredModule}/Communication/Plugin/Order/OrderCustomerWithVertexExemptionCertificateExpanderPlugin.php` -and for quote: +Configure the Customer Exemption Certificate Expander plugin for quote: `Pyz/Zed/{YourDesiredModule}/Communication/Plugin/Quote/CalculableObjectCustomerWithVertexExemptionCertificateExpanderPlugin.php` @@ -335,13 +392,13 @@ class OrderCustomerWithVertexExemptionCertificateExpanderPlugin extends Abstract } ``` -#### Configure Product Class Code Expander plugins +#### Configure the Product Class Code Expander plugins -For order items: +Configure the Product Class Code Expander plugin for order items: `Pyz/Zed/{YourDesiredModule}/Communication/Plugin/Order/OrderItemVertexProductClassCodeExpanderPlugin.php` -and for quote items: +Configure the Product Class Code Expander plugin for quote items: `Pyz/Zed/{YourDesiredModule}/Communication/Plugin/Quote/CalculableObjectItemWithVertexProductClassCodeExpanderPlugin.php` @@ -369,13 +426,13 @@ class ItemWithVertexClassCodeExpanderPlugin extends AbstractPlugin implements Ca {% info_block infoBox "Use same Product Class Code" %} -The same Product Class Code extension must be used for all the product options and other order expenses because, in Vertex's perspective, all of them are separate items for tax calculation. To find them a proper place, you can refer to the transfers' definition, which is outlined in the [Configure Vertex Specific Metadata Transfers](#Configure Vertex Specific Metadata Transfers). +You must use the same Product Class Code extension for all product options and other order expenses. From Vertex's perspective, it considers each of them as a separate item for tax calculation. For guidance on where to place them, refer to the definition of transfers in [Configure Vertex-specific Metadata Transfers](#1-configure-vertex-specific-metadata-transfers). {% endinfo_block %} -#### Configure Flexible fields extension +#### Configure the flexible fields extension -The following code sample shows how to introduce the flexible fields extension: +Configure the flexible files extension as in the following example: ```php @@ -410,15 +467,19 @@ class ItemWithFlexibleFieldsExpanderPlugin extends AbstractPlugin implements Cal } ``` -### 3. Configure Tax App Dependency Provider +### 3. Configure the Tax App dependency provider -As a result, the plugin stack can look like this: +After the Tax App dependency provider configuration, the plugin stack will look similar to this one: ```php namespace Pyz\Zed\TaxApp; -// ... +// The following plugins are for Marketplace only. +use Spryker\Zed\MerchantProfile\Communication\Plugin\TaxApp\MerchantProfileAddressCalculableObjectTaxAppExpanderPlugin; +use Spryker\Zed\MerchantProfile\Communication\Plugin\TaxApp\MerchantProfileAddressOrderTaxAppExpanderPlugin; +use Spryker\Zed\ProductOfferAvailability\Communication\Plugin\TaxApp\ProductOfferAvailabilityCalculableObjectTaxAppExpanderPlugin; +use Spryker\Zed\ProductOfferAvailability\Communication\Plugin\TaxApp\ProductOfferAvailabilityOrderTaxAppExpanderPlugin; class TaxAppDependencyProvider extends SprykerTaxAppDependencyProvider { @@ -434,6 +495,10 @@ class TaxAppDependencyProvider extends SprykerTaxAppDependencyProvider new CalculableObjectItemProductOptionWithTaxCodeExpanderPlugin(), // to extend quote item product options with product class codes new CalculableObjectItemWithProductClassCodeExpandePlugin(), // to extend quote items with product class codes new CalculableObjectItemWithFlexibleFieldsExpanderPlugin(), // to extend quote items with flexible fields + + // The following plugins are for Marketplace only. + new MerchantProfileAddressCalculableObjectTaxAppExpanderPlugin(), + new ProductOfferAvailabilityCalculableObjectTaxAppExpanderPlugin(), ]; } @@ -449,6 +514,36 @@ class TaxAppDependencyProvider extends SprykerTaxAppDependencyProvider new OrderItemProductOptionWithTaxCodeExpanderPlugin(), // to extend order item product options with product class codes new OrderItemWithProductClassCodeExpandePlugin(), // to extend order items with product class codes new OrderItemWithFlexibleFieldsExpanderPlugin(), // to extend order items with flexible fields + + // The following plugins are for Marketplace only. + new MerchantProfileAddressOrderTaxAppExpanderPlugin(), + new ProductOfferAvailabilityOrderTaxAppExpanderPlugin(), + ]; + } +} + +``` + +### 4. Configure Product Offer Stock dependency provider (Marketplace only) + +After you configured the Product Offer Stock dependency provider for Marketplace, the plugin stack will look similar to this one: + +```php + +namespace Pyz\Zed\ProductOfferStock; + +use Spryker\Zed\ProductOfferStock\ProductOfferStockDependencyProvider as SprykerProductOfferStockDependencyProvider; +use Spryker\Zed\StockAddress\Communication\Plugin\Stock\StockAddressStockTransferProductOfferStockExpanderPlugin; + +class ProductOfferStockDependencyProvider extends SprykerProductOfferStockDependencyProvider +{ + /** + * @return array<\Spryker\Zed\ProductOfferStockExtension\Dependency\Plugin\StockTransferProductOfferStockExpanderPluginInterface> + */ + protected function getStockTransferExpanderPluginCollection(): array + { + return [ + new StockAddressStockTransferProductOfferStockExpanderPlugin(), ]; } } diff --git a/docs/pbc/all/tax-management/202307.0/vertex/vertex.md b/docs/pbc/all/tax-management/202400.0/base-shop/vertex/vertex.md similarity index 91% rename from docs/pbc/all/tax-management/202307.0/vertex/vertex.md rename to docs/pbc/all/tax-management/202400.0/base-shop/vertex/vertex.md index ed242247b87..2cf795760fb 100644 --- a/docs/pbc/all/tax-management/202307.0/vertex/vertex.md +++ b/docs/pbc/all/tax-management/202400.0/base-shop/vertex/vertex.md @@ -6,6 +6,8 @@ template: concept-topic-template related: - title: Install Vertex link: docs/pbc/all/tax-management/page.version/vertex/install-vertex.html +redirect_from: + - /docs/pbc/all/tax-management/202307.0/vertex/vertex.html --- ![vertex-hero](https://spryker.s3.eu-central-1.amazonaws.com/docs/pbc/all/tax-management/vertex/vertex.md/vertex-hero.png) diff --git a/docs/pbc/all/tax-management/202400.0/tax-management.md b/docs/pbc/all/tax-management/202400.0/tax-management.md new file mode 100644 index 00000000000..bf670f61386 --- /dev/null +++ b/docs/pbc/all/tax-management/202400.0/tax-management.md @@ -0,0 +1,9 @@ +--- +title: Tax Management +description: Tax Management PBC lets you define tax rates for different stores and products +template: concept-topic-template +--- + +Tax Management lets you manage taxes per store, product, and country. + +The capability consists of a base shop and the marketplace addon. The base shop features are needed for running a regular shop in which your company is the only entity fulfilling orders. To run a marketplace, the features from both the base shop and the marketplace addon are required. diff --git a/docs/scos/user/intro-to-spryker/docs-release-notes.md b/docs/scos/user/intro-to-spryker/docs-release-notes.md index f55dcab2d85..164ec4f448d 100644 --- a/docs/scos/user/intro-to-spryker/docs-release-notes.md +++ b/docs/scos/user/intro-to-spryker/docs-release-notes.md @@ -25,7 +25,7 @@ In August 2023, we have added and updated the following pages: - [Service Points + Customer Account Management feature integration guide](/docs/pbc/all/service-points/202400.0/unified-commerce/install-and-upgrade/install-the-customer-account-management-service-points-feature.html). - [Npm checker](/docs/scos/dev/guidelines/keeping-a-project-upgradable/upgradability-guidelines/npm-checker.html): Learn how you can identify security vulnerabilities in the npm dependencies with the Npm checker. - [HowTo: Set up XDebug profiling](/docs/scos/dev/tutorials-and-howtos/howtos/howto-setup-xdebug-profiling.html): Learn how to set up XDebug profiling in a local development environment. -- [Vertex integration guide](/docs/pbc/all/tax-management/202307.0/vertex/install-vertex.html#integrate-acp-connector-module-for-tax-calculation). +- [Vertex integration guide](/docs/pbc/all/tax-management/202400.0/base-shop/vertex/install-vertex.html#integrate-acp-connector-module-for-tax-calculation). - [Select target branch for PRs](/docs/scu/dev/select-target-branch-for-prs.html): Learn how to select a target branch on Spryker CI. - [Configure Spryker Code Upgrader](/docs/scu/dev/configure-spryker-code-upgrader.html): Learn how to configure the Spryker Code Upgrader. - [Oryx: Design tokens](/docs/scos/dev/front-end-development/202307.0/oryx/building-applications/styling/oryx-design-tokens.html): Learn about the design tokens that provide a centralized and consistent approach for styling components in Oryx applications. @@ -64,7 +64,7 @@ In July 2023, we have added and updated the following pages: - [Configure Usercentrics](/docs/pbc/all/usercentrics/configure-usercentrics.html): Find out how you can configure Usercentrics in your Spryker shop. - [Ratings and Reviews data import](/docs/pbc/all/ratings-reviews/202204.0/import-and-export-data/ratings-and-reviews-data-import.html): Details about data import files for the Ratings and Reviews PBC. - [Search data import](/docs/pbc/all/search/202212.0/base-shop/import-and-export-data/search-data-import.html): Details about data import files for the Search PBC. -- [Tax Management data import](/docs/pbc/all/tax-management/202204.0/spryker-tax/base-shop/import-and-export-data/tax-management-data-import.html): Details about data import files for the Tax Management PBC. +- [Tax Management data import](/docs/pbc/all/tax-management/202307.0/base-shop/spryker-tax/import-and-export-data/tax-management-data-import.html): Details about data import files for the Tax Management PBC. - [Warehouse Management System data import](/docs/pbc/all/warehouse-management-system/202212.0/base-shop/import-and-export-data/warehouse-management-system-data-import.html): Details about data import files for the Warehouse Management System PBC. - [Marketplace Merchant Portal Product Management feature overview](/docs/pbc/all/product-information-management/202212.0/marketplace/marketplace-merchant-portal-product-management-feature-overview.html): Overview of the Marketplace Merchant Portal Product Management feature. -