Tax Calculations based on Item Tax Template

Try these 2 if they are similar to your situation: -

&