Section 40(1) in The Employees' State Insurance Act, 1948
(1)The principal employer shall pay in respect of every employee, whether directly employed by him or by or through an immediate employer, both the employers contribution and the employee's contribution.