The accounting entries are as follows:
On getting the loan: cash balance up, creditor (Barclays) created. No P&L effect.
Interest: P&L cost as each interest installment falls due, cash down.
Repayment of loan: cash balance down, creditor balance reduced. No P&L effect.
If the loan is paid...