Menu
Feedback
Start here
Tutorials


Tutorials
Explore in-depth tutorials for operating your VTEX store.
Tutorials
Promotions & taxes
Taxes
Send the item price, with tax shown separately, to the Gateway or the ERP

It is frequently necessary to send the item price to the Gateway or to your ERP with the tax shown, i.e. separately from the price.

For this you can use the tax configuration in Pricing.

In this article we will show how the system works in these cases.

Scenario 1: My ERP sends the price including VAT to VTEX, so I do not need to calculate it.

  1. Category page
    {"base64":"  ","img":{"width":1300,"height":572,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":120935,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_1.png"}}
  2. Product page
    {"base64":"  ","img":{"width":1299,"height":464,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":64360,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_2.png"}}
  3. Shopping cart
    {"base64":"  ","img":{"width":1300,"height":452,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":51655,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_3.png"}}
  4. Checkout
    {"base64":"  ","img":{"width":1300,"height":389,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":70059,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_4.png"}}

Scenario 2: My ERP sends the price without VAT to VTEX.

To show the price including charges in the store window, use the attribute $product.BestPricePlusTax.

Then to create a JS and add the amount of tax in the store window, you can also use the control $product.Tax (It shows the charges registered for the product).

See documentation on controls here

Attention: On the product page you have to enter a JavaScript to add the values.

  1. Category page
    {"base64":"  ","img":{"width":1300,"height":572,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":120935,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_5.png"}}
  2. Product page
    {"base64":"  ","img":{"width":1299,"height":464,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":64360,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_6.png"}}
  3. Shopping cart
    {"base64":"  ","img":{"width":1300,"height":453,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":53659,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_7.png"}}
  4. Checkout
    {"base64":"  ","img":{"width":1300,"height":480,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":84935,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/Promotions%20&%20taxes/Taxes/send-item-price-with-tax-shown-separately_8.png"}}
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Archiving rates/taxes
« Previous
Trade policies
Next »
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX community.
Join our community
Request support from VTEX
For personalized assistance, contact our experts.
Open a support ticket
GithubDeveloper portalCommunityFeedback