I need to know how to write off work I did for people who never paid me?

I performed a couple of cases to do background research for a client, which I was out of pocket several hundred dollars on a couple of occasions and those clients have never paid my invoice