There are payrolling companies that take care of all this. They have subsidiaries in every country, will give your remote employees all the things they have a right for according to the local laws, and send you an invoice.
An example would be Velocity Global - https://velocityglobal.com/