How to record the purchase of a building

SUGGESTED

One of the companies I manage purchased a multi unit building and financed it however, the owner paid for it up front then the financial institution reimbursed.

How do I record not only the asset but also the LTL.  there is a sizable deposit amount in the bank account and I have no clue how to record it.  Thank you in advance for the help.