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