XML 52 R36.htm IDEA: XBRL DOCUMENT v3.22.2.2
Cash and Cash Equivalents, Investments, and Funds Receivable and Amounts Held for Customers - Type of Issue (Details) - USD ($)
$ in Millions
Oct. 31, 2022
Jul. 31, 2022
Oct. 31, 2021
Jul. 31, 2021
Cash and Cash Equivalents Items [Line Items]        
Total cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period $ 2,140 $ 2,997 $ 2,972 $ 2,819
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 816 694    
Available-for-sale debt securities, fair value 799 685    
Total cash and cash equivalents, investments, and funds held for customers, amortized cost 3,209 3,721    
Total cash and cash equivalents, investments, and funds held for customers, fair value 3,192 3,712    
Total cash, cash equivalents, restricted cash, restricted cash equivalents, and investments, Amortized Cost 2,956 3,691    
Total cash, cash equivalents, restricted cash, restricted cash equivalents, and investments, Fair Value 2,939 3,682    
Total cash, cash equivalents, restricted cash, and restricted cash equivalents        
Cash and Cash Equivalents Items [Line Items]        
Total cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period 2,140 2,997    
Cash, cash equivalents, restricted cash, and restricted cash equivalents, fair value 2,140 2,997    
Municipal bonds        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 0 0    
Available-for-sale debt securities, fair value 0 0    
Corporate notes        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 697 597    
Available-for-sale debt securities, fair value 684 589    
U.S. agency securities        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 119 97    
Available-for-sale debt securities, fair value 115 96    
Funds Receivable And Funds Held For Customers Not Measured Or Recorded At Fair Value        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost $ 253 $ 30