Three words sort this out. The rate written in the note is the face rate, sometimes called the coupon. Face value, or par, is the unpaid principal balance, $180k in your example. Yield is the annualized return to whoever holds the note, measured against what they paid for it.
Small numbers make it visible. Say a note has a $100,000 balance at 9%, interest only, so $9,000 a year. Hold it at par and the yield is 9%. Sell it to a note buyer for $80,000 and the buyer collects the same $9,000 on $80,000 of cash, which is an 11.25% yield. Buy it at a premium for $120,000 and the same payment stream yields 7.5%. The face rate never changed. Only the price did.
One piece your seller friend may not have priced in: yield is a number that assumes the payments arrive. A 9% note where the borrower stops paying in month eight has a yield determined by whatever the foreclosure or workout produces, and that depends on the equity cushion under the loan and on state process. The other piece is timing. If his note has a balloon in five years, most of his money comes back as one lump sum, so his real holding period is five years rather than thirty, which matters a lot when he's comparing it to other places to put capital.