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.
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?
- Go to Accounting > Taxes > Item Tax Template and click Add Item Tax Template.
- Enter a descriptive Title and select the Company.
- In the Tax Rates table add a row. Select the tax account and enter the rate that should replace the transaction's rate.
- Save. Tick Disabled later to stop the template being selected on new documents.
How do you assign it to an item?
- Open the Item and go to the Tax tab.
- In the Taxes table add a row and open it with the pencil icon.
- Select the Item Tax Template. Add a Tax Category, Valid From or net rate limits only if you need them.
- 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?
| Field | What it does |
|---|---|
| Tax Category | Limits the row to transactions that use that category. Blank means the row is the default. |
| Valid From | The first date the row can be used. ERPNext compares it with the transaction date. |
| Minimum Net Rate and Maximum Net Rate | Limit 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?
| Tool | What it decides | Where |
|---|---|---|
| Item Tax Template | The rate for one item, replacing the row's rate | Accounting > Taxes > Item Tax Template |
| Sales or Purchase Taxes and Charges Template | The tax rows on the whole document | Accounting > Taxes |
| Tax Rule | Which template a document picks by itself, by party, address, item, Tax Category, dates and Priority | Accounting > 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?
- Make a draft sales or purchase invoice with one normal item and one item that has the template.
- Check that the tax row shows the template's rate for the second item only.
- Open the tax breakup and confirm the account and the amount.
- 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
- Item Tax Template, ERPNext manual
- Tax Rule, ERPNext manual
- Purchase Taxes and Charges Template, ERPNext manual
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.




.webp&w=1080&q=75)
.webp&w=1080&q=75)