Record the total debit amount in the accounts receivable account ing to the invoice. When the customer pays the invoice in full, post a debit in the sales account. This helps balance the double-entry system, which can help you avoid accounting errors and balance books more effectively.