In preparing the final accounts, the bad debt account is closed by a transfer to…