XML 72 R42.htm IDEA: XBRL DOCUMENT v3.22.2.2
Fair Value Measurements - Schedule of cash equivalents and available-for-sale debt securities by balance sheet classification (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Cash equivalents:      
Total cash and cash equivalents $ 2,796 $ 2,562  
Available-for-sale debt securities:      
Total available-for-sale debt securities 685 1,508  
Long-term Investments 98 43  
Level 3      
Available-for-sale debt securities:      
Upward adjustments to non-marketable equity securities 54 17 $ 0
Cumulative upward adjustments to non-marketable equity securities 71    
In funds receivable and amounts held for customers      
Available-for-sale debt securities:      
Total available-for-sale debt securities 431 457  
Fair Value, Measurements, Recurring      
Cash equivalents:      
Total cash and cash equivalents 1,835 1,660  
Available-for-sale debt securities:      
Total available-for-sale debt securities 685 1,508  
Fair Value, Measurements, Recurring | Level 1      
Cash equivalents:      
Total cash and cash equivalents 1,835 1,660  
Available-for-sale debt securities:      
Total available-for-sale debt securities 0 0  
Fair Value, Measurements, Recurring | Level 2      
Cash equivalents:      
Total cash and cash equivalents 0 0  
Available-for-sale debt securities:      
Total available-for-sale debt securities 685 1,508  
Fair Value, Measurements, Recurring | In cash and cash equivalents      
Cash equivalents:      
Total cash and cash equivalents 1,835 1,660  
Fair Value, Measurements, Recurring | In cash and cash equivalents | Level 1      
Cash equivalents:      
Total cash and cash equivalents 1,835 1,660  
Fair Value, Measurements, Recurring | In cash and cash equivalents | Level 2      
Cash equivalents:      
Total cash and cash equivalents 0 0  
Fair Value, Measurements, Recurring | In investments      
Available-for-sale debt securities:      
Total available-for-sale debt securities 485 1,308  
Fair Value, Measurements, Recurring | In investments | Level 1      
Available-for-sale debt securities:      
Total available-for-sale debt securities 0 0  
Fair Value, Measurements, Recurring | In investments | Level 2      
Available-for-sale debt securities:      
Total available-for-sale debt securities 485 1,308  
Fair Value, Measurements, Recurring | In funds receivable and amounts held for customers      
Available-for-sale debt securities:      
Total available-for-sale debt securities 200 200  
Fair Value, Measurements, Recurring | In funds receivable and amounts held for customers | Level 1      
Available-for-sale debt securities:      
Total available-for-sale debt securities 0 0  
Fair Value, Measurements, Recurring | In funds receivable and amounts held for customers | Level 2      
Available-for-sale debt securities:      
Total available-for-sale debt securities $ 200 $ 200