ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Tax mapping Shopify

hey there, looking for help with the Shopify Integration.
When an order is created in Shopify, the Error message in ERPNext is shown:
“Tax Account not specified for Shopify Tax VAT”

In the Shopify Settings, I did create a Link to our Tax Account.

Traceback is:
Traceback (most recent call last):
File “/home/erp-user/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/shopify_connection.py”, line 31, in sync_sales_order
create_order(order, shopify_settings, old_order_sync=old_order_sync)
File “/home/erp-user/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/shopify_connection.py”, line 82, in create_order
so = create_sales_order(order, shopify_settings, company)
File “/home/erp-user/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/shopify_connection.py”, line 118, in create_sales_order
“taxes”: get_order_taxes(shopify_order, shopify_settings),
File “/home/erp-user/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/shopify_connection.py”, line 248, in get_order_taxes
“account_head”: get_tax_account_head(tax),
File “/home/erp-user/frappe-bench/apps/erpnext/erpnext/erpnext_integrations/connectors/shopify_connection.py”, line 290, in get_tax_account_head
frappe.throw(_(“Tax Account not specified for Shopify Tax {0}”).format(tax.get(“title”)))
File “/home/erp-user/frappe-bench/apps/frappe/frappe/init.py”, line 432, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’, is_minimizable=is_minimizable, wide=wide, as_list=as_list)
File “/home/erp-user/frappe-bench/apps/frappe/frappe/init.py”, line 411, in msgprint
_raise_exception()
File “/home/erp-user/frappe-bench/apps/frappe/frappe/init.py”, line 365, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Tax Account not specified for Shopify Tax VAT

What am I doing wrong? Thanks for any help!

this is the section in Shopify Settings

That’s the name of the tax Shopify is supplying. It’s called “VAT”, not “Vietnam Tax”.

thanks a lot. now changed the shopify settings in ERPNext to:

and then following error is shown:

what am I missing?

“Lecka Xuong Hanoi” is another tax that needs to be mapped in similar manner.

You can check Shopify tax settings (on Shopify site, not ERPNext) to find out names of configured taxes in your country.

1 Like

okay, thanks.
what term to use when there is no option to call the tax something specific, like in this Vietnam case? what is the default name?

hey, quick update. It seems to work with the default ‘VAT’, that needs to be used in the ERPNext Shopify Settings. And for Shipping Titel the same as the one in Shopify Settings should be used.
thanks again for the help