I owned a business (S Corporation) that closed last year due to failure. I had loaned the company $40,000 that was still on the books as a loan payable when the business closed. The loan was written off by the corporation. I was told I may be able to deduct the amount on my personal income tax return as a bad debt because the corporation defaulted on it. Is this correct? If so, can you tell me how it is done?