XML 57 R36.htm IDEA: XBRL DOCUMENT v3.20.4
Cash and Cash Equivalents, Investments, and Funds Held for Customers - Type of issue (Details) - USD ($)
$ in Millions
Jan. 31, 2021
Jul. 31, 2020
Jan. 31, 2020
Jul. 31, 2019
Cash and Cash Equivalents Items [Line Items]        
Total cash, cash equivalents, restricted cash, and restricted cash equivalents at end of period $ 2,178 $ 6,697 $ 1,902 $ 2,352
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 981 800    
Available-for-sale debt securities: 986 808    
Total cash and cash equivalents, investments, and funds held for customers, amortized cost 3,159 7,497    
Total cash and cash equivalents, investments, and funds held for customers, fair value 3,164 7,505    
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,178 6,697    
Cash, cash equivalents, restricted cash, and restricted cash equivalents, fair value 2,178 6,697    
Municipal bonds        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 34 9    
Available-for-sale debt securities: 34 9    
Corporate notes        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 864 744    
Available-for-sale debt securities: 869 752    
U.S. agency securities        
Available-for-sale securities:        
Available-for-sale debt securities, amortized cost 83 47    
Available-for-sale debt securities: $ 83 $ 47