A down payment received before it is earned is recorded with a debit to the current asset account Cash and a credit to the current liability account Customer Deposits.

When the contract is completed, the account Customer Deposits will be debited for the amount of the down payment, the sale will be recorded with a credit, and Cash or Accounts Receivable will be debited.