Get your taxes done using TurboTax

True!  https://www.irs.gov/publications/p535#en_US_2018_publink1000154202  says

You can claim a business bad debt deduction only if the amount owed to you was previously included in gross income. This applies to amounts owed to you from all sources of taxable income, including sales, services, rents, and interest.  

from IRS Publ 535 ch.10