Biggest changeWe believe our current cash and cash equivalents and future cash flow from operations, and access to our credit facility will be sufficient to meet our ongoing working capital, capital expenditure and other liquidity requirements for at least the next 12 months, and thereafter, for the foreseeable future. 39 Table of Contents Cash Flows The following table sets forth data regarding cash flows for the periods indicated: Year Ended June 30, 2020 2021 2022 Net cash provided by operating activities $ 112,655 $ 124,850 $ 155,053 Cash flows from investing activities: Purchases of available-for-sale securities and other (400,343) — (433,962) Proceeds from sales and maturities of available-for-sale securities 410,593 101,467 116,848 Capitalized internal-use software costs (25,715) (28,594) (34,515) Purchases of property and equipment (16,578) (9,461) (18,069) Acquisitions of businesses, net of cash acquired (16,714) (14,992) (107,576) Other investing activities — — (2,500) Net cash provided by (used in) investing activities (48,757) 48,420 (479,774) Cash flows from financing activities: Net change in client fund obligations (67,165) 432,373 2,228,038 Borrowings under credit facility 100,000 — 50,000 Repayment of credit facility — (100,000) (50,000) Proceeds from exercise of stock options — 146 — Proceeds from employee stock purchase plan 8,901 12,214 14,103 Taxes paid related to net share settlement of equity awards (38,943) (64,191) (69,761) Payment of debt issuance costs (701) (64) (87) Net cash provided by financing activities 2,092 280,478 2,172,293 Net change in cash, cash equivalents and funds held for clients' cash and cash equivalents $ 65,990 $ 453,748 $ 1,847,572 Operating Activities Net cash provided by operating activities was $112.7 million, $124.9 million and $155.1 million for the years ended June 30, 2020, 2021 and 2022, respectively.
Biggest changeCash Flows The following table sets forth data regarding cash flows for the periods indicated: Year Ended June 30, 2021 2022 2023 Net cash provided by operating activities $ 124,850 $ 155,053 $ 282,723 Cash flows from investing activities: Purchases of available-for-sale securities and other — (433,962) (598,895) Proceeds from sales and maturities of available-for-sale securities 101,467 116,848 446,751 Capitalized internal-use software costs (28,594) (34,515) (45,004) Purchases of property and equipment (9,461) (18,069) (21,910) Acquisitions of businesses, net of cash acquired (14,992) (107,576) — Other investing activities — (2,500) (1,104) Net cash provided by (used in) investing activities 48,420 (479,774) (220,162) Cash flows from financing activities: Net change in client fund obligations 432,373 2,228,038 (1,362,421) Borrowings under credit facility — 50,000 — Repayment of credit facility (100,000) (50,000) — Proceeds from exercise of stock options 146 — — Proceeds from employee stock purchase plan 12,214 14,103 16,916 Taxes paid related to net share settlement of equity awards (64,191) (69,761) (88,312) Payment of debt issuance costs (64) (87) (885) Net cash provided by (used in) financing activities 280,478 2,172,293 (1,434,702) Net change in cash, cash equivalents and funds held for clients' cash and cash equivalents $ 453,748 $ 1,847,572 $ (1,372,141) Operating Activities Net cash provided by operating activities was $124.9 million, $155.1 million and $282.7 million for the years ended June 30, 2021, 2022 and 2023, respectively.
Net cash provided by (used in) investing activities is significantly impacted by the timing of purchases and sales and maturities of investments as we invest a portion of our excess cash and cash equivalents and funds held for clients in highly liquid, investment-grade marketable securities.
Net cash provided by (used in) investing activities is significantly impacted by the timing of purchases and sales and maturities of investments as we may invest a portion of our excess cash and cash equivalents and funds held for clients in highly liquid, investment-grade marketable securities.
We supplement our comprehensive software solutions with an integrated implementation and client service organization, all of which are designed to meet the needs of our clients and prospects. We expect to continue to invest in and grow our implementation and client service organization as our client base grows.
We supplement our comprehensive software solutions with an integrated implementation and client service organization, all of which are designed to meet the needs of our clients and sales prospects. We expect to continue to invest in and grow our implementation and client service organization as our client base grows.
Our actual results could differ materially from those anticipated by us in these forward-looking statements as a result of various factors, including those discussed below and under Part I, Item 1A. “Risk Factors.” The following discussion of our financial condition and results of operations covers fiscal 2022 and 2021 items and year-over-year comparisons between fiscal 2022 and 2021.
Our actual results could differ materially from those anticipated by us in these forward-looking statements as a result of various factors, including those discussed below and under Part I, Item 1A. “Risk Factors.” The following discussion of our financial condition and results of operations covers fiscal 2023 and 2022 items and year-over-year comparisons between fiscal 2023 and 2022.
Some of these limitations include the following: • Adjusted EBITDA does not reflect our ongoing or future requirements for capital expenditures; • Adjusted EBITDA does not reflect changes in, or cash requirements for, our working capital needs; • Adjusted EBITDA does not reflect our income tax expense or the cash requirement to pay our taxes; • Although depreciation and amortization are non-cash charges, the assets being depreciated and amortized may have to be replaced in the future, and Adjusted EBITDA does not reflect any cash requirements for such replacements; and • Other companies in our industry may calculate Adjusted Gross Profit and Adjusted EBITDA differently than we do, limiting their usefulness as a comparative measure.
Some of these limitations include the following: • Adjusted EBITDA does not reflect our ongoing or future requirements for capital expenditures; • Adjusted EBITDA does not reflect changes in, or cash requirements for, our working capital needs; • Adjusted EBITDA does not reflect our income tax expense or the cash requirement to pay our taxes; 30 Table of Contents • Although depreciation and amortization are non-cash charges, the assets being depreciated and amortized may have to be replaced in the future, and Adjusted EBITDA does not reflect any cash requirements for such replacements; and • Other companies in our industry may calculate Adjusted Gross Profit and Adjusted EBITDA differently than we do, limiting their usefulness as a comparative measure.
However, we expect to realize cost efficiencies over the long term as our business scales, resulting in improved operating leverage and increased margins. We also capitalize a portion of our internal-use software costs, which are then all amortized as Cost of revenues.
However, we expect to realize cost efficiencies over the long term as our business scales, resulting in improved operating leverage and increased margins. We also capitalize a portion of our internal-use software costs, which are then primarily amortized as Cost of revenues.
Cost of Revenues Cost of revenues includes costs to provide our payroll and other HCM solutions which primarily consists of employee-related expenses, including wages, stock-based compensation, bonuses and benefits, relating to the provision of 32 Table of Contents ongoing client support and implementation activities, payroll tax filing, distribution of printed checks and other materials as well as delivery costs, computing costs, amortization of certain acquired intangibles and bank fees associated with client fund transfers.
Cost of Revenues Cost of revenues includes costs to provide our payroll and other HCM solutions which primarily consists of employee-related expenses, including wages, stock-based compensation, bonuses and benefits, relating to the provision of ongoing client support and implementation activities, payroll tax filing, distribution of printed checks and other materials as well as delivery costs, computing costs, amortization of certain acquired intangibles and bank fees associated with client fund transfers.
Our revenue growth in future periods may be impacted by fluctuations in client employee counts, potential increases in client losses, a changing interest rate environment, uncertainties around market and economic conditions including inflation risk, among other factors. Client Count Growth We believe there is a significant opportunity to grow our business by increasing our number of clients.
Our revenue growth in future periods may be impacted by fluctuations in client employee counts, potential increases in client losses, a changing interest rate environment, uncertainties around market and economic conditions including inflation risk, among other factors. 29 Table of Contents Client Count Growth We believe there is a significant opportunity to grow our business by increasing our number of clients.
Our HCM and payroll platform offers an intuitive, easy-to-use product suite that helps businesses attract and retain talent, build culture and connection with their employees, and streamline and automate HR and payroll processes. Effective management of human capital is a core function in all organizations and requires a significant commitment of resources.
Our HCM and payroll platform offers an intuitive, easy-to-use product suite that helps businesses attract and retain talent, build culture and connection with their employees, and streamline and automate HR and payroll processes. 28 Table of Contents Effective management of human capital is a core function in all organizations and requires a significant commitment of resources.
We allocate the purchase price consideration associated with our acquisitions to the fair values of assets acquired and liabilities assumed at their respective acquisition dates, with the excess recorded to goodwill. The purchase price 38 Table of Contents allocations require us to make significant judgments and estimates in determining such fair values, particularly related to intangible assets.
We allocate the purchase price consideration associated with our acquisitions to the fair values of assets acquired and liabilities assumed at their respective acquisition dates, with the excess recorded to goodwill. The purchase price allocations require us to make significant judgments and estimates in determining such fair values, particularly related to intangible assets.
We believe these metrics are commonly used in the financial community to aid in comparisons of similar companies, and we present them to enhance investors’ understanding of our operating performance and cash flows. 30 Table of Contents Adjusted Gross Profit and Adjusted EBITDA have limitations as analytical tools.
We believe these metrics are commonly used in the financial community to aid in comparisons of similar companies, and we present them to enhance investors’ understanding of our operating performance and cash flows. Adjusted Gross Profit and Adjusted EBITDA have limitations as analytical tools.
We defer implementation fees related to our proprietary products over a period generally up to 24 months. Recurring and other revenue accounted for approximately 97%, 99% and 99% of our total revenues during the years ended June 30, 2020, 2021 and 2022, respectively. Interest Income on Funds Held for Clients We earn interest income on funds held for clients.
We defer implementation fees related to our proprietary products over a period generally up to 24 months. Recurring and other revenue accounted for approximately 99%, 99% and 93% of our total revenues during the years ended June 30, 2021, 2022 and 2023, respectively. Interest Income on Funds Held for Clients We earn interest income on funds held for clients.
The table below sets forth the amounts of capitalized and expensed research and development expenses for each of fiscal 2020, 2021 and 2022.
The table below sets forth the amounts of capitalized and expensed research and development expenses for each of fiscal 2021, 2022 and 2023.
June 30, 2020 2021 2022 Client Count 24,450 28,750 33,300 The rate at which we add clients is highly variable period-to-period and highly seasonal as many clients switch solutions during the first calendar quarter of each year. Although many clients have multiple divisions, segments or locations, we only count such clients once for these purposes.
June 30, 2021 2022 2023 Client Count 28,750 33,300 36,200 The rate at which we add clients is highly variable period-to-period and highly seasonal as many clients switch solutions during the first calendar quarter of each year. Although many clients have multiple divisions, segments or locations, we only count such clients once for these purposes.
We amortized $19.3 million, $23.2 million and $25.3 million of capitalized internal-use software costs in fiscal 2020, 2021 and 2022, respectively. Operating Expenses Sales and Marketing Sales and marketing expenses consist primarily of employee-related expenses for our direct sales and marketing staff, including wages, commissions, stock-based compensation, bonuses, benefits, marketing expenses and other related costs.
We amortized $23.2 million, $25.3 million and $31.4 million of capitalized internal-use software costs in fiscal 2021, 2022 and 2023, respectively. Operating Expenses Sales and Marketing Sales and marketing expenses consist primarily of employee-related expenses for our direct sales and marketing staff, including wages, commissions, stock-based compensation, bonuses, benefits, marketing expenses and other related costs.
We currently have agreements with eleven major U.S. banks to execute ACH and wire transfers to support our client payroll and tax services. We believe we have sufficient capacity under these ACH arrangements to handle all transaction volumes for the foreseeable future.
We currently have agreements with various major U.S. banks to execute ACH and wire transfers to 38 Table of Contents support our client payroll and tax services. We believe we have sufficient capacity under these ACH arrangements to handle all transaction volumes for the foreseeable future.
The table below sets forth the total number of clients using our HCM and payroll software solutions for the periods indicated, rounded to the nearest fifty.
The table below sets forth the total number of clients using our HCM and payroll software solutions for the periods indicated, excluding clients acquired through acquisitions, rounded to the nearest fifty.
Contractual Obligations Our principal commitments consist of $90.9 million in operating lease obligations, of which $10.8 million is due in the next twelve months. Refer to Note 12 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for additional details on our lease activity.
Contractual Obligations Our principal commitments consist of $81.3 million in operating lease obligations, of which $10.1 million is due in the next twelve months. Refer to Note 13 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for additional details on our lease activity.
Cost of revenues increased primarily as a result of the continued growth of our business, in particular, $38.4 million in additional employee-related costs resulting from additional personnel necessary to provide services to new and existing clients, $21.5 million in delivery and other processing-related fees and $3.9 million of additional stock-based compensation associated with our equity plan.
Cost of revenues increased primarily as a result of the continued growth of our business, in particular, $44.6 million in additional employee-related costs resulting from additional personnel necessary to provide services to new and existing clients, $18.3 million in delivery and other processing-related fees and $5.5 million of additional stock-based compensation costs associated with our equity incentive plan.
Recurring and other revenue increased primarily as a result of incremental revenues from new and existing clients due to the strong performance by our sales team, continued annual revenue retention in excess of 92% and improved macroeconomic conditions as compared to the prior fiscal year.
Recurring and other revenue increased primarily as a result of incremental revenues from new and existing clients due to the strong performance by our sales team, continued annual revenue retention in excess of 92% and also increases in client workforce levels as compared to the prior fiscal year.
We capitalized $28.2 million, $31.7 million and $42.2 million of internal-use software costs for the years ended June 30, 2020, 2021 and 2022, respectively, including stock-based compensation costs of $2.4 million, $2.6 million and $7.1 million for the years ended June 30, 2020, 2021 and 2022, respectively.
We capitalized $31.7 million, $42.2 million and $55.6 million of internal-use software costs for the years ended June 30, 2021, 2022 and 2023, respectively, including stock-based compensation costs of $2.6 million, $7.1 million and $11.9 million for the years ended June 30, 2021, 2022 and 2023, respectively.
Future capital requirements will depend on many factors, including our rate of sales growth. In the event that our sales growth or other factors do not meet our expectations, we may eliminate or curtail capital projects in order to mitigate the impact on our use of cash.
In the event that our sales growth or other factors do not meet our expectations, we may eliminate or curtail capital projects in order to mitigate the impact on our use of cash.
Capital expenditures were $16.6 million, $9.5 million and $18.1 million for the years ended June 30, 2020, 2021 and 2022, respectively, exclusive of capitalized internal-use software costs of $25.7 million, $28.6 million, and $34.5 million for the same periods, respectively.
Capital expenditures were $9.5 million, $18.1 million and $21.9 million for the years ended June 30, 2021, 2022 and 2023, respectively, exclusive of capitalized internal-use software costs of $28.6 million, $34.5 million, and $45.0 million for the same periods, respectively.
Year Ended June 30, 2020 2021 2022 (in thousands) Capitalized portion of research and development $ 28,187 $ 31,744 $ 42,234 Expensed portion of research and development 62,766 76,707 102,908 Total research and development $ 90,953 $ 108,451 $ 145,142 We expect to grow our research and development efforts as we continue to broaden our product offerings and extend our technological leadership by investing in the development of new technologies and introducing them to new and existing clients.
Year Ended June 30, 2021 2022 2023 (in thousands) Capitalized portion of research and development $ 31,744 $ 42,234 $ 55,582 Expensed portion of research and development 76,707 102,908 163,994 Total research and development $ 108,451 $ 145,142 $ 219,576 We expect to grow our research and development efforts as we continue to broaden our product offerings and extend our technological leadership by investing in the development of new technologies and introducing them to new and existing clients.
Our average client size has continued to be over 100 employees. While the majority of our agreements with clients are generally cancellable by the client on 60 days’ notice or less, we also have entered into term agreements, which are generally two years in length.
While the majority of our agreements with clients are generally cancellable by the client on 60 days’ notice or less, we also have entered into term agreements, which are generally two years in length.
Excluding clients acquired through acquisitions, the number of clients using our HCM and payroll software solutions at June 30, 2022 increased by 16% to approximately 33,300 from approximately 28,750 at June 30, 2021.
Excluding clients acquired through acquisitions, the number of clients using our HCM and payroll software solutions at June 30, 2023 increased by 9% to approximately 36,200 from approximately 33,300 at June 30, 2022.
Year Ended June 30, 2020 2021 2022 Consolidated Statements of Operations Data: Revenues: Recurring and other revenue 97% 99% 99% Interest income on funds held for clients 3% 1% 1% Total revenues 100% 100% 100% Cost of revenues 32% 35% 34% Gross profit 68% 65% 66% Operating expenses: Sales and marketing 26% 25% 25% Research and development 11% 12% 12% General and administrative 19% 19% 19% Total operating expenses 56% 56% 56% Operating income 12% 9% 10% Other income (expense) 0% 0% 0% Income before income taxes 12% 9% 10% Income tax expense (benefit) 1% (2)% (1) % Net income 11% 11% 11% Comparison of Fiscal Years Ended June 30, 2020, 2021 and 2022 Revenues ($ in thousands) Year Ended June 30, Change from 2020 to 2021 Change from 2021 to 2022 2020 2021 2022 $ % $ % Recurring and other revenue $ 546,212 $ 631,725 $ 847,694 $ 85,513 16% $ 215,969 34% Percentage of total revenues 97 % 99 % 99 % Interest income on funds held for clients $ 15,117 $ 3,902 $ 4,957 $ (11,215) (74)% $ 1,055 27% Percentage of total revenues 3 % 1 % 1 % Recurring and Other Revenue Recurring and other revenue for the year ended June 30, 2022 increased by $216.0 million, or 34%, to $847.7 million from $631.7 million for the year ended June 30, 2021.
Year Ended June 30, 2021 2022 2023 Consolidated Statements of Operations Data: Revenues: Recurring and other revenue 99% 99% 93% Interest income on funds held for clients 1% 1% 7% Total revenues 100% 100% 100% Cost of revenues 35% 34% 31% Gross profit 65% 66% 69% Operating expenses: Sales and marketing 25% 25% 25% Research and development 12% 12% 14% General and administrative 19% 19% 16% Total operating expenses 56% 56% 55% Operating income 9% 10% 14% Other income (expense) 0% 0% 0% Income before income taxes 9% 10% 14% Income tax expense (benefit) (2)% (1)% 2 % Net income 11% 11% 12% 34 Table of Contents Comparison of Fiscal Years Ended June 30, 2021, 2022 and 2023 Revenues ($ in thousands) Year Ended June 30, Change from 2021 to 2022 Change from 2022 to 2023 2021 2022 2023 $ % $ % Recurring and other revenue $ 631,725 $ 847,694 $ 1,098,036 $ 215,969 34% $ 250,342 30% Percentage of total revenues 99 % 99 % 93 % Interest income on funds held for clients $ 3,902 $ 4,957 $ 76,562 $ 1,055 27% $ 71,605 1,445% Percentage of total revenues 1 % 1 % 7 % Recurring and Other Revenue Recurring and other revenue for the year ended June 30, 2023 increased by $250.3 million, or 30%, to $1,098.0 million from $847.7 million for the year ended June 30, 2022.
The increase in net cash provided by operating activities from fiscal 2021 to fiscal 2022 was primarily due to improved operating results after adjusting for non-cash items including stock-based compensation expense, depreciation and amortization expense and deferred income tax expense (benefit), partially offset by net changes in operating assets and liabilities during the year ended June 30, 2022 as compared to the year ended June 30, 2021.
The change in net cash provided by operating activities from fiscal 2022 to fiscal 2023 was primarily due to improved operating results after adjusting for non-cash items including stock-based compensation expense, depreciation and amortization expense and deferred income tax expense (benefit), partially offset by net changes in operating assets and liabilities during the year ended June 30, 2023 as compared to the year ended June 30, 2022. 39 Table of Contents Investing Activities Net cash provided by (used in) investing activities was $48.4 million, $(479.8) million and $(220.2) million, for the years ended June 30, 2021, 2022 and 2023, respectively.
Interest Income on Funds Held for Clients Interest income on funds held for clients for the year ended June 30, 2022 increased by $1.1 million, or 27%, to $5.0 million from $3.9 million for the year ended June 30, 2021.
Interest Income on Funds Held for Clients Interest income on funds held for clients for the year ended June 30, 2023 increased by $71.6 million, or 1,445%, to $76.6 million from $5.0 million for the year ended June 30, 2022.
Excluding clients acquired through acquisitions, we have increased the number of clients using our HCM and payroll software solutions from approximately 24,450 as of June 30, 2020 to approximately 33,300 as of June 30, 2022, representing a compound annual growth rate of approximately 17%.
Excluding clients acquired through acquisitions, we have increased the number of clients using our HCM and payroll software solutions from approximately 28,750 as of June 30, 2021 to approximately 36,200 as of June 30, 2023, representing a compound annual growth rate of approximately 12%.
As of June 30, 2022, we did not have any corporate investments. In order to grow our business, we intend to increase our personnel and related expenses and to make significant investments in our platform, data centers and general infrastructure.
In order to grow our business, we intend to increase our personnel and related expenses and to make significant investments in our platform, data centers and general infrastructure.
Interest income on funds held for clients increased primarily due to higher average daily balances for funds held due to the addition of new clients to our client base and increases in client employee counts on our platform.
Interest income on funds held for clients increased primarily due to higher interest rates and higher average daily balances for funds held due to the addition of new clients to our client base and also increases in client workforce levels as compared to the prior fiscal year.
Cost of Revenues ($ in thousands) Year Ended June 30, Change from 2020 to 2021 Change from 2021 to 2022 2020 2021 2022 $ % $ % Cost of revenues $ 182,010 $ 219,298 $ 287,002 $ 37,288 20% $ 67,704 31% Percentage of total revenues 32% 35% 34% Gross margin 68% 65% 66% Cost of revenues for the year ended June 30, 2022 increased by $67.7 million, or 31%, to $287.0 million from $219.3 million for the year ended June 30, 2021.
Cost of Revenues ($ in thousands) Year Ended June 30, Change from 2021 to 2022 Change from 2022 to 2023 2021 2022 2023 $ % $ % Cost of revenues $ 219,298 $ 287,002 $ 367,039 $ 67,704 31% $ 80,037 28% Percentage of total revenues 35% 34% 31% Gross profit margin 65% 66% 69% Cost of revenues for the year ended June 30, 2023 increased by $80.0 million, or 28%, to $367.0 million from $287.0 million for the year ended June 30, 2022.
The change in net cash provided by financing activities from fiscal 2021 to fiscal 2022 was primarily the result of an increase of $1,795.7 million due to the timing of client funds collected and related remittance of those funds to client employees and taxing authorities during the year ended June 30, 2022 as compared to the year ended June 30, 2021.
The change in net cash provided by (used in) financing activities was primarily the decrease in client fund obligations of $3,590.5 million due to the timing of client funds collected and related remittance of those funds to client employees and taxing authorities during the year ended June 30, 2023 as compared to the year ended June 30, 2022.
Year Ended June 30, 2020 2021 2022 (in thousands) Consolidated Statements of Operations Data: Revenues: Recurring and other revenue $ 546,212 $ 631,725 $ 847,694 Interest income on funds held for clients 15,117 3,902 4,957 Total revenues 561,329 635,627 852,651 Cost of revenues 182,010 219,298 287,002 Gross profit 379,319 416,329 565,649 Operating expenses: Sales and marketing 145,134 161,808 214,455 Research and development 62,766 76,707 102,908 General and administrative 105,248 119,771 163,692 Total operating expenses 313,148 358,286 481,055 Operating income 66,171 58,043 84,594 Other income (expense) 947 (939) (997) Income before income taxes 67,118 57,104 83,597 Income tax expense (benefit) 2,663 (13,715) (7,180) Net income $ 64,455 $ 70,819 $ 90,777 34 Table of Contents The following table sets forth our statements of operations data as a percentage of total revenue for each of the periods indicated.
Year Ended June 30, 2021 2022 2023 (in thousands) Consolidated Statements of Operations Data: Revenues: Recurring and other revenue $ 631,725 $ 847,694 $ 1,098,036 Interest income on funds held for clients 3,902 4,957 76,562 Total revenues 635,627 852,651 1,174,598 Cost of revenues 219,298 287,002 367,039 Gross profit 416,329 565,649 807,559 Operating expenses: Sales and marketing 161,808 214,455 296,716 Research and development 76,707 102,908 163,994 General and administrative 119,771 163,692 191,823 Total operating expenses 358,286 481,055 652,533 Operating income 58,043 84,594 155,026 Other income (expense) (939) (997) 3,588 Income before income taxes 57,104 83,597 158,614 Income tax expense (benefit) (13,715) (7,180) 17,792 Net income $ 70,819 $ 90,777 $ 140,822 The following table sets forth our statements of operations data as a percentage of total revenue for each of the periods indicated.
Because the use of estimates is an integral part of the financial reporting process, actual results could differ, and such differences could be material. 37 Table of Contents Revenue Recognition We apply Accounting Standards Codification (“ASC”) 606, Revenue from Contracts with Customers (“Topic 606”), whereby we recognize revenue when we transfer control of goods or services to our customers in an amount that reflects the consideration to which we expect to be entitled to for those goods or services.
Revenue Recognition We apply Accounting Standards Codification (“ASC”) 606, Revenue from Contracts with Customers (“Topic 606”), whereby we recognize revenue when we transfer control of goods or services to our customers in an amount that reflects the consideration to which we expect to be entitled to for those goods or services.
Implementations of our payroll solutions typically require one to eight weeks, depending on the size and complexity of each client, at which point the new client’s payroll is first processed using our solution. We implement additional HCM products as requested by clients and leverage the data within our payroll solution to accelerate our implementation processes.
We charge implementation fees for professional services provided to implement our HCM and payroll solutions. Implementations of our payroll solutions typically require one to eight weeks, depending on the size and complexity of each client, at which point the new client’s payroll is first processed using our solution.
New Accounting Pronouncements Refer to Note 2 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for a discussion of recently issued accounting standards.
We also have $59.0 million in purchase obligations, of which $32.2 million is due in the next twelve months. New Accounting Pronouncements Refer to Note 2 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for a discussion of recently issued accounting standards.
We reconcile Adjusted Gross Profit and Adjusted EBITDA as follows: Year Ended June 30, 2020 2021 2022 (in thousands) Adjusted Gross Profit $ 404,797 $ 447,904 $ 605,500 Adjusted EBITDA $ 159,775 $ 170,028 $ 237,800 Year Ended June 30, 2020 2021 2022 (in thousands) Reconciliation from Gross Profit to Adjusted Gross Profit Gross profit $ 379,319 $ 416,329 $ 565,649 Amortization of capitalized internal-use software costs and certain acquired intangibles 19,261 23,227 27,120 Stock-based compensation expense and employer payroll taxes related to stock releases and option exercises 6,217 8,348 12,610 Other items (1) — — 121 Adjusted Gross Profit $ 404,797 $ 447,904 $ 605,500 31 Table of Contents Year Ended June 30, 2020 2021 2022 (in thousands) Reconciliation from Net Income to Adjusted EBITDA Net income $ 64,455 $ 70,819 $ 90,777 Interest expense 695 1,002 498 Income tax expense (benefit) 2,663 (13,715) (7,180) Depreciation and amortization expense 37,913 42,972 50,218 EBITDA 105,726 101,078 134,313 Stock-based compensation expense and employer payroll taxes related to stock releases and option exercises 50,364 67,059 101,109 Other items (2) 3,685 1,891 2,378 Adjusted EBITDA $ 159,775 $ 170,028 $ 237,800 (1) Represents nonrecurring acquisition-related costs.
We reconcile Adjusted Gross Profit and Adjusted EBITDA as follows: Year Ended June 30, 2021 2022 2023 (in thousands) Reconciliation from Gross Profit to Adjusted Gross Profit Gross profit $ 416,329 $ 565,649 $ 807,559 Amortization of capitalized internal-use software costs 23,227 25,267 31,440 Amortization of certain acquired intangibles — 1,853 7,414 Stock-based compensation expense and employer payroll taxes related to stock releases and option exercises 8,348 12,610 18,446 Other items (1) — 121 19 Adjusted Gross Profit $ 447,904 $ 605,500 $ 864,878 Year Ended June 30, 2021 2022 2023 (in thousands) Reconciliation from Net income to Adjusted EBITDA Net income $ 70,819 $ 90,777 $ 140,822 Interest expense 1,002 498 752 Income tax expense (benefit) (13,715) (7,180) 17,792 Depreciation and amortization expense 42,972 50,218 60,866 EBITDA 101,078 134,313 220,232 Stock-based compensation expense and employer payroll taxes related to stock releases and option exercises 67,059 101,109 154,505 Other items (2) 1,891 2,378 446 Adjusted EBITDA $ 170,028 $ 237,800 $ 375,183 (1) Represents acquisition-related costs.
Liquidity and Capital Resources Our primary liquidity needs are related to the funding of general business requirements, including working capital requirements, research and development, and capital expenditures. As of June 30, 2022, our principal sources of liquidity were $139.8 million of cash and cash equivalents. In July 2019, we entered into and currently maintain a five-year revolving credit agreement.
Liquidity and Capital Resources Our primary liquidity needs are related to the funding of general business requirements, including working capital requirements, research and development, and capital expenditures. As of June 30, 2023, our principal sources of liquidity were $288.8 million of cash and cash equivalents.
Research and Development Year Ended June 30, Change from 2020 to 2021 Change from 2021 to 2022 2020 2021 2022 $ % $ % Research and development $ 62,766 $ 76,707 $ 102,908 $ 13,941 22% $ 26,201 34% Percentage of total revenues 11% 12% 12% Research and development expenses for the year ended June 30, 2022 increased by $26.2 million, or 34%, to $102.9 million from $76.7 million for the year ended June 30, 2021.
Research and Development Year Ended June 30, Change from 2021 to 2022 Change from 2022 to 2023 2021 2022 2023 $ % $ % Research and development $ 76,707 $ 102,908 $ 163,994 $ 26,201 34% $ 61,086 59% Percentage of total revenues 12% 12% 14% Research and development expenses for the year ended June 30, 2023 increased by $61.1 million, or 59%, to $164.0 million from $102.9 million for the year ended June 30, 2022.
Discussion of fiscal 2020 items and year-over-year comparisons between fiscal 2021 and 2020 that are not included in this Form 10-K can be found in “Management’s Discussion and Analysis of Financial Condition and Results of Operations” in Part II, Item 7 of our Annual Report on Form 10-K for the fiscal year ended June 30, 202 1 that was filed with the SEC on August 6 , 202 1 . 28 Table of Contents Overview We are a leading cloud-based provider of human capital management, or HCM, and payroll software solutions that deliver a comprehensive platform for the modern workforce.
Discussion of fiscal 2021 items and year-over-year comparisons between fiscal 2022 and 2021 that are not included in this Form 10-K can be found in “Management’s Discussion and Analysis of Financial Condition and Results of Operations” in Part II, Item 7 of our Annual Report on Form 10-K for the fiscal year ended June 30, 202 2 that was filed with the SEC on August 5 , 202 2 .
See Note 13 of the Notes to Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” of this Annual Report on Form 10-K for further details on the components of income tax and a reconciliation of the U.S. federal statutory rate to the effective tax rate.
Our effective tax rates for the years ended June 30, 2022 and 2023 were lower than the federal statutory rate of 21% primarily due to benefits from stock-based compensation and research and development tax credits generated. 36 Table of Contents See Note 14 of the Notes to Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” of this Annual Report on Form 10-K for further details on the components of income tax and a reconciliation of the U.S. federal statutory rate to the effective tax rate.
The decrease in net cash provided by (used in) investing activities from fiscal 2021 to fiscal 2022 was primarily due to an increase in purchases of available-for-sale securities of $434.0 million during the year ended June 30, 2022 as compared to the year ended June 30, 2021 and an increase in cash paid for acquisitions of businesses of $92.6 million, partially offset by an increase in proceeds from sales and maturities of available-for-sale securities of $15.4 million. 40 Table of Contents Financing Activities Net cash provided by financing activities was $2.1 million, $280.5 million and $2,172.3 million for the years ended June 30, 2020, 2021 and 2022, respectively.
The change in net cash provided by (used in) investing activities from fiscal 2022 to fiscal 2023 was primarily due to an increase in proceeds from sales and maturities of available-for-sale securities of $329.9 million and a decrease of $107.6 million in amounts paid for acquisitions, net of cash acquired, partially offset by $164.9 in additional purchases of available-for-sale securities during the year ended June 30, 2023 as compared to the year ended June 30, 2022.
We may invest portions of our excess cash and cash equivalents in highly liquid, investment-grade marketable securities. These investments may consist of commercial paper, corporate debt issuances, asset-backed debt securities, certificates of deposit, U.S. treasury securities, U.S. government agency securities and other securities with credit quality ratings of A-1 or higher.
These investments may consist of commercial paper, corporate debt issuances, asset-backed debt securities, certificates of deposit, U.S. treasury securities, U.S. government agency securities and other securities with credit quality ratings of A-1 or higher. As of June 30, 2023, we did not have any corporate investments classified as available-for-sale securities.
We will seek to grow our number of clients for the foreseeable future and therefore our sales and marketing expense is expected to continue to increase in absolute dollars as we grow our sales organization and expand our marketing activities.
We capitalize certain selling and commission costs related to new contracts or purchases of additional services by our existing clients and amortize them over a period of 7 years. 32 Table of Contents We will seek to grow our number of clients for the foreseeable future and therefore our sales and marketing expense is expected to continue to increase in absolute dollars as we grow our sales organization and expand our marketing activities.
This visibility enables us to better manage and invest in our business. 29 Table of Contents Total revenues increased from $561.3 million in fiscal 2020 to $635.6 million in fiscal 2021, representing a 13% year-over-year increase. Total revenues increased from $635.6 million in fiscal 2021 to $852.7 million in fiscal 2022, representing a 34% year-over-year increase.
Revenue Growth Our recurring revenue model and high annual revenue retention rates provide significant visibility into our future operating results and cash flow from operations. This visibility enables us to better manage and invest in our business. Total revenues increased from $635.6 million in fiscal 2021 to $852.7 million in fiscal 2022, representing a 34% year-over-year increase.
Investing Activities Net cash provided by (used in) investing activities was $(48.8) million, $48.4 million and $(479.8) million, for the years ended June 30, 2020, 2021 and 2022, respectively.
Financing Activities Net cash provided by (used in) financing activities was $280.5 million, $2,172.3 million and $(1,434.7) million for the years ended June 30, 2021, 2022 and 2023, respectively.
The increase was also driven by $6.2 million of additional stock-based compensation costs associated with our equity incentive plan and $5.7 million in additional marketing lead generation costs.
The increase in sales and marketing expense was primarily due to $53.9 million of additional employee-related costs, including those incurred to expand our sales team. The increase was also driven by $15.1 million of additional stock-based compensation costs associated with our equity incentive plan and $8.1 million in additional marketing lead generation costs.
Operating Expenses ($ in thousands) Sales and Marketing Year Ended June 30, Change from 2020 to 2021 Change from 2021 to 2022 2020 2021 2022 $ % $ % Sales and marketing $ 145,134 $ 161,808 $ 214,455 $ 16,674 11% $ 52,647 33% Percentage of total revenues 26% 25% 25% Sales and marketing expenses for the year ended June 30, 2022 increased by $52.6 million, or 33%, to $214.5 million from $161.8 million for the year ended June 30, 2021.
Gross profit margin increased from 66% for the year ended June 30, 2022 to 69% for the year ended June 30, 2023, which was primarily driven by total revenue growth and improved operating leverage. 35 Table of Contents Operating Expenses ($ in thousands) Sales and Marketing Year Ended June 30, Change from 2021 to 2022 Change from 2022 to 2023 2021 2022 2023 $ % $ % Sales and marketing $ 161,808 $ 214,455 $ 296,716 $ 52,647 33% $ 82,261 38% Percentage of total revenues 25% 25% 25% Sales and marketing expenses for the year ended June 30, 2023 increased by $82.3 million, or 38%, to $296.7 million from $214.5 million for the year ended June 30, 2022.
Basis of Presentation Revenues Recurring and Other Revenue We derive the majority of our revenues from recurring fees attributable to our cloud-based HCM and payroll software solutions. Recurring fees for each client generally include a base fee in addition to a fee based on the number of client employees and the number of products a client uses.
Recurring fees for each client generally include a base fee in addition to a fee based on the number of client employees and the number of products a client uses. We also charge fees attributable to our preparation of W-2 documents and annual required filings on behalf of our clients.
We amortized $19.3 million, $23.2 million and $25.3 million of capitalized internal-use software costs for the years ended June 30, 2020, 2021 and 2022, respectively. In fiscal 2020, fiscal 2021 and fiscal 2022, we developed significant additional functionality in several of our modules.
We amortized $23.2 million, $25.3 million and $31.4 million of capitalized internal-use software costs for the years ended June 30, 2021, 2022 and 2023, respectively. Business Combinations We include the results of businesses acquired in our consolidated financial statements from the date of acquisition.
Capitalized employee costs are limited to the time directly spent on such projects. Internal-use software is amortized on a straight-line basis, generally over a 24 or 36-month period. We evaluate the useful lives of these assets on an annual basis and test for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets.
We evaluate the useful lives of these assets on an annual basis and test for impairment whenever events or changes in circumstances occur that could impact the recoverability of these assets. There was no impairment to capitalized internal-use software during the years ended June 30, 2021, 2022 or 2023.
We expect our general and administrative expenses to continue to increase in absolute dollars as our company continues to grow. 33 Table of Contents Other Income (Expense) Other income (expense) generally consists of interest income related to interest earned on our cash and cash equivalents and corporate investments, net of losses on disposals of property and equipment and interest expense related to our revolving credit facility.
Other Income (Expense) Other income (expense) generally consists of interest income related to interest earned on our cash and cash equivalents and, if any, corporate investments, net of losses on disposals of property and equipment and interest expense related to our revolving credit facility. 33 Table of Contents Results of Operations The following table sets forth our statements of operations data for each of the periods indicated.
In the third quarter of fiscal 2022, we borrowed $50.0 million in connection with our acquisition of Cloudsnap, Inc., which we repaid within the same quarter. Refer to Note 11 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for additional details on the credit agreement and borrowing activity.
Refer to Note 12 of the Notes to the Consolidated Financial Statements included in Part II, Item 8: “Financial Statements and Supplementary Data” for additional details on the credit agreement and borrowing activity. We may invest portions of our excess cash and cash equivalents in highly liquid, investment-grade marketable securities.
Our sales personnel earn commissions and bonuses for attainment of certain performance criteria based upon new sales throughout the fiscal year. We capitalize certain selling and commission costs related to new contracts or purchases of additional services by our existing clients and amortize them over a period of 7 years.
Our sales personnel earn commissions and bonuses for attainment of certain performance criteria based upon new sales throughout the fiscal year.
During fiscal 2022, total revenue growth was driven by the strong performance by our sales team, continued annual revenue retention in excess of 92% and an overall improvement in macroeconomic conditions compared to the prior year.
During fiscal 2023, total revenue growth was driven by the strong performance by our sales team, continued annual revenue retention in excess of 92%, increases in client workforce levels and growth in interest income on funds held for clients attributable to rising interest rates and higher average daily balances for funds held for clients due to the addition of new clients and increases in client workforce levels as compared to the prior fiscal year.
The increase in research and development expenses was primarily the result of $22.2 million of additional employee-related costs related to additional development personnel and $8.5 million of additional stock-based compensation associated with our equity incentive plan, partially offset by higher year-over-year capitalized internal-use software costs of $5.2 million. 36 Table of Contents General and Administrative Year Ended June 30, Change from 2020 to 2021 Change from 2021 to 2022 2020 2021 2022 $ % $ % General and administrative $ 105,248 $ 119,771 $ 163,692 $ 14,523 14% $ 43,921 37% Percentage of total revenues 19% 19% 19% General and administrative expenses for the year ended June 30, 2022 increased by $43.9 million, or 37%, to $163.7 million from $119.8 million for the year ended June 30, 2021.
The increase in research and development expenses was primarily due to $47.4 million of additional employee-related costs related to additional development personnel and $17.8 million of additional stock-based compensation costs associated with our equity incentive plan, partially offset by $9.1 million in higher period-over-period capitalized internal-use software costs.
We also have $38.3 million in purchase obligations, of which $21.7 million is due in the next twelve months. Capital Expenditures We expect to continue to invest in capital spending as we continue to grow our business and expand and enhance our operating facilities, data centers and technical infrastructure.
Capital Expenditures We expect to continue to invest in capital spending as we continue to grow our business and expand and enhance our operating facilities, data centers and technical infrastructure. Future capital requirements will depend on many factors, including our rate of sales growth.
The increase in general and administrative expenses was primarily the result of $14.5 million in additional stock-based compensation associated with our equity incentive plan, $11.7 million of additional employee-related costs, $9.6 million in additional 401(k) expense, and $3.1 million in additional amortization of certain acquired intangible assets.
The increase in general and administrative expenses was primarily due to $12.8 million of additional stock-based compensation costs associated with our equity incentive plan and $12.3 million in additional employee-related costs. Other Income (Expense) Other income (expense) for the year ended June 30, 2023 increased by $4.6 million as compared to the year ended June 30, 2022.
Key Metrics We regularly review a number of metrics, including the following key metrics, to evaluate our business, measure our performance, identify trends affecting our business, formulate financial projections and make strategic decisions. Revenue Growth Our recurring revenue model and high annual revenue retention rates provide significant visibility into our future operating results and cash flow from operations.
Paylocity Holding Corporation is a Delaware corporation, which was formed in November 2013. Our business operations are conducted by our wholly owned subsidiaries. Key Metrics We regularly review a number of metrics, including the following key metrics, to evaluate our business, measure our performance, identify trends affecting our business, formulate financial projections and make strategic decisions.
Additional expenses include consulting and professional fees, occupancy costs, insurance and other corporate expenses.
Additional expenses include consulting and professional fees, occupancy costs, insurance and other corporate expenses. We expect our general and administrative expenses to continue to increase in absolute dollars as our company continues to grow.
This credit agreement provides for a $250.0 million senior revolving credit facility which may be increased up to $375.0 million. In the fourth quarter of fiscal 2020, we borrowed $100.0 million under this credit facility, which we repaid in the third quarter of fiscal 2021.
In the fourth quarter of fiscal 2020, we borrowed $100.0 million under the original credit facility, which we repaid in the third quarter of fiscal 2021. In the third quarter of fiscal 2022, we borrowed $50.0 million in connection with our acquisition of Cloudsnap, Inc., which we repaid within the same quarter.