Account types determine where an amount belongs in financial statements. A period testing fee is an expense. A recoverable deposit remains an asset while the company retains its right to recover it. Customer cash received before earning revenue can create a liability instead of income. Choose the type from the economic event, not from which bank account pays the money.
This model exposes a small chart of accounts with Asset, Liability, Equity, Income and Expense categories. Those simplified categories aren't every account type offered by NetSuite. Creating an account doesn't create a balance, and an inactive account remains recognizable in the history. After saving a record, inspect both its ID and category. A balanced journal can't repair an account whose economic classification is wrong.