If a company uses accrual accounting, revenue is recognized when the transaction takes place, not when the revenue from the transaction is received.