You credit REVENUES EARNED, and if the revenues are receivable you debit to ACCOUNTS RECEIVABLE