Legal basis: Article 58 of the Social Insurance Law of People's Republic of China (PRC), the employer shall apply to the social insurance agency for social insurance registration of employees within 30 days from the date of employment. If the social insurance has not been registered, the social insurance agency shall verify the social insurance premium it should pay. In the process of dispatching, the dispatching unit is the employer, so it should pay social security for the dispatched employees.