If a bad debt previously written off is subsequently repaid, the amount collected is recorded…