How do I add Tax Lines to my Import?

This article will walk you through adding tax lines to your import.  You should map the total_tax field to ensure you have all the proper tax fields associated with your Order; you can read more about total taxes here.

When adding total_tax, EZ Importer will add a tax line for you if you do not provide any tax lines.  The tax lines should be used if you want more control over how the taxes are added and displayed with your Order.

If you add tax lines to your Order, Shopify will not validate them against the total taxes field.  You'll need to ensure the total taxes match your total tax lines.

When mapping your CSV file, you'll notice a Tax Lines tab. Here, you'll see three fields associated with your tax lines: tax_lines.price.0, tax_lines.rate.0 and tax_lines.title.0.

Tax Line Fields

You can ignore the number at the end of the field name.  The tax_lines.price is the amount of tax to be charged.  The tax_lines.rate is the rate of tax to be applied, and the tax_lines.title is the name of the tax.  You can map these fields like any other field in your CSV file.

Shopify allows multiple tax lines per Order, hence the number at the end of the tax line Shopify field.  If you want to import multiple tax lines for your Order, you'll need to provide another set of tax line columns in your CSV file.  To add additional tax lines, click the Add Tax Line Row button at the top right-hand side.

Add tax line row

As you can see, the new tax line rows will have a number at the end of the field.  You can map your CSV file's additional tax line columns to the tax line rows above. If you want to add another set of tax lines again, click the Add Tax Line Row button for another row to appear. At this time, EZ Importer only supports five tax line rows.

Once you have everything mapped, you can start your import. Assuming you've mapped the total tax rows correctly, your Order should appear like the one below.

Shopify Admin Tax Lines

As you can see from the screenshot above, we have two tax line fields that we've mapped from our CSV file. The order total includes the total_tax field because we mapped it when running the import.

Tax Rate Format

When adding your tax rate, Shopify will display the value as a percentage, but you must enter it as a decimal value. Shopify does the conversion, so if you add your tax rate as a whole number, it will not be displayed correctly. For example, if you want to enter a tax rate of 5%, you will need to import the data as .05 in your CSV file.  

Please let us know if you have any other questions about adding your total tax lines.


Related Articles:


App: EZ Importer

Tags: faq, taxes, tax lines