cash and accrual method. There are any references about cash and accrual method in here. you can look below.