ERPNext: v13.23.0 (version-13) Frappe Framework: v13.23.0 (version-13)
Just Replace
tax_rate to tax_category tax_type to item_tax_template
Set your Account Head
it will fetch Sales Taxes and Charges table rate according to your Account Head.