I have a two VAT on one invoice 7% and 0% but after set it from tutorial about taxes on youtube from Frappe on submit get error " Tax should be 7.0% of the base amount Note: To correct base amount, fill in Tax Base Amount." Below my setup do i missing anything?
Hi Voltass
Please try the following either should work.
Method 1: Use “Tax Category” per item
Go to your taxable items (7%) in the invoice and set Item Tax Template with 7% VAT.
For zero-rated items (0%), set Item Tax Template with 0% VAT.
In the Taxes table, make sure Charge Type = “On Net Total” and Based On = “Item Tax Template”.
Remove any extra “Tax Base Amount” you typed in — let ERPNext calculate it.
Save & Submit.
Method 2: Adjust “Tax Base Amount” manually
If you want to keep both VATs in the same invoice without templates:
In the Taxes table, for the 7% VAT row, set Tax Base Amount = sum of base amounts of only those items that are taxable at 7%.
For the 0% VAT row, set Tax Base Amount = sum of base amounts of items that are zero-rated.
Make sure Tax Amount is exactly Base Amount Ă— 7% for the 7% row.
Extra checks
Ensure “Validate Tax Amount” setting in your Purchase Invoice DocType isn’t too strict. If you want some tolerance, go to:
Accounts Settings → Tax Calculation Rounding
and adjust.
Check that Item Tax Template matches Purchase Taxes and Charges Template.
Right — in Frappe/ERPNext v15, the “Based On” and “Tax Base Amount” fields you’ve seen in older tutorials no longer appear in the default Purchase Taxes and Charges UI.
ERPNext now automatically calculates the tax base amount from:
The items linked to the tax via Item Tax Template
The “Charge Type” and “Included In Print Rate” settings
The “Applicable On” (Net Total / Valuation / Total) field
So the fix for your two VAT rates (7% & 0%) problem in v15 is a bit different than in older versions.
How to do it in ERPNext v15 without Tax Base Amount field
1. Create two Item Tax Templates
Go to: Accounts → Item Tax Template → New
Name: VAT 7%
Tax Type: VAT
Tax Rate: 7.0
Save.
Create another template: VAT 0%
Tax Type: VAT
Tax Rate: 0.0
2. Assign the right tax template to items
Open each item in your Purchase Invoice and set the Item Tax Template:
Items with 7% VAT → VAT 7% template
Items with 0% VAT → VAT 0% template
3. Set up Purchase Taxes and Charges Template
Go to: Accounts → Purchase Taxes and Charges Template → New
Add a row:
Type: On Net Total
Account Head: VAT Payable
Rate: 7.0
Save.
(You don’t need to add 0% VAT here; ERPNext will calculate it as zero based on the template.)
4. Use the template in your Purchase Invoice
In the Purchase Invoice, select your Purchase Taxes and Charges Template.
ERPNext will:
Apply 7% VAT to items with the 7% template.
Apply 0% VAT to zero-rated items.
Calculate correct tax base amounts automatically in the backend.
On tax Breakup it assign correct tax but on submit its complain, but if exactly same but with item only 7% is ok, and as well only 0% is ok too same setup