According to U.S. GAAP, revenue is recognized when a good or service is transferred to a customer, and the amount recognized reflects the expected payment from the customer.