The Closed Loans report displays all loans with a closing date. It does not matter how the loan is closed - written off or repaid, or sold under cession. Filters by objects are available in this report
Client
Loan application
Contract
For a description of the output-mode flag, see here