Revenue recognition in five steps
Under ASC 606 and IFRS 15, a seller recognizes revenue as it hands over what it promised, by finding the contract, its promises and its price, splitting the price across the promises, and recognizing each part when that promise is met.
From Financial Accounting.