Problem arise when Sales Invoice calculate tax, what happen is that all taxes included in the template are calculated for both item included in Sales Invoice:
Hi,
If I have understood your issue correctly then you have two products - 1) Cernia and 2) Cappone which have two different taxes. Cernia is taxed at 10% and Cappone at 22%. Based on the item selected you want the tax to apply.
What I will suggest you
make a single tax account_head say IVA and put a convenient tax rate in the Sales Tax Master.
Under Item Tax sub heading in the item document for the respective items, put IVA as Tax and Tax rate as 10% for Cernia and 22% for Cappone.
When making the sales invoice, select IVA as tax in Sales Taxes.
Although it will take the default value that you have put in the Sales Tax Master, if you have item tax defined in item having same account_head, then it will over ride the tax.
You can see the tax breakup under the tax breakup section under the taxes in the Invoice.