General journal entry.
Debit to the bank account
Credit to an equity account.
If it is a sole proprietorship, credit Owner Capital Account.
If it is a partnership, credit the appropriate partner's Capital Account. You should have separate capital accounts for each partner.