What the rule says
Wages are basic pay, dearness allowance and retaining allowance. Some components are left out of wages: among them HRA, conveyance, the employer's PF contribution, overtime, commission and the value of housing.
If those left-out components together come to more than half of total remuneration, the excess is added back and counted as wages. A special or flexi allowance that is not on the exclusion list is wages in full, from the first rupee.
Why it reaches the pay run
The wage base for ESI and for gratuity is the Code wages, so an allowance-heavy structure produces a higher base than the basic pay suggests.
Whether the add-back also applies to the EPF contribution base is debated. Treat it as a point to settle with your CA before you set it for the company.
How Comriq People shows it
In the pay run, open any employee and the 50% wage test is written out in words, next to the EPF segments, the ESI period and the TDS projection.
You read the working for that person, that month. When you talk to your CA about a structure, you are both looking at the same lines.
What to do with it
Review the structure of each pay band against the rule. Whether and how to change a structure depends on your facts, so check it with your CA.
Make the change in payroll setup for new months. A month that has been locked is never rewritten.