How to tag bank transaction of a loan

You would record this as another type of loan as per the posts above.

For reference, my colleague posted this guide a while back: