invoice lines in service invoice

If I’m making invoices for an app that connects service providers, like plumbers or electricians, with customers, who do I put as the client on the invoice? And what should the invoice details include?