One client, one cost centre
Set up each client as a project or cost centre. Tag the workers' housing, transport and other costs to it, and allocate their payroll cost: payroll posts one entry, which you re-tag to the client or spread across clients with an allocation journal. The client's P&L then shows the margin on the people you supply.