Auto calculation will happen when you create a voucher class with central tax/state tax/integrated tax as a default additional ledger.