About financial accounting entries such as "bank deposit"

There is nothing wrong with your entry, except that the amount is 2000, and the debit balance of the bank deposit account is 2000.

Bank balance = 417000-465000+50000 = 2000.

Five companies * * * transfer 4 17000.

Debit: bank deposit 4 17000

Loan: other payables 4 17000.

Then the personal card for the boss is 465000.

Debit: Other payables are 465,000 yuan.

Loan: 465,000 yuan in bank deposit.

Then I transferred 50 thousand from my boss's card

Debit: 50,000 yuan from the bank.

Loan: Other payables are 50,000 yuan.

What's the difference between them?

The difference of 2000 yuan should not be returned to the boss; If you want to leave it on the account, settle it with the next payment to the boss.

The actual amount of bank deposits will be different from the amount in my balance sheet. How to deal with this?

Report according to the actual amount of bank deposits, and the excess or less is included in the undistributed profit (positive or negative), so that the balance sheet is flat. If you open an account halfway (if you go to the company excessively, you also open an account halfway), the balance sheet difference is equal to the previous undistributed profit.