XML 31 R12.htm IDEA: XBRL DOCUMENT v3.23.2
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers
12 Months Ended
Jul. 31, 2023
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers [Abstract]  
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers
3. Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers
The following table summarizes our cash and cash equivalents, investments, and funds receivable and amounts held for customers by balance sheet classification at the dates indicated.
 July 31, 2023July 31, 2022
(In millions)
Amortized
Cost
Fair Value
Amortized
Cost
Fair Value
Classification on consolidated balance sheets:    
Cash and cash equivalents$2,848 $2,848 $2,796 $2,796 
Investments819 814 490 485 
Funds receivable and amounts held for customers424 420 435 431 
Total cash and cash equivalents, investments, and funds receivable and amounts held for customers$4,091 $4,082 $3,721 $3,712 
The following table summarizes our cash and cash equivalents, investments, and relevant portion of funds receivable and amounts held for customers by investment category at the dates indicated. As of July 31, 2023 and July 31, 2022, this excludes $216 million and $30 million, respectively, of funds receivable included on our consolidated balance sheets in funds receivable and amounts held for customers not measured and recorded at fair value.
 July 31, 2023July 31, 2022
(In millions)Amortized CostFair ValueAmortized CostFair Value
Type of issue:    
Total cash, cash equivalents, restricted cash, and restricted cash equivalents$2,852 $2,852 $2,997 $2,997 
Available-for-sale debt securities:    
Corporate notes811 805 597 589 
U.S. agency securities212 209 97 96 
Total available-for-sale debt securities1,023 1,014 694 685 
Total cash, cash equivalents, restricted cash, restricted cash equivalents, and investments$3,875 $3,866 $3,691 $3,682 
We include realized gains and losses on our available-for-sale debt securities in interest and other income or expense in our consolidated statements of operations. Gross realized gains and losses on our available-for-sale debt securities for the twelve months ended July 31, 2023, 2022, and 2021 were not material.
We accumulate unrealized gains and losses on our available-for-sale debt securities, net of tax, in accumulated other comprehensive income or loss in the stockholders’ equity section of our consolidated balance sheets, except for certain unrealized losses described below. Gross unrealized gains and losses on our available-for-sale debt securities at July 31, 2023 and July 31, 2022 were not material.
For available-for-sale debt securities in an unrealized loss position, we determine whether a credit loss exists. The estimate of the credit loss is determined by considering available information relevant to the collectibility of the security and information about past events, current conditions, and reasonable and supportable forecasts. The allowance for credit loss is recorded to interest and other income on our consolidated statements of operations, not to exceed the amount of the unrealized loss. Any excess unrealized loss greater than the allowance for credit loss at a security level is recognized in accumulated other comprehensive income or loss in the stockholders' equity section of our consolidated balance sheets. We determined there were no credit losses related to available-for-sale debt securities as of July 31, 2023. Unrealized losses on available-for-sale
debt securities at July 31, 2023 were not material. We do not intend to sell these investments. In addition, it is more likely than not that we will not be required to sell them before recovery of the amortized cost basis, which may be at maturity.
The following table summarizes our available-for-sale debt securities, included in investments and relevant portion of funds receivable and amounts held for customers, classified by the stated maturity date of the security at the dates indicated.
 July 31, 2023July 31, 2022
(In millions)Amortized CostFair ValueAmortized CostFair Value
Due within one year$735 $730 $316 $313 
Due within two years147 144 298 293 
Due within three years141 140 79 78 
Due after three years— — 
Total available-for-sale debt securities$1,023 $1,014 $694 $685 

The following table summarizes our funds receivable and amounts held for customers by asset category at the dates indicated.
(In millions)July 31, 2023July 31, 2022July 31, 2021July 31, 2020
Restricted cash and restricted cash equivalents$$201 $257 $255 
Restricted available-for-sale debt securities and funds receivable416 230 200 200 
Total funds receivable and amounts held for customers$420 $431 $457 $455