To handle this, you have to create two accounts (under Chart Of Accounts). One for the Loan’s principal, which would be a Liability Account, and another for the interest which would be an Expense Account.
After creating the accounts, you will have to manually add both the principal and the interest as separate expenses.
To know how to create a new account, click here.
Books
Online accounting software
for small businesses.