What's your biggest current challenge? Have your say in Community Polls along the right column.

Discrepancy in calculation of taxes manual and actual output

Discrepancy in calculation of taxes manual and actual output

TeemuEAS
Shopify Partner
147 1 24

EAS has developed a comprehensive EU VAT and customs compliance SaaS tool. Currently it is running on Magento and WooCommerce.

Unfortunately, during the plugin development, we have come across two unexpected problems. So far we have been unable to resolve the problems with Shopify. We are sure that these issues have been resolved earlier and could easily be clarified by experienced Shopify development specialists.      

  1. In accordance with Shopify API documentation for the section (DraftOrder ) it is possible while creating DraftOrder  to change attributes for fields  that are connected with calculation of taxes , specifically:

tax_exempt , tax_lines , taxes_included , total_tax , line_items.tax_lines

API documentation does not state that these fields are  read_only  during our plugin operation we perform a  request , that contains data for the following fields  : taxes_included , tax_lines etc with expected result that the fields should be populated with our data. Contrary to the expectations the mentioned fields are left empty after DraftOrder is created.

  1. As an alternative, our developer team tried to change/populate fields connected to taxation in the existing order by using command Order . According to the Shopify API documentation the following field in the order  are not read only  tax_exempt , tax_lines , taxes_included , total_tax , line_items.tax_lines

 

 

Is there someone who could clarify the behavior of Shopify API concerning the population of the above fields and/or provide other possible methods to add tax data to the draft or existing order via Shopify API?  

EAS EU & UK Compliance app is a fully automated European VAT solution for Shopify.
Reply 1 (1)

Eric107
Visitor
1 0 0

Hey! It seems like you've encountered unexpected issues while integrating your EAS VAT and customs compliance SaaS tool with Shopify. To clarify the behavior of the Shopify API, especially regarding the population of fields like tax_exempt, tax_lines, taxes_included, total_tax, and line_items.tax_lines, I recommend reaching out to Shopify's official support channels or community forums. Experienced Shopify developers might have insights or workarounds to help you address these challenges. Additionally, they could shed light on any undocumented behaviors or provide alternative methods for adding tax data to draft or existing orders via the Shopify API. Good luck with your integration! If you worrying about VAT calculation, use the UK VAT calculator to give you accurate results within a single tap.