The documents are known as the deed of trust, note, and in a commercial transaction, a security agreement. Sometimes the mortgage document is combined with the security agreement. Alternatively, a mortgage is filed to evidence the underlying debt and terms of repayment, which is set forth in the note.