Assuming that a shareholder is an owner in a company, you can record his/her contributions in QB. Please keep in mind that they should be added to the equity account. To reach the account, first, go to "Accounting" in the software. Then using COA, select "Account Type". Here, the specified type "Equity" will be mentioned. Use it to continue recording the amount.