Biggest changeBecause of these limitations, you should consider the non-GAAP financial measures alongside other financial performance measures, including net income (loss) and our other financial results presented in accordance with GAAP. 76 The following table presents a reconciliation of net income (loss) to Adjusted EBITDA for each of the periods indicated (in thousands): Year Ended December 31, 2022 2021 2020 2019 2018 Net income (loss) attributable to common stockholders $ (540,747) $ 166,284 $ 213,105 $ 375,446 $ (38,453) Net loss attributable to noncontrolling interests (12,258) (7,458) — — — Net income (loss) (553,005) 158,826 213,105 375,446 (38,453) Share-based compensation expense 1,069,289 608,042 397,500 297,863 216,881 Depreciation and amortization 340,523 134,756 84,212 75,598 60,961 Acquisition related, integration, and other costs 157,264 35,474 7,482 9,739 4,708 Interest expense, net 36,228 33,124 56,943 21,516 17,982 Other expense (income), net (95,443) (29,474) (291,725) 273 (18,469) Bitcoin impairment losses 46,571 71,126 — — — Provision (benefit) for income taxes (12,312) (1,364) 2,862 2,767 2,326 Loss (gain) on disposal of property and equipment 1,619 2,633 2,570 1,008 (224) Gain on sale of asset group — — — (373,445) — Acquired deferred revenue adjustment 382 744 1,497 7,457 12,853 Acquired deferred costs adjustment (152) (230) (375) (1,369) (2,042) Adjusted EBITDA $ 990,964 $ 1,013,657 $ 474,071 $ 416,853 $ 256,523 77 The following table presents a reconciliation of net income (loss) to Adjusted Net Income (Loss) Per Share for each of the periods indicated (in thousands, except per share data): Year Ended December 31, 2022 2021 2020 2019 2018 Net income (loss) attributable to common stockholders $ (540,747) $ 166,284 $ 213,105 $ 375,446 $ (38,453) Net loss attributable to noncontrolling interests (12,258) (7,458) — — — Net income (loss) $ (553,005) $ 158,826 $ 213,105 $ 375,446 $ (38,453) Share-based compensation expense 1,069,289 608,042 397,500 297,863 216,881 Acquisition related, integration, and other costs 157,264 35,474 7,482 9,739 4,708 Amortization of intangible assets 208,952 40,522 19,239 15,000 13,103 Amortization of debt discount and issuance costs 15,162 9,822 67,979 39,139 32,855 Loss (gain) on revaluation of equity investments (73,457) (35,493) (295,297) 12,326 (20,342) Bitcoin impairment losses 46,571 71,126 — — — Loss on extinguishment of long-term debt — — 6,651 — 5,028 Loss (gain) on disposal of property and equipment 1,619 2,633 2,570 1,008 (224) Gain on sale of asset group — — — (373,445) — Acquired deferred revenue adjustment 382 744 1,497 7,457 12,853 Acquired deferred cost adjustment (152) (230) (375) (1,369) (2,042) Tax effect of non-GAAP net income adjustments (264,523) (222,104) (102,383) (85,372) (34,371) Adjusted Net Income - basic $ 608,102 $ 669,362 $ 317,968 $ 297,792 $ 189,996 Cash interest expense on convertible notes 5,014 6,099 6,078 5,108 1,292 Adjusted Net Income - diluted $ 613,116 $ 675,461 $ 324,046 $ 302,900 $ 191,288 Weighted-average shares used to compute Adjusted Net Income Per Share: Basic 578,949 458,432 443,126 424,999 405,731 Diluted 615,034 525,725 507,229 486,381 478,895 Adjusted Net Income Per Share: Basic $ 1.05 $ 1.46 $ 0.72 $ 0.70 $ 0.47 Diluted $ 1.00 $ 1.28 $ 0.64 $ 0.62 $ 0.40 Diluted Adjusted Net Income Per Share is computed by dividing Adjusted Net Income by the weighted-average number of shares of common stock outstanding adjusted for the dilutive effect of all potential shares of common stock.
Biggest changeBecause of these limitations, you should consider the non-GAAP financial measures alongside other financial performance measures, including net income (loss) and our other financial results presented in accordance with GAAP. 77 The following table presents a reconciliation of operating income (loss) to Adjusted Operating Income (Loss) for each of the periods indicated (in thousands): Year Ended December 31, 2023 2022 2021 Operating income (loss) $ (278,839) $ (624,532) $ 161,112 Amortization of acquired technology assets 72,829 70,194 22,645 Acquisition-related and integration costs 11,422 105,518 15,474 Restructuring and other charges 239,582 51,746 20,000 Goodwill impairment 132,313 — — Bitcoin impairment losses — 46,571 71,126 Amortization of customer and other acquired intangible assets 174,044 138,758 15,747 Acquisition-related share based acceleration costs — 66,337 — Adjusted Operating Income (Loss) $ 351,351 $ (145,408) $ 306,104 The following table presents a reconciliation of net income (loss) to Adjusted EBITDA for each of the periods indicated (in thousands): Year Ended December 31, 2023 2022 2021 Net income (loss) attributable to common stockholders $ 9,772 $ (540,747) $ 166,284 Net loss attributable to noncontrolling interests (30,896) (12,258) (7,458) Net income (loss) (21,124) (553,005) 158,826 Share-based compensation expense 1,276,097 1,069,289 608,042 Depreciation and amortization 408,560 340,523 134,756 Acquisition-related and integration costs 11,422 105,518 15,474 Restructuring and other charges 239,582 51,746 20,000 Goodwill impairment 132,313 — — Interest expense (income), net (47,221) 36,228 33,124 Other income, net (202,475) (95,443) (29,474) Bitcoin impairment losses — 46,571 71,126 Benefit for income taxes (8,019) (12,312) (1,364) Loss on disposal of property and equipment 3,186 1,619 2,633 Acquired deferred revenue and cost adjustment 99 230 514 Adjusted EBITDA $ 1,792,420 $ 990,964 $ 1,013,657 78 The following table presents a reconciliation of net income (loss) to Adjusted Net Income (Loss) Per Share for each of the periods indicated (in thousands, except per share data): Year Ended December 31, 2023 2022 2021 Net income (loss) attributable to common stockholders $ 9,772 $ (540,747) $ 166,284 Net loss attributable to noncontrolling interests (30,896) (12,258) (7,458) Net income (loss) (21,124) (553,005) 158,826 Share-based compensation expense 1,276,097 1,069,289 608,042 Acquisition-related and integration costs 11,422 105,518 15,474 Restructuring and other charges 239,582 51,746 20,000 Goodwill impairment 132,313 — — Amortization of intangible assets 246,873 208,952 40,522 Amortization of debt discount and issuance costs 11,904 15,162 9,822 Loss (gain) on revaluation of equity investments 16,523 (73,457) (35,493) Bitcoin remeasurement (207,084) — — Bitcoin impairment losses — 46,571 71,126 Loss on disposal of property and equipment 3,186 1,619 2,633 Acquired deferred revenue and cost adjustment 99 230 514 Tax effect of non-GAAP net income adjustments (582,703) (264,523) (222,104) Adjusted Net Income - basic $ 1,127,088 $ 608,102 $ 669,362 Cash interest expense on convertible notes 3,554 5,014 6,099 Adjusted Net Income - diluted $ 1,130,642 $ 613,116 $ 675,461 Weighted-average shares used to compute Adjusted Net Income Per Share: Basic 608,856 578,949 458,432 Diluted 628,320 615,034 525,725 Adjusted Net Income Per Share: Basic $ 1.85 $ 1.05 $ 1.46 Diluted $ 1.80 $ 1.00 $ 1.28 Diluted Adjusted Net Income Per Share is computed by dividing Adjusted Net Income by the weighted-average number of shares of common stock outstanding adjusted for the dilutive effect of all potential shares of common stock.
Cash Flows from Financing Activities For the year ended December 31, 2022, cash provided by financing activities was $97.6 million, primarily as a result of net proceeds from warehouse facilities borrowings of $1.2 billion, a change in customer funds of $349.3 million, as well as proceeds from issuances of common stock from the exercise of options and purchases under our employee share purchase plan of $81.8 million.
For the year ended December 31, 2022, cash provided by financing activities was $97.6 million, primarily as a result of net proceeds from warehouse facilities borrowings of $1.2 billion, a change in customer funds of $349.3 million, as well as proceeds from issuances of common stock from the exercise of options and purchases under our employee share purchase plan of $81.8 million.
Instant Deposit is a functionality within the Cash App and our managed payment solutions that enables customers, including individuals and sellers, to instantly deposit funds into their bank accounts. Cash App Card offers Cash App customers the ability to use their stored funds via a Visa prepaid card that is linked to the balance the customer stores in Cash App.
Instant Deposit is a functionality within the Cash App and our managed payment solutions that enables customers, including individuals and sellers, to instantly deposit funds into their bank accounts. 66 Cash App Card offers Cash App customers the ability to use their stored funds via a Visa prepaid card that is linked to the balance the customer stores in Cash App.
Such charges are reversed for subsequent increases in fair value, but only to the extent that such reversals do not result in the amortized cost of a loan exceeding its fair value. 67 Losses on consumer receivables relate to management's estimate of expected credit losses in the outstanding portfolio of consumer receivables.
Such charges are reversed for subsequent increases in fair value, but only to the extent that such reversals do not result in the amortized cost of a loan exceeding its fair value. Losses on consumer receivables relate to management's estimate of expected credit losses in the outstanding portfolio of consumer receivables.
Square GPV is defined as the total dollar amount of all card payments processed by sellers using Square, net of refunds, and ACH transfers. Cash App Business GPV is comprised of Cash App activity related to peer-to-peer transactions received by business accounts, Cash App Pay transactions, and peer-to-peer payments sent from a credit card.
Square GPV is defined as the total dollar amount of all card payments processed by sellers using Square, net of refunds, and ACH transfers. Cash App Business GPV is comprised of Cash App activity related to peer-to-peer transactions received by business accounts, and peer-to-peer payments sent from a credit card.
Adjusted EBITDA and Adjusted Net Income (Loss) Per Share ("Adjusted EPS") Adjusted EBITDA and Adjusted EPS are non-GAAP financial measures that represent our net income (loss) and net income (loss) per share, adjusted to eliminate the effect of items as described below.
Adjusted EBITDA, Adjusted Net Income Per Share ("Adjusted EPS") and Adjusted Operating Income Adjusted EBITDA and Adjusted EPS are non-GAAP financial measures that represent our net income (loss) and net income (loss) per share, adjusted to eliminate the effect of items as described below.
When we were last rated, in the second half of 2022, we received a non-investment grade rating by S&P Global Ratings (BB), Fitch Ratings, Inc. (BB), and Moody's Corporation (Ba2). We expect that these credit rating agencies will continue to monitor our performance, including our capital structure and results of operations.
When we were last rated, in the second half of 2023, we received a non-investment grade rating by S&P Global Ratings (BB+), Fitch Ratings, Inc. (BB+), and Moody's Corporation (Ba2). We expect that these credit rating agencies will continue to monitor our performance, including our capital structure and results of operations.
In January 2022, we completed the acquisition of Afterpay Limited ("Afterpay"), a buy now, pay later ("BNPL") platform that facilitates commerce between retail merchants and consumers by allowing its retail merchant clients to offer their customers the ability to buy goods and services on a BNPL basis.
In January 2022, we completed the acquisition of Afterpay, a buy now, pay later ("BNPL") platform that facilitates commerce between retail merchants and consumers by allowing retail merchant clients to offer their customers the ability to buy goods and services on a BNPL basis.
On February 23, 2022, the Company entered into a sixth amendment to the Credit Agreement to, among other things, provide for a new tranche of unsecured revolving loan commitments in an aggregate principal amount of up to $100.0 million (the "Tranche B Loans").
On February 23, 2022, the Company entered into a sixth amendment to the Credit Agreement to, among other things, provide for a new tranche of unsecured revolving loan commitments in an aggregate principal amount of up to $100.0 million.
We estimate the expected credit losses in the outstanding portfolio of consumer receivables using both quantitative and qualitative methods that analyze portfolio performance, uses judgment regarding the quantitative components of the reserve, and considers all available information relevant to assessing collectibility. As of December 31, 2022, we had accrued $151.3 million related to allowance for credit losses.
We estimate the expected credit losses in the outstanding portfolio of consumer receivables using both quantitative and qualitative methods that analyze portfolio performance, uses judgment regarding the quantitative components of the reserve, and considers all available information relevant to assessing collectibility. As of December 31, 2023, we had accrued $185.3 million related to allowance for credit losses.
Cash App subscription and services-based revenue is primarily comprised of transaction fees from Cash App Instant Deposit, Cash App Card, and other Cash App financial services offerings.
Cash App subscription and services-based revenue is primarily comprised of transaction fees from Cash App Instant Deposit, Cash App Card, bitcoin withdrawal fees, and other Cash App financial services offerings.
The 2023 Convertible Notes bear interest at a rate of 0.50% payable semi-annually on May 15 and November 15 of each year, the 2025 Convertible Notes bear interest at a rate of 0.125% payable semi-annually on March 1 and September 1 of each year, the 2026 Convertible Notes bear no interest, and the 2027 Convertible Notes bear interest at a rate of 0.25% payable semi-annually on May 1 and November 1 of each year.
The 2025 Convertible Notes bear interest at a rate of 0.125% payable semi-annually on March 1 and September 1 of each year, the 2026 Convertible Notes bear no interest, and the 2027 Convertible Notes bear interest at a rate of 0.25% payable semi-annually on May 1 and November 1 of each year.
The comparison of the fiscal 2021 results with the fiscal 2020 results that are not included in this Form 10-K can be found in the "Management's Discussion and Analysis Results of Operations" section in the Company's fiscal 2021 Annual Report within Part II, Item 7 of Form 10-K, filed on February 24, 2022.
The comparison of the fiscal 2022 results with the fiscal 2021 results that are not included in this Form 10-K can be found in the "Management's Discussion and Analysis Results of Operations" section in the Company's fiscal 2022 Annual Report within Part II, Item 7 of Form 10-K, filed on February 23, 2023.
As of October 2022, we also offer the ability for consumers to pay for larger transaction sizes over a six- or twelve-month period using a monthly payment option, which includes no late fees and no compounding interest with a cap on total interest owed.
We also offer the ability for consumers to pay for larger transaction sizes over a six- or twelve-month period using a monthly payment option, which includes no late fees and no compounding interest with a cap on total interest owed.
In addition to total net revenue, net income (loss), and other results under generally accepted accounting principles ("GAAP"), the following table sets forth key operating metrics and non-GAAP financial measures we use to evaluate our business.
In addition to total net revenue, operating income (loss), net income (loss), and other results under GAAP, the following table sets forth key operating metrics and non-GAAP financial measures we use to evaluate our business.
SAB 121 also asks us to consider the legal ownership of the bitcoin held for other parties, including whether the bitcoin held for other parties would be available to satisfy general creditor claims in the event of Block’s bankruptcy.
Staff Accounting Bulletin No. 121 ("SAB 121") also asks us to consider the legal ownership of the bitcoin held for other parties, including whether the bitcoin held for other parties would be available to satisfy general creditor claims in the event of Block’s bankruptcy.
Hardware is sold primarily as a means to grow our transaction-based revenue and, as a result, generating positive gross margins from hardware sales is not the primary goal of the hardware business. Bitcoin Costs Bitcoin costs consist of the amounts we pay to purchase bitcoin that is sold to customers.
Hardware is sold primarily as a means to grow our transaction-based revenue and, as a result, generating positive gross margins from hardware sales is not the primary goal of the hardware business. Bitcoin Costs Bitcoin costs consist of the amounts we pay to purchase bitcoin that is sold to customers. These costs fluctuate in line with bitcoin revenue.
See below in Key Operating Metrics and Non-GAAP Financial Measures for further discussion of GPV. Subscription and services-based revenue for the year ended December 31, 2022 increased by $1.8 billion, or 68%, compared to the year ended December 31, 2021.
See below in Key Operating Metrics and Non-GAAP Financial Measures for further discussion of GPV. Subscription and services-based revenue for the year ended December 31, 2023 increased by $1.4 billion, or 31%, compared to the year ended December 31, 2022.
Holidays and day-of-week may also cause significant volatility in daily GPV amounts. 81 Safeguarding Obligation Liability and Safeguarding Asset Related to Bitcoin Held for Other Parties As detailed in Note 14, Bitcoin Held for Other Parties within Notes to the Consolidated Financial Statements, upon the adoption of SAB 121, we recorded a safeguarding obligation liability and a corresponding safeguarding asset related to the bitcoin held for other parties.
Holidays and day-of-week may also cause significant volatility in daily GPV amounts. 82 Safeguarding Obligation Liability and Safeguarding Asset Related to Bitcoin Held for Other Parties As detailed in Note 14, Bitcoin within Notes to the Consolidated Financial Statements, we recorded a safeguarding obligation liability and a corresponding safeguarding asset related to the bitcoin held for other parties.
However, sellers need a variety of solutions to thrive, and we have expanded to provide them additional products and services and to give them access to a cohesive ecosystem of tools to help them manage and grow their businesses. Similarly, with Cash App, we have built an ecosystem of financial products and services to help individuals manage their money.
We have expanded to provide sellers additional products and services and to give them access to a cohesive ecosystem of tools to help them manage and grow their businesses. Similarly, with Cash App, we have built an ecosystem of financial products and services to help individuals manage their money.
Refer to Note 15, Indebtedness and Note 20, Commitments and Contingencies within Notes to the Consolidated Financial Statements for more details on these commitments. 79 Senior Notes and Convertible Notes As of December 31, 2022, we held $4.6 billion in aggregate principal amount of debt, comprised of $460.6 million in aggregate principal amount of convertible senior notes that mature on May 15, 2023 ("2023 Convertible Notes"), $1.0 billion in aggregate amount of convertible senior notes that mature on March 1, 2025 ("2025 Convertible Notes"), $575.0 million in aggregate amount of convertible senior notes that mature on May 1, 2026 ("2026 Convertible Notes"), and $575.0 million in aggregate amount of convertible senior notes that mature on November 1, 2027 ("2027 Convertible Notes," and together with the 2023 Convertible Notes, 2025 Convertible Notes, and 2026 Convertible Notes, the “Convertible Notes”).
Refer to Note 15, Indebtedness and Note 20, Commitments and Contingencies within Notes to the Consolidated Financial Statements for more details on these commitments. 80 Senior Notes and Convertible Notes As of December 31, 2023, we held $4.2 billion in aggregate principal amount of debt, comprised of, $1.0 billion in aggregate amount of convertible senior notes that mature on March 1, 2025 ("2025 Convertible Notes"), $575.0 million in aggregate amount of convertible senior notes that mature on May 1, 2026 ("2026 Convertible Notes"), and $575.0 million in aggregate amount of convertible senior notes that mature on November 1, 2027 ("2027 Convertible Notes," collectively referred to as the “Convertible Notes”).
Our other SaaS products include subscription fees on our vertical software solutions (including Square for Restaurants, Square Appointments, and Square for Retail), Customer Engagement products (including Square Loyalty, Square Marketing, Square Gift Cards), staff management products (including Square Team Management and Square Payroll), and other products.
Our other SaaS products include subscription fees on our vertical software solutions (including Square for Restaurants, Square Appointments, and Square for Retail), Customer Engagement products (including Square Loyalty, Square Marketing, Square Gift Cards), staff management products (including Square Team Management and Square Payroll), website hosting and domain name registration services, and other products.
Product Development Expenses Product development expenses currently represent the largest component of our operating expenses and consist primarily of expenses related to our engineering, data science, and design personnel; fees and supply costs related to maintenance at third-party data center facilities; hardware related development and tooling costs; and fees for software licenses, consulting, legal, and other services that are directly related to growing and maintaining our portfolio of products and services.
Operating expenses also include allocated overhead costs for facilities, human resources, and IT. 68 Product Development Expenses Product development expenses currently represent the largest component of our operating expenses and consist primarily of expenses related to our engineering, data science, and design personnel; fees and supply costs related to maintenance at third-party data center facilities; hardware related development and tooling costs; software and cloud computing infrastructure fees; and fees for software licenses, consulting, legal, and other services that are directly related to growing and maintaining our portfolio of products and services.
As of December 31, 2022, we have invested $32.0 million in aggregate towards this initiative, of which $10.1 million and $21.5 million were invested in the years ended December 31, 2022 and 2021, respectively. Our principal commitments consist of convertible notes, senior notes, revolving credit facility, warehouse funding facilities, operating leases, and purchase commitments.
As of December 31, 2023, we have invested $44.3 million in aggregate towards this initiative, of which $12.3 million and $10.1 million were invested in the years ended December 31, 2023 and 2022, respectively. Our principal commitments consist of convertible notes, senior notes, revolving credit facility, warehouse funding facilities, operating leases, capital leases, and purchase commitments.
Additionally, for purposes of calculating diluted Adjusted EPS we add back cash interest expense on convertible notes, as if converted at the beginning of the period, if the impact is dilutive. 75 • We exclude the following from non-GAAP financial measures because we do not believe that these items are reflective of our ongoing business operations: gain or loss on the disposal of property and equipment; gain or loss on revaluation of equity investments; bitcoin impairment losses on our investment in bitcoin, as applicable; and prior to the adoption of ASU 2020-06 on January 1, 2021, gain or loss on debt extinguishment related to the conversion of convertible notes, as applicable. • To aid in comparability of our results across periods and with peer companies that may not have similar expenses, we also exclude certain acquisition related and integration costs associated with business combinations, and various other costs that are not normal operating expenses.
Additionally, for purposes of calculating diluted Adjusted EPS, we add back cash interest expense on convertible notes, as if converted at the beginning of the period, if the impact is dilutive. 76 • We exclude the following from non-GAAP financial measures because we do not believe that these items are reflective of our ongoing business operations: gain or loss on the disposal of property and equipment; gain or loss on revaluation of equity investments; gain or loss from the remeasurement of our bitcoin investment, and bitcoin impairment losses on our bitcoin investment (prior to the adoption of ASU 2023-08), as applicable. • To aid in comparability of our results across periods, we also exclude certain acquisition-related and integration costs associated with business combinations, various restructuring and other costs, and goodwill impairment charges, each of which are not normal operating expenses.
Through the use of our BNPL platform, consumers can pay for their purchases over time by splitting their purchase price generally into three or four installments, typically due in two-week increments, without paying fees (if payments are made on time).
Revenue from our BNPL platform includes fees generated from consumer receivables, late fees, and certain affiliate and advertising fees. Through the use of our BNPL platform, consumers can pay for their purchases over time by splitting their purchase price generally into three or four installments, typically due in two-week increments, without paying fees (if payments are made on time).
However, customers payable balances will be greater in amount than settlements receivable balances due to the fact that a subset of funds are held due to unlinked bank accounts, risk holds, and chargebacks. Also customer funds obligations, which are included in customers payable, may cause customers payable to trend differently than settlements receivable.
However, customers payable balances will be greater in amount than settlements receivable balances due to the fact that a subset of funds are held due to unlinked bank accounts, risk holds, and chargebacks.
Short-term restricted cash of $639.8 million as of December 31, 2022 primarily includes cash held by the wholly-owned consolidated entities used in the Warehouse Facilities funding arrangements, that will be used to pay the borrowings under the Warehouse Facilities or will be distributed to us.
Short-term restricted cash of $770.4 million as of December 31, 2023 primarily includes cash held by the Warehouse SPEs used in the Warehouse Facilities funding arrangements that will be used to pay the borrowings under the Warehouse Facilities or will be distributed to us.
Borrowings under the Warehouse Facilities are secured against the respective consumer receivables. 80 Cash, Restricted Cash, and Working Capital We believe that our existing cash and cash equivalents, investment in marketable debt securities, and availability under our line of credit will be sufficient to meet our working capital needs, including any expenditures related to strategic transactions and investment commitments that we may from time to time enter into, and planned capital expenditures for at least the next 12 months.
The assets of the Warehouse SPEs are not available to satisfy our claims or those of our creditors. 81 Cash, Restricted Cash, and Working Capital We believe that our existing cash and cash equivalents, investment in marketable debt securities, and availability under our line of credit will be sufficient to meet our working capital needs, including any expenditures related to strategic transactions and investment commitments that we may from time to time enter into, and planned capital expenditures for at least the next 12 months.
We base our estimates on historical experience, anticipated future trends, and other assumptions we believe to be reasonable under the circumstances. Because these accounting policies require significant judgment, our actual results may differ materially from our estimates.
GAAP requires us to make certain estimates and judgments that affect the amounts reported in our financial statements. We base our estimates on historical experience, anticipated future trends, and other assumptions we believe to be reasonable under the circumstances. Because these accounting estimates require significant judgment, our actual results may differ materially from our estimates.
Subscription and services-based costs for the year ended December 31, 2022 increased by $378.7 million, or 78%, compared to the year ended December 31, 2021.
Subscription and services-based costs for the year ended December 31, 2023 increased by $213.4 million, or 25%, compared to the year ended December 31, 2022.
Excluding bitcoin costs of revenue, total cost of revenue increased by approximately $1.1 billion, or 32%, in the year ended December 31, 2022, compared to the year ended December 31, 2021.
Excluding bitcoin costs of revenue, total cost of revenue increased by approximately $534.7 million, or 12%, in the year ended December 31, 2023, compared to the year ended December 31, 2022.
Bitcoin revenue decreased by $2.9 billion and represented the primary driver of the decrease in the total net revenue. Excluding bitcoin revenue, total net revenue increased by $2.8 billion, or 36%, in the year ended December 31, 2022, compared to the year ended December 31, 2021.
Bitcoin revenue increased by $2.4 billion and represented the primary driver of the increase in total net revenue. Excluding bitcoin revenue, total net revenue increased by $2.0 billion, or 19%, in the year ended December 31, 2023, compared to the year ended December 31, 2022.
Additionally, we had $389.4 million available under our warehouse funding facilities. We intend to continue focusing on our long-term business initiatives and believe that our available funds are sufficient to meet our liquidity needs for the foreseeable future. As of December 31, 2022, we were in compliance with all covenants associated with our revolving credit facility and senior notes.
We intend to continue focusing on our long-term business initiatives and believe that our available funds are sufficient to meet our liquidity needs for the foreseeable future, including the $1.0 billion share repurchase program. As of December 31, 2023, we were in compliance with all financial covenants associated with our revolving credit facility and senior notes.
Cash Flow Activities The following table summarizes our cash flow activities (in thousands): Year Ended December 31, 2022 2021 Net cash provided by operating activities $ 175,903 $ 847,830 Net cash provided by (used in) investing activities 1,225,696 (1,310,879) Net cash provided by financing activities 97,580 2,652,034 Effect of foreign exchange rate on cash and cash equivalents (38,363) (7,066) Net increase in cash, cash equivalents, restricted cash, and customer funds $ 1,460,816 $ 2,181,919 Cash Flows from Operating Activities For the year ended December 31, 2022, cash provided by operating activities was $175.9 million, primarily due to net income of $553.0 million, adjusted for the add back of non-cash expenses of $1.4 billion consisting primarily of share-based compensation; transaction, loan, and consumer receivable losses; depreciation and amortization; non-cash interest; and bitcoin impairment losses.
Cash Flow Activities The following table summarizes our cash flow activities (in thousands): Year Ended December 31, 2023 2022 Net cash provided by operating activities $ 100,961 $ 175,903 Net cash provided by investing activities 683,201 1,225,696 Net cash provided by (used in) financing activities (240,137) 97,580 Effect of foreign exchange rate on cash and cash equivalents 29,156 (38,363) Net increase in cash, cash equivalents, restricted cash, and customer funds $ 573,181 $ 1,460,816 Cash Flows from Operating Activities For the year ended December 31, 2023, cash provided by operating activities was $101.0 million, primarily due to net loss of $21.1 million, adjusted for non-cash expenses of $2.6 billion consisting primarily of share-based compensation; transaction, loan, and consumer receivable losses; depreciation and amortization; non-cash interest and lease expense; and goodwill impairment.
As of December 31, 2022, the safeguarding obligation liability related to bitcoin held for other parties was $428.2 million.
As of December 31, 2023, the safeguarding obligation liability related to bitcoin held for other parties was $1.0 billion.
For the year ended December 31, 2021, cash provided by operating activities was $847.8 million, primarily due to net income of $158.8 million, adjusted for the add back of non-cash expenses of $1.1 billion consisting primarily of share-based compensation, transaction and loan losses, depreciation and amortization, non-cash interest, bitcoin impairment losses and other expenses.
For the year ended December 31, 2022, cash provided by operating activities was $175.9 million, primarily due to net loss of $553.0 million, adjusted for non-cash expenses of $2.0 billion consisting primarily of share-based compensation; transaction, loan, and consumer receivable losses; depreciation and amortization; non-cash interest; and bitcoin impairment losses.
Interest Expense, net, and Other Income, net Interest and other income and expense, net consists primarily of gains or losses arising from remeasurements of our investments in equity securities, interest expense related to our long-term debt, interest income on our investments in marketable debt securities, and foreign currency-related gains and losses.
Amortization of Customer and Other Acquired Intangible Assets Amortization of customer and other acquired intangible assets is primarily as a result of the intangible assets from the Afterpay acquisition. 69 Interest Expense, net, and Other Income, net Interest and other income and expense, net consists primarily of gains or losses arising from remeasurements of our investments in equity securities, bitcoin investment, interest expense related to our long-term debt, interest income on our investments in marketable debt securities, and foreign currency-related gains and losses.
Acquisition related costs include amounts paid to redeem acquirees’ unvested share-based compensation awards, and legal, accounting, valuation, and due diligence costs. Integration costs include advisory and other professional services or consulting fees necessary to integrate acquired businesses. Other costs that are not reflective of our core business operating expenses may include contingent losses, certain litigation and regulatory charges.
Acquisition related costs include amounts paid to redeem acquirees’ unvested share-based compensation awards, and legal, accounting, valuation, and due diligence costs. Integration costs include advisory and other professional services or consulting fees necessary to integrate acquired businesses.
Hardware Revenue Hardware revenue includes revenue from sales of magstripe readers, contactless and chip readers, Square Stand, Square Register, Square Terminal, and third-party peripherals. Third-party peripherals include cash drawers, receipt printers, scales, and barcode scanners, all of which can be integrated with Square Stand, Square Register, or Square Terminal to provide a comprehensive point-of-sale solution.
Third-party peripherals include cash drawers, receipt printers, scales, and barcode scanners, all of which can be integrated with Square Stand, Square Register, or Square Terminal to provide a comprehensive point-of-sale solution. 67 Bitcoin Revenue Our Cash App customers have the ability to purchase bitcoin, a cryptocurrency.
Refer to Note 15, Indebtedness within Notes to the Consolidated Financial Statements for further details. 72 Other income, net for the year ended December 31, 2022 was primarily comprised of unrealized gains of $96.1 million arising from the revaluation of certain equity investments.
Refer to Note 14, Bitcoin within Notes to the Consolidated Financial Statements for further details. Other income, net, of $95.4 million for the year ended December 31, 2022 was primarily driven by revaluation of certain equity investments.
This increase in revenue was largely in line with the increase in Gross Payment Volume ("GPV") of 21% for the year ended December 31, 2022, compared to the year ended December 31, 2021.
Transaction-based revenue for the year ended December 31, 2023 increased by $613.8 million, or 11%, compared to the year ended December 31, 2022. This increase in revenue was largely in line with the increase in Gross Payment Volume ("GPV") of 12% for the year ended December 31, 2023, compared to the year ended December 31, 2022.
Excluding bitcoin cost of revenue, Cash App cost of revenue increased $268.8 million, or 60%, due to the growth in Cash App Card, Cash App Instant Deposit, and Cash for Business. 74 Key Operating Metrics and Non-GAAP Financial Measures We collect and analyze operating and financial data to evaluate the health of our business, allocate our resources, and assess our performance.
The increase was due to the items referenced within the revenue discussion. Excluding bitcoin cost of revenue, Cash App cost of revenue increased $235.1 million, or 28%. 75 Key Operating Metrics and Non-GAAP Financial Measures We collect and analyze operating and financial data to evaluate the health of our business, allocate our resources, and assess our performance.
The following table presents a reconciliation of the tax effect of non-GAAP net income adjustments to our provision (benefit) for income taxes (in thousands, except effective tax rate): Year Ended December 31, 2022 2021 2020 2019 2018 Provision (benefit) for income taxes, as reported $ (12,312) $ (1,364) $ 2,862 $ 2,767 $ 2,326 Tax effect of non-GAAP net income adjustments 264,523 222,104 102,383 85,372 34,371 Adjusted provision for income taxes, non-GAAP $ 252,211 $ 220,740 $ 105,245 $ 88,139 $ 36,697 Non-GAAP effective tax rate 29% 25% 25% 23% 16% We determined the adjusted provision for income taxes by calculating the estimated annual effective tax rate based on adjusted pre-tax income and applying it to Adjusted Net Income before income taxes. 78 Liquidity and Capital Resources As of December 31, 2022, we had approximately $7.5 billion in available funds, including an undrawn amount of $600.0 million available under our revolving credit facility.
The following table presents a reconciliation of the tax effect of non-GAAP net income adjustments to our provision (benefit) for income taxes (in thousands, except effective tax rate): Year Ended December 31, 2023 2022 2021 Benefit for income taxes, as reported $ (8,019) $ (12,312) $ (1,364) Tax effect of non-GAAP net income adjustments 582,703 264,523 222,104 Adjusted provision for income taxes, non-GAAP $ 574,684 $ 252,211 $ 220,740 Non-GAAP effective tax rate 34% 29% 25% We determined the adjusted provision for income taxes by calculating the estimated annual effective tax rate based on adjusted pre-tax income and applying it to Adjusted Net Income before income taxes. 79 Liquidity and Capital Resources As of December 31, 2023, we had approximately $7.7 billion in available liquidity, with $6.9 billion in cash, cash equivalents, restricted cash, and investments in marketable debt securities, as well as an undrawn amount of $775.0 million available under our revolving credit facility subject to compliance with our covenants.
The increase in product development personnel-related costs includes an increase in share-based compensation expense of $255.1 million for the year ended December 31, 2022; and • an increase of $179.4 million in software and data center costs, consulting, and certain Cash App crypto networks operating costs for the year ended December 31, 2022 as a result of increased capacity needs and expansion of our cloud-based services.
The increase in product development personnel costs includes an increase in share-based compensation expense of $200.4 million for the year ended December 31, 2023; and • an increase of $112.5 million in software and cloud computing infrastructure fees as well as consulting fees for the year ended December 31, 2023, as a result of increased capacity needs and expansion of our cloud-based services.
Bitcoin revenue for the year ended December 31, 2022 decreased by $2.9 billion, or 29%, compared to the year ended December 31, 2021. As bitcoin revenue is the total sale amount of bitcoin sold to customers, the amount of bitcoin revenue recognized will fluctuate depending on customer demand, as well as changes in the market price of bitcoin.
As bitcoin revenue is the total sale amount of bitcoin sold to customers, the amount of bitcoin revenue recognized will fluctuate depending on customer demand as well as changes in the market price of bitcoin.
Warehouse Funding Facilities Following the acquisition of Afterpay, we assumed Afterpay's existing warehouse funding facilities ("Warehouse Facilities") with an aggregate commitment amount of $1.7 billion on a revolving basis, of which $1.3 billion was drawn and $0.4 billion remained available as of December 31, 2022.
To date, no funds have been drawn and no letters of credit have been issued under the 2020 Credit Facility. Warehouse Funding Facilities Following the acquisition of Afterpay, we assumed Afterpay's existing warehouse funding facilities ("Warehouse Facilities") with an aggregate commitment amount of $1.7 billion on a revolving basis, of which $1.6 billion was drawn as of December 31, 2023.
For the year ended December 31, 2022, cash provided by investing activities was $1.2 billion, primarily due to the net proceeds from investments of marketable securities, including investments from customer funds, of $1.1 billion. Additional inflows of cash were as a result of business acquisitions, net of cash acquired, of $539.5 million.
These were partially offset by the purchase of property and equipment of $151.2 million; purchases of other investments of $33.9 million; and business combinations, net of cash acquired, of $5.0 million. 83 For the year ended December 31, 2022, cash provided by investing activities was $1.2 billion, primarily due to the net proceeds from investments of marketable securities, including investments from customer funds, of $1.1 billion.
Our effective tax rate fluctuates from period to period due to changes in the mix of income and losses in jurisdictions with a wide range of tax rates, the effect of acquisitions, changes resulting from the amount of recorded valuation allowance, permanent differences between U.S. generally accepted accounting principles and local tax laws, certain one-time items, and changes in tax contingencies. 68 Results of Operations Revenue (in thousands, except for percentages) Year Ended December 31, 2022 2021 $ Change % Change Transaction-based revenue $ 5,701,540 $ 4,793,146 $ 908,394 19 % Subscription and services-based revenue 4,552,773 2,709,731 1,843,042 68 % Hardware revenue 164,418 145,679 18,739 13 % Bitcoin revenue 7,112,856 10,012,647 (2,899,791) (29) % Total net revenue $ 17,531,587 $ 17,661,203 $ (129,616) (1) % Total net revenue for the year ended December 31, 2022, decreased by $129.6 million, or 1%, compared to the year ended December 31, 2021.
Our effective tax rate fluctuates from period to period due to changes in the mix of income and losses in jurisdictions with a wide range of tax rates, the effect of acquisitions, changes resulting from the amount of recorded valuation allowance, permanent differences between U.S. generally accepted accounting principles and local tax laws, certain one-time items, and changes in tax contingencies. 70 Results of Operations Revenue (in thousands, except for percentages) Year Ended December 31, 2023 2022 $ Change % Change Transaction-based revenue $ 6,315,301 $ 5,701,540 $ 613,761 11 % Subscription and services-based revenue 5,944,842 4,552,773 1,392,069 31 % Hardware revenue 157,178 164,418 (7,240) NM (i) Bitcoin revenue 9,498,302 7,112,856 2,385,446 34 % Total net revenue $ 21,915,623 $ 17,531,587 $ 4,384,036 25 % (i) Not meaningful ("NM") Total net revenue for the year ended December 31, 2023, increased by $4.4 billion, or 25%, compared to the year ended December 31, 2022.
Accrued Transaction Losses We are exposed to credit losses related to transactions processed by sellers that are subsequently subject to chargebacks when we are unable to collect from the sellers primarily due to insolvency, disputes between a seller and their customer, or due to fraudulent transactions.
We believe accounting policies and the assumptions and estimates associated with transaction losses and allowance for credit losses related to consumer receivables could potentially have a material effect on our consolidated financial statements, and therefore are critical accounting policies and estimates. 84 Accrued Transaction Losses We are exposed to potential credit losses related to transactions processed by sellers that are subsequently subject to chargebacks when we are unable to collect from the sellers primarily due to insolvency, disputes between a seller and their customer, or due to fraudulent transactions.
Operating Expenses Operating expenses consist of product development; sales and marketing; general and administrative expenses; transaction, loan, and consumer receivable losses; bitcoin impairment losses; and amortization of customer and other acquired intangible assets. For product development and general and administrative expenses, the largest single component is personnel-related expenses, including salaries, commissions and bonuses, employee benefit costs, and share-based compensation.
Amortization of Acquired Technology Assets Amortization of acquired technology assets is primarily comprised of amortization related to the acquired technology assets from the acquisition of Afterpay. Operating Expenses Operating expenses consist of product development; sales and marketing; general and administrative expenses; transaction, loan, and consumer receivable losses; bitcoin impairment losses; and amortization of customer and other acquired intangible assets.
The prior period Adjusted EPS presentation has also been revised to conform with our new calculation and presentation. Non-GAAP financial measures have limitations, should be considered as supplemental in nature, and are not meant as a substitute for the related financial information prepared in accordance with GAAP.
In addition to the items above, Adjusted EBITDA as a non-GAAP financial measure also excludes depreciation and amortization, other cash interest income and expense, and other income and expense. Non-GAAP financial measures have limitations, should be considered as supplemental in nature, and are not meant as a substitute for the related financial information prepared in accordance with GAAP.
We consider all highly liquid investments with an original maturity of three months or less when purchased to be cash equivalents. Our investments in marketable debt securities are classified as available-for-sale. Excluding customer funds, our total liquidity as of December 31, 2022 was $6.9 billion .
Investments in marketable debt securities were held primarily in cash deposits, money market funds, reverse repurchase agreements, U.S. government and agency securities, commercial paper, and corporate bonds. We consider all highly liquid investments with an original maturity of three months or less when purchased to be cash equivalents. Our investments in marketable debt securities are classified as available-for-sale.
Additional uses of cash were as a result of business acquisitions, net of cash acquired of $164.0 million, the purchase of bitcoin investments of $170.0 million, the purchase of property and equipment of $134.3 million, and purchases of other investments of $48.5 million. These were partially offset by proceeds from sales of equity investments of $420.6 million.
Additional inflows of cash were as a result of business acquisitions, net of cash acquired, of $539.5 million. These were partially offset by the purchase of property and equipment of $170.8 million, net consumer receivable originations of $169.4 million and purchases of other investments of $56.7 million.
Year Ended December 31, 2022 2021 2020 2019 2018 Gross Payment Volume (GPV) (in millions) $ 203,536 $ 167,720 $ 112,295 $ 106,239 $ 84,654 Adjusted EBITDA (in thousands) $ 990,964 $ 1,013,657 $ 474,071 $ 416,853 $ 256,523 Adjusted Net Income Per Share: Basic $ 1.05 $ 1.46 $ 0.72 $ 0.70 $ 0.47 Diluted $ 1.00 $ 1.28 $ 0.64 $ 0.62 $ 0.40 Gross Payment Volume ("GPV") GPV includes Square GPV and Cash App Business GPV.
Year Ended December 31, 2023 2022 2021 Gross Payment Volume (GPV) (in millions) $ 227,699 $ 203,536 $ 167,720 Adjusted Operating Income (Loss) (in thousands) $ 351,351 $ (145,408) $ 306,104 Adjusted EBITDA (in thousands) $ 1,792,420 $ 990,964 $ 1,013,657 Adjusted Net Income Per Share: Basic $ 1.85 $ 1.05 $ 1.46 Diluted $ 1.80 $ 1.00 $ 1.28 Gross Payment Volume ("GPV") GPV includes Square GPV and Cash App Business GPV.
Refer to Note 9, Acquisitions within Notes to the Consolidated Financial Statements for further details. Revolving Credit Facility We have entered into a revolving credit agreement with certain lenders, as subsequently amended, which provides a $500.0 million senior unsecured revolving credit facility (the "2020 Credit Facility") maturing in May 2024.
On May 15, 2023, we paid $461.8 million in cash to settle the outstanding principal balance and interest on the 2023 Convertible Notes upon maturity. Revolving Credit Facility We have entered into a revolving credit agreement with certain lenders, as subsequently amended, which provides a $500.0 million senior unsecured revolving credit facility (the "2020 Credit Facility") maturing in May 2024.
In the case of sales and marketing expenses, a significant portion is related to the Cash App peer-to-peer transactions and Cash App Card issuance costs, in addition to paid advertising and personnel-related expenses. Operating expenses also include allocated overhead costs for facilities, human resources, and IT.
For product development and general and administrative expenses, the largest single component is personnel-related expenses, including salaries, commissions and bonuses, employee benefit costs, and share-based compensation. In the case of sales and marketing expenses, a significant portion is related to the Cash App peer-to-peer transactions and Cash App Card issuance costs, in addition to paid advertising and personnel-related expenses.
Generally, we estimate the potential loss rates based on historical experience that is continuously adjusted for new information and incorporates, where applicable, reasonable and supportable forecasts about future expectations. We also consider other relevant market data in developing such estimates and assumptions.
Accrued transaction losses also include estimated losses on Cash App activity related to peer-to-peer payments sent from a credit card, Cash for Business, and Cash App Card. Generally, we estimate the potential loss rates based on historical experience that is continuously adjusted for new information and incorporates, where applicable, reasonable and supportable forecasts about future expectations.
Transaction, loan, and consumer receivable losses for the year ended December 31, 2022, increased by $362.7 million, or 193%, compared to the year ended December 31, 2021, primarily due to the following: • an increase in the allowance for credit losses related to consumer receivables of $197.6 million from the date of the acquisition of Afterpay through December 31, 2022; • an increase in transaction losses compared to the year ended December 31, 2021 of $87.0 million, primarily due to growth in Square GPV; and • an increase in loan losses compared to the year ended December 31, 2021 of $78.1 million, primarily due to increased loan volumes.
Transaction, loan, and consumer receivable losses for the year ended December 31, 2023, increased by $110.0 million, or 20%, compared to the year ended December 31, 2022, primarily due to the following: • an increase in loan losses of $89.0 million compared to the year ended December 31, 2022, primarily due to increased loan volumes; and • an increase in transaction losses of $21.0 million for the year ended December 31, 2023, primarily due to an operational outage as well as growth in Cash App Card and Square GPV.
In addition, they provide useful measures for period-to-period comparisons of our business, as they remove the effect of certain non-cash items and certain variable charges that do not vary with our operations. • We believe it is useful to exclude certain non-cash charges, such as amortization of intangible assets, and share-based compensation expenses, from our non-GAAP financial measures because the amount of such expenses in any specific period may not directly correlate to the underlying performance of our business operations. • In connection with the issuance of our convertible senior notes (as described in Note 15, Indebtedness within Notes to the Consolidated Financial Statements), prior to the adoption of ASU No. 2020-06, Debt—Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging—Contracts in Entity's Own Equity (Subtopic 815-40): Accounting for Convertible Instruments and Contracts in an Entity's Own Equity ("ASU 2020-06") on January 1, 2021, we were required to recognize non-cash interest expense related to amortization of debt discount and issuance costs.
In addition, they provide useful measures for period-to-period comparisons of our business, as they remove the effect of certain non-cash items and certain variable charges that do not vary with our operations. • We believe it is useful to exclude certain non-cash charges, such as amortization of intangible assets, and share-based compensation expenses, from our non-GAAP financial measures because the amount of such expenses in any specific period may not directly correlate to the underlying performance of our business operations. • We believe that excluding the expense related to amortization of debt discount and issuance costs from our non-GAAP measures is useful to investors because such incremental non-cash interest expense does not represent a current or future cash outflow for the Company and is therefore not indicative of our continuing operations or meaningful when comparing current results to past results.
The increase was primarily driven by amortization related to the acquired technology assets from the acquisition of Afterpay of $43.5 million. 70 Operating Expenses (in thousands, except for percentages) Year Ended December 31, 2022 2021 $ Change % Change Product development $2,135,612 $1,383,841 $ 751,771 54 % % of total net revenue 12 % 8 % % of total gross profit 36 % 31 % Sales and marketing $2,057,951 $1,617,189 $ 440,762 27 % % of total net revenue 12 % 9 % % of total gross profit 34 % 37 % General and administrative $1,686,849 $982,817 $ 704,032 72 % % of total net revenue 10 % 6 % % of total gross profit 28 % 22 % Transaction, loan, and consumer receivable losses $550,683 $187,991 $ 362,692 193 % % of total net revenue 3 % 1 % % of total gross profit 9 % 4 % Bitcoin impairment losses $46,571 $71,126 $ (24,555) (35) % % of total net revenue — % — % % of total gross profit 1 % 2 % Amortization of customer and other acquired intangible assets $138,758 $15,747 $ 123,011 781 % % of total net revenue 1 % — % % of total gross profit 2 % — % Total operating expenses $6,616,424 $4,258,711 $ 2,357,713 55 % Product development expenses for the year ended December 31, 2022, increased by $751.8 million, or 54%, compared to the year ended December 31, 2021, due primarily to the following: • an increase of $560.3 million in personnel-related costs primarily due to an increase in headcount among our engineering, data science, and design teams, as we continue to improve and diversify our products.
Bitcoin costs are comprised of the total amount we pay to purchase bitcoin, which fluctuates in line with bitcoin revenue. 72 Operating Expenses (in thousands, except for percentages) Year Ended December 31, 2023 2022 $ Change % Change Product development $ 2,720,819 $ 2,135,612 $ 585,207 27 % % of total net revenue 12 % 12 % % of total gross profit 36 % 36 % Sales and marketing $ 2,019,009 $ 2,057,951 $ (38,942) (2) % % of total net revenue 9 % 12 % % of total gross profit 27 % 34 % General and administrative $ 2,209,190 $ 1,686,849 $ 522,341 31 % % of total net revenue 10 % 10 % % of total gross profit 29 % 28 % Transaction, loan, and consumer receivable losses $ 660,663 $ 550,683 $ 109,980 20 % % of total net revenue 3 % 3 % % of total gross profit 9 % 9 % Bitcoin impairment losses $ — $ 46,571 $ (46,571) (100) % % of total net revenue — % — % % of total gross profit — % 1 % Amortization of customer and other acquired intangible assets $ 174,044 $ 138,758 $ 35,286 25 % % of total net revenue 1 % 1 % % of total gross profit 2 % 2 % Total operating expenses $ 7,783,725 $ 6,616,424 $ 1,167,301 18 % Product development expenses for the year ended December 31, 2023, increased by $585.2 million, or 27%, compared to the year ended December 31, 2022, due primarily to the following: • an increase of $451.5 million in personnel costs primarily due to an increase in headcount among our engineering teams, as we continue to improve and diversify our products.
Net amounts paid to the bank are recorded as the cost of the loans purchased, and amounts collected in excess of the carrying value are recognized as revenue over the life of the loans. 65 Revenue from our BNPL platform includes fees generated from consumer receivables, late fees, and certain affiliate and advertising fees.
The loans are originated by the bank partner, from whom the Company purchases the loans obtaining all rights, title, and interest. Net amounts paid to the bank are recorded as the cost of the loans purchased, and amounts collected in excess of the carrying value are recognized as revenue over the life of the loans.
Bitcoin costs of revenue, which decreased by $2.8 billion, was the primary driver of the decrease in total cost of revenue. The decrease in total cost of revenue was offset by increased transaction-based costs related to an increase in GPV and increased costs as a result of our BNPL platform, which we acquired in the first quarter of 2022.
Bitcoin costs of revenue, which increased by $2.3 billion, was the primary driver of the increase in total cost of revenue, with the remaining increase related to an increase in GPV.
Segment Cost of Revenue Cost of revenue for the Square segment for the year ended December 31, 2022 increased by $822.2 million compared to the year ended December 31, 2021.
Excluding bitcoin revenue, Cash App net revenue increased $1.3 billion, or 32%, compared to the year ended December 31, 2022. Cost of Revenue Cost of revenue for the Cash App segment for the year ended December 31, 2023 increased by $2.6 billion compared to the year ended December 31, 2022.
Amortization of customer and other acquired intangible assets increased $123.0 million for the year ended December 31, 2022, compared to the year ended December 31, 2021, primarily due to increased amortization expense of $121.8 million as a result of the intangible assets from the Afterpay acquisition.
Amortization of customer and other acquired intangible assets increased $35.3 million for the year ended December 31, 2023, compared to the year ended December 31, 2022, primarily as a result of the revision of certain intangibles' useful lives as well as the timing of the acquisition of Afterpay in the first quarter of fiscal year 2022 and the related intangible assets and measurement period adjustments.
Other companies, including companies in our industry, may calculate the non-GAAP financial measures differently or not at all, which reduces their usefulness as comparative measures.
Adjusted Operating Income (Loss) does however include the effect of share-based compensation expense, which is a significant recurring expense in our business and an important part of our compensation strategy, as well as depreciation expense. Other companies, including companies in our industry, may calculate the non-GAAP financial measures differently or not at all, which reduces their usefulness as comparative measures.
Revenue from our BNPL platform was $811.4 million from the date of acquisition through December 31, 2022, representing 5% of our total net revenue for the year ended December 31, 2022. Transaction-based revenue for the year ended December 31, 2022 increased by $908.4 million, or 19%, compared to the year ended December 31, 2021.
Revenue generated from the BNPL platform was $1.0 billion for the year ended December 31, 2023 compared to $811.4 million for the year ended December 31, 2022. Bitcoin revenue for the year ended December 31, 2023 increased by $2.4 billion, or 34%, compared to the year ended December 31, 2022.
Accrued transaction losses also include estimated losses on Cash App activity related to peer-to-peer payments sent from a credit card, Cash for Business, and Cash App Card. As of December 31, 2022, we had accrued $64.5 million related to transaction losses. Additions to the reserve are reflected in current operating results, while realized losses are offset against the reserve.
We also consider other relevant market data in developing such estimates and assumptions. As of December 31, 2023, we had accrued $54.0 million related to transaction losses. Additions to the reserve are reflected in current operating results, while realized losses are offset against the reserve.
Sales and marketing expenses for the year ended December 31, 2022, increased by $440.8 million, or 27%, compared to the year ended December 31, 2021, primarily due to the following: • an increase of $168.4 million in sales and marketing personnel-related costs to enable growth initiatives, including an increase in share-based compensation expense of $48.2 million; • an increase of $101.0 million in Cash App peer-to-peer processing costs, related peer-to-peer transaction losses, and card issuance costs as a result of increased volumes of activity with our Cash App peer-to-peer service and card issuance; and • an increase in sales and marketing expenses due to the acquisition of Afterpay in the first quarter of 2022. 71 General and administrative expenses for the year ended December 31, 2022, increased by $704.0 million, or 72%, compared to the year ended December 31, 2021, primarily due to the following: • an increase of $482.6 million in general and administrative personnel-related costs, mainly as a result of additions to our customer support, human resources, finance, and legal personnel as we continue to add resources and skills to support our long-term growth.
The increase in sales and marketing personnel costs also includes an increase in share-based compensation expense of $25.4 million. 73 General and administrative expenses for the year ended December 31, 2023, increased by $522.3 million, or 31%, compared to the year ended December 31, 2022, primarily due to: • an increase of $288.1 million in general and administrative personnel costs, mainly as a result of additions to our customer support and compliance personnel as we continue to maintain resources and skills to support our long-term growth; and • a goodwill impairment charge of $132.3 million related to TIDAL recognized in the fourth quarter of 2023.
While bitcoin contributed 41% and 57% of the total revenue in 2022 and 2021, respectively, gross profit generated from bitcoin was only 3% and 5% of the total gross profit in 2022 and 2021, respectively. 69 Cost of Revenue (in thousands, except for percentages) Year Ended December 31, 2022 2021 $ Change % Change Transaction-based costs $ 3,364,028 $ 2,719,502 $ 644,526 24 % Subscription and services-based costs 861,745 483,056 378,689 78 % Hardware costs 286,995 221,185 65,810 30 % Bitcoin costs 6,956,733 9,794,992 (2,838,259) (29) % Amortization of acquired technology assets 70,194 22,645 47,549 210 % Total cost of revenue $ 11,539,695 $ 13,241,380 $ (1,701,685) (13) % Total cost of revenue for the year ended December 31, 2022 decreased by $1.7 billion, or 13%, compared to the year ended December 31, 2021.
While bitcoin contributed 43% and 41% of the total revenue in 2023 and 2022, respectively, gross profit generated from bitcoin was only 3% of the total gross profit in both 2023 and 2022. 71 Cost of Revenue (in thousands, except for percentages) Year Ended December 31, 2023 2022 $ Change % Change Transaction-based costs $ 3,702,016 $ 3,364,028 $ 337,988 10 % Subscription and services-based costs 1,075,129 861,745 213,384 25 % Hardware costs 267,650 286,995 (19,345) NM (i) Bitcoin costs 9,293,113 6,956,733 2,336,380 34 % Amortization of acquired technology assets 72,829 70,194 2,635 NM (i) Total cost of revenue $ 14,410,737 $ 11,539,695 $ 2,871,042 25 % (i) Not meaningful ("NM") Total cost of revenue for the year ended December 31, 2023 increased by $2.9 billion, or 25%, compared to the year ended December 31, 2022.
Critical Accounting Policies and Estimates Our discussion and analysis of our financial condition and results of operations are based upon our financial statements, which have been prepared in accordance with GAAP. GAAP requires us to make certain estimates and judgments that affect the amounts reported in our financial statements.
These were offset by the payment to redeem convertible notes assumed upon the acquisition of Afterpay of $1.1 billion and the repayment and forgiveness of PPP loans of $480.7 million. Critical Accounting Estimates Our discussion and analysis of our financial condition and results of operations are based upon our financial statements, which have been prepared in accordance with GAAP.
Our liquidity, access to capital, and borrowing costs could be adversely impacted by declines in our credit rating. We have entered into various non-cancelable operating leases for certain offices with contractual lease periods expiring between 2022 and 2034.
Our liquidity, access to capital, and borrowing costs could be adversely impacted by declines in our credit rating.
The increase was driven by: • Costs of revenues associated with our BNPL platform of $223.2 million from the date of acquisition through December 31, 2022; and • growth in Cash App Card usage, paper money deposit activity, and related processing costs and fees.
The increase was driven by: • growth in Cash App's financial service-related products, including Cash App Card and related processing costs and fees, which is partially offset by favorable terms on such processing costs due to a contract renewal executed during the third quarter of fiscal year 2023; and • the cost of revenues associated with the BNPL platform, which were $286.6 million for the year ended December 31, 2023 and $223.2 million from the date of acquisition through December 31, 2022.
Risk Factors and elsewhere in this Form 10-K. Our actual results may differ materially from those contained in or implied by any forward-looking statements. Overview On December 1, 2021, we changed our name as a corporate entity from Square, Inc. to Block, Inc. (together with its subsidiaries, "Block").
Risk Factors and elsewhere in this Form 10-K. Our actual results may differ materially from those contained in or implied by any forward-looking statements. Overview We launched the Square ecosystem in February 2009 to enable businesses ("sellers") to accept card payments, an important capability that was previously inaccessible to many businesses.