Loan Income Posting

How can I have a transaction of Income Posting in Loan?