XML 23 R9.htm IDEA: XBRL DOCUMENT
v3.20.2

Revenue | 12 Months Ended
--- | ---
Jun. 30, 2020
Revenue |
Revenue | (3) Revenue ​ The following table disaggregates revenue by Recurring fees and Implementation services and other, which the Company believes depicts the nature, amount and timing of its revenue: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended
​ | ​ | June 30,
​ |  | 2019 |  | 2020
Recurring fees |  | $ | 436,955 | ​ | $ | 526,267
Implementation services and other |  |  | 10,797 | ​ |  | 19,945
Total revenues from contracts |  | $ | 447,752 | ​ | $ | 546,212
​ Deferred revenue ​ The timing of revenue recognition for recurring revenue is consistent with the timing of invoicing as they occur simultaneously upon the client payroll-processing period or by month. As such, the Company does not recognize contract assets or liabilities related to recurring revenue. ​ ​ The nonrefundable upfront fees related to implementation services are invoiced with the client’s first payroll period. The Company defers and amortizes these nonrefundable upfront fees generally over a period up to 24 months based on the type of contract. The following table summarizes the changes in deferred revenue (i.e. contract liability) related to these nonrefundable upfront fees as follows: ​
​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended
​ | ​ | June 30,
​ |  | 2019 |  | 2020
Balance at beginning of the year | ​ | $ | — | ​ | $ | 6,289
Deferral of revenue | ​ |  | 13,254 | ​ |  | 15,998
Revenue recognized | ​ | ​ | (6,965) | ​ | ​ | (13,853)
Balance at end of the year | ​ | $ | 6,289 | ​ | $ | 8,434
​ Deferred revenue related to these nonrefundable upfront fees are recorded within accrued expenses and other long-term liabilities on the consolidated balance sheets. The Company expects to recognize these deferred revenue balances of $6,689 in fiscal 2021, $1,587 in fiscal 2022, and $158 thereafter. ​ Deferred contract costs ​ The Company defers certain selling and commission costs that meet the capitalization criteria under ASC 340-40. The Company also capitalizes certain costs to fulfill a contract related to its proprietary products if they are identifiable, generate or enhance resources used to satisfy future performance obligations and are expected to be recovered under ASC 340-40. Implementation fees are treated as nonrefundable upfront fees and the related implementation costs are required to be capitalized and amortized over the expected period of benefit, which is the period in which the Company expects to recover the costs and enhance its ability to satisfy future performance obligations. ​ The Company utilizes the portfolio approach to account for both the cost of obtaining a contract and the cost of fulfilling a contract. These capitalized costs are amortized over the expected period of benefit, which has been determined to be over 7 years based on the Company’s average client life and other qualitative factors, including rate of technological changes. The Company does not incur any additional costs to obtain or fulfill contracts upon renewal. The Company recognizes additional selling and commission costs and fulfillment costs when an existing client purchases additional services. These additional costs only relate to the additional services purchased and do not relate to the renewal of previous services. ​ The following tables present the deferred contract costs balances and the related amortization expense for these deferred contract costs: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended June 30, 2019
​ | ​ | Beginning | ​ | Capitalized | ​ | ​ | ​ | ​ | Ending
​ |  | Balance |  | Costs |  | Amortization |  | Balance
Costs to obtain a new contract | ​ | $ | 68,107 | ​ | $ | 30,994 | ​ | $ | (16,998) | ​ | $ | 82,103
Costs to fulfill a contract |  |  | — | ​ | ​ | 22,739 | ​ | ​ | (1,743) | ​ |  | 20,996
Total | ​ | $ | 68,107 | ​ | $ | 53,733 | ​ | $ | (18,741) | ​ | $ | 103,099
​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Year Ended June 30, 2020
​ | ​ | Beginning | ​ | Capitalized | ​ | ​ | ​ | ​ | Ending
​ |  | Balance |  | Costs |  | Amortization |  | Balance
Costs to obtain a new contract | ​ | $ | 82,103 | ​ | $ | 53,529 | ​ | $ | (22,057) | ​ | $ | 113,575
Costs to fulfill a contract | ​ | ​ | 20,996 | ​ | ​ | 28,893 | ​ | ​ | (5,421) | ​ | ​ | 44,468
Total | ​ | $ | 103,099 | ​ | $ | 82,422 | ​ | $ | (27,478) | ​ | $ | 158,043
​ Deferred contract costs are recorded within Deferred contract costs and Long-term deferred contract costs on the Consolidated Balance Sheets. Amortization of deferred contract costs is recorded in Cost of revenues, Sales and marketing, and General and administrative in the Consolidated Statements of Operations and Comprehensive Income. ​ ​ Remaining Performance Obligations ​ The Company has applied the practical expedients as allowed under Topic 606 and elects not to disclose the value of unsatisfied performance obligations for contracts that have an original expected duration of one year or less and contracts for which the variable consideration is allocated entirely to wholly unsatisfied performance obligations. The Company’s remaining performance obligations related to minimum monthly fees on its term-based contracts was approximately $47,601 as of June 30, 2020, which will be generally recognized over the next 24 months.

X
- References No definition available. + Details
Name: | us-gaap_RevenueFromContractWithCustomerAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure of revenue from contract with customer to transfer good or service and to transfer nonfinancial asset. Includes, but is not limited to, disaggregation of revenue, credit loss recognized from contract with customer, judgment and change in judgment related to contract with customer, and asset recognized from cost incurred to obtain or fulfill contract with customer. Excludes insurance and lease contracts. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 606 -URI http://asc.fasb.org/topic&trid=49130388 + Details
Name: | us-gaap_RevenueFromContractWithCustomerTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration