When a subsidiary borrows money, its accounting entries are as follows:
Debit: bank deposit,
Loan: Short-term loan.
When transferred to the parent company, its accounting entries are as follows:
Debit: other receivables,
Loan: bank deposit.