The key is to document the existence of an “Employer-Employee Relationship” and the ability of your employer to control your employment at the client site.
This may be documented through a letter(s) from the End Client, or a chain of contracts from the employer to the end client.