Bad debt relief allows a business to claim a refund of the output tax they have paid to HMRC when they do not receive payment from their customers. A refund can only be claimed when all the conditions have been met and must be repaid if the claimant subsequently receives payment from their customer. The relief is two-sided, in that the recipient of the supplies which have not been paid for is required to repay input tax claimed.
Source HMRC