How to Define Item-Wise Tax Rates in ERPNext with an Item Tax Template

ERPNext item tax template: create it, attach it to an item, see how the rate is chosen, and why a template is ignored. Tax Category and Valid From explained.

ERPNext item tax template: create it, attach it to an item, see how the rate is chosen, and why a template is ignored. Tax Category and Valid From explained.

Short answer: an Item Tax Template in ERPNext lets one item use a different tax rate from the rate on the invoice's tax row. You create the template under Accounting > Taxes, then attach it to the item on the Tax tab. The rate on the template replaces the row's rate for that item only.

What is an Item Tax Template in ERPNext?

It is a short list of tax accounts and rates for items that are taxed differently from the rest of an invoice. A zero-rated item, an exempt item and a normal item can sit on the same invoice. The invoice's own tax template still supplies the accounts and the calculation rows.

Each rate row must use the same tax account as the matching tax row in the transaction. If the accounts differ, ERPNext cannot apply the item rate.

How do you create an Item Tax Template?

  1. Go to Accounting > Taxes > Item Tax Template and click Add Item Tax Template.
  2. Enter a descriptive Title and select the Company.
  3. In the Tax Rates table add a row. Select the tax account and enter the rate that should replace the transaction's rate.
  4. Save. Tick Disabled later to stop the template being selected on new documents.

How do you assign it to an item?

  1. Open the Item and go to the Tax tab.
  2. In the Taxes table add a row and open it with the pencil icon.
  3. Select the Item Tax Template. Add a Tax Category, Valid From or net rate limits only if you need them.
  4. Save the item and test it on a draft invoice.

An assignment on the item wins over a default set on its Item Group. Our item creation guide covers the rest of the Item form.

How does ERPNext choose the rate on an invoice?

It reads the item's Taxes table. It checks the Tax Category and the transaction date first, then uses the first valid matching row. A row with a blank Tax Category acts as the default. On a Purchase Invoice, the Supplier Invoice Date is checked before the Posting Date.

Then it applies the template's rate for the matching tax account to that item's net amount. Items with no match keep the rate on the transaction row.

What do Tax Category, Valid From and the net rate limits do?

FieldWhat it does
Tax CategoryLimits the row to transactions that use that category. Blank means the row is the default.
Valid FromThe first date the row can be used. ERPNext compares it with the transaction date.
Minimum Net Rate and Maximum Net RateLimit the row by the item's net rate in the transaction. The docs do not say how the bounds are compared, so test with a draft invoice.
Disabled (on the template)Stops the template being selected on new documents.

What is the difference between Not Applicable and a 0% rate?

They are not the same. A 0% rate means the tax applies at zero percent. Not Applicable means the tax component does not apply to the item at all. The ERPNext docs say they are not interchangeable, so check which one your tax authority expects.

How is an Item Tax Template different from a Tax Rule?

ToolWhat it decidesWhere
Item Tax TemplateThe rate for one item, replacing the row's rateAccounting > Taxes > Item Tax Template
Sales or Purchase Taxes and Charges TemplateThe tax rows on the whole documentAccounting > Taxes
Tax RuleWhich template a document picks by itself, by party, address, item, Tax Category, dates and PriorityAccounting > Taxes > Tax Rule

A Tax Rule selects a whole template and does not calculate anything. Priority 1 is the highest. Our tax template guide shows the templates the rule picks from.

Why is my Item Tax Template ignored on an invoice?

  • The template's tax account is not the account in the invoice's tax row.
  • The Tax Category on the item's row does not match the one on the document.
  • The invoice date is before Valid From, or two valid rows overlap and another one matched first.
  • The item's net rate is outside the minimum and maximum you set.
  • The template is marked Disabled.
  • The invoice has no tax row for that account at all.

How do you change an item's tax rate from a future date?

Add a second row to the item's Taxes table with the new template and a later Valid From. Keep the old row. Avoid overlapping dates, because ERPNext uses the first matching row. Test a back-dated draft invoice to confirm the old rate still applies.

Does this change if you use India Compliance?

The ERPNext docs say to keep Automatically Add Taxes and Charges from Item Tax Template off in Accounts Settings when you use the India Compliance app. India GST has more rules than this page covers, so read our India GST page. We state no rates here, because they change by notification.

How do you test an item tax setup before you rely on it?

  1. Make a draft sales or purchase invoice with one normal item and one item that has the template.
  2. Check that the tax row shows the template's rate for the second item only.
  3. Open the tax breakup and confirm the account and the amount.
  4. Repeat with a Tax Category and a back-dated invoice if you use them.

When should you ask a partner for help?

Ask when a company trades across tax regimes, mixes exempt and taxable items, or needs a rate change mid-year without breaking old invoices. FinByz Tech, a Silver Certified Frappe Partner, sets up tax templates with a test invoice for each case.

Sources and checks

Checked on 1 Dec 2026 against the pages named in the sources list and the ERPNext version-15 source. Menu names follow ERPNext v15; we did not run these steps on a v16 site. The Item form's table label was not read in the source; the docs call it Taxes.
Item tax set-up, tested case by case

Get Your Item Tax Setup Tested by FinByz

Tell us which items are taxed differently. A FinByz Tech consultant sets up the templates and tests each case on a draft invoice.

Trusted by clients in 15+ countries since 2016
Questions buyers ask

Frequently Asked Questions

Find answers to common questions about our services

What is an Item Tax Template in ERPNext?

It is a list of tax accounts and rates for items that are taxed differently from the rest of an invoice. For a matching item, ERPNext uses the template's rate in place of the rate on the transaction's tax row.

Can ERPNext use different tax rates for different items?

Yes, through an Item Tax Template attached to each item on its Tax tab. Items without one keep the rate on the invoice's tax row.

Where do I create an Item Tax Template?

Go to Accounting > Taxes > Item Tax Template and click Add Item Tax Template. Enter a Title and Company, add rows in Tax Rates with the tax account and rate, and save.

How do I link an Item Tax Template to an item?

Open the item, go to the Tax tab and add a row in the Taxes table. Select the Item Tax Template. Add Tax Category, Valid From or net rate limits only if you need them.

Why is my Item Tax Template not applied on an invoice?

Common causes are a different tax account on the invoice row, a mismatched Tax Category, a Valid From date after the invoice date, an overlapping row that matched first, or a disabled template.

What is the difference between Not Applicable and a 0% rate?

A 0% rate means the tax applies at zero percent. Not Applicable means the tax component does not apply to the item. Confirm which one your tax authority expects.

How is an Item Tax Template different from a Tax Rule?

An Item Tax Template sets the rate for one item. A Tax Rule picks which whole tax template a document uses, by party, address, item, Tax Category, dates and Priority. It does not calculate.

How do I change an item's tax rate from a future date?

Add a new row to the item's Taxes table with the new template and a later Valid From, and keep the old row. Avoid overlapping dates, and test a back-dated draft invoice.

Should I turn on automatic taxes from the Item Tax Template with India Compliance?

The ERPNext docs say to keep Automatically Add Taxes and Charges from Item Tax Template off in Accounts Settings when you use India Compliance. Read the India Compliance docs for GST specifics.