In this case it is the "sending" employer. The obligation to keep records (see above) applies to the temporary work agency.