My boss has two companies: Company A and Company B. Company B takes a loan from company A in the amount of 100,000. After some time, company B returns 150,000.

What will be the accounting entry and what is the procedure of this extra amount 50,000?