Hi,
There are configs and functions used to calculate the Taxation wage type. You need to check and go through these functions logics in TAXCA, INTAX - HR-IN: India Income Tax computations to get an idea on that. You can also refer P.K Agarwal book for India Payroll
Regards,
Vishwa