sole proprietor- can I write off money that I was owed but wasn't paid

It finally happened.  I did work and was not paid for it.  I am guessing there is nothing I can do tax wise, correct?  Just the court system, I suppose.