-:According to the cash basis
Revenue is recognized when its value is received from third parties, and expenses are recognized as soon as they are paid to others, whether those revenues or expenses belong to the current period or not
As per the due basis:-
Revenue is recognized in the period in which the goods are sold or service is provided to third parties, whether or not the value is received from the customer. Expenses relating to the current period, whether paid or not, are recognized.