Debit: bank deposit,
Loan: short-term loan or long-term loan.
When the money for selling goods is not received, the accounting treatment is,
Debit: accounts receivable -XXX company,
Loan: income from main business,
Taxes payable-VAT payable (output tax).