Tried importing some sales invoices with data import tool. The system correctly set the item tax template and tax category. But the tax table is empty and the total taxes and charges remains 0.
Tried setting a hook on Sales Invoice validate to run
calculate_taxes_and_totals() but hooks aren’t triggered on import.
Any way I can achieve the same?