XML 50 R31.htm IDEA: XBRL DOCUMENT v3.7.0.1
Cash and Cash Equivalents, Investments and Funds Held for Customers Type of issue (Details) - USD ($)
$ in Millions
Apr. 30, 2017
Jul. 31, 2016
Apr. 30, 2016
Jul. 31, 2015
Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents, amortized cost $ 1,350 $ 638 $ 1,289 $ 808
Available-for-sale securities:        
Total cash and cash equivalents, investments, and funds held for customers, Amortized Cost 1,944 1,411    
Total cash and cash equivalents, investments, and funds held for customers, Fair Value 1,944 1,412    
Total cash and cash equivalents        
Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents, amortized cost 1,473 742    
Cash and cash equivalents, fair value disclosure 1,473 742    
Municipal bonds        
Available-for-sale securities:        
Investments and funds, amortized cost 85 186    
Investments and funds, fair value 85 186    
Corporate notes        
Available-for-sale securities:        
Investments and funds, amortized cost 358 419    
Investments and funds, fair value 358 420    
U.S. agency securities        
Available-for-sale securities:        
Investments and funds, amortized cost 0 36    
Investments and funds, fair value 0 36    
Municipal auction rate securities        
Available-for-sale securities:        
Investments and funds, amortized cost 15 15    
Investments and funds, fair value 15 15    
Total available-for-sale debt securities        
Available-for-sale securities:        
Investments and funds, amortized cost 458 656    
Investments and funds, fair value 458 657    
Other long-term investments        
Available-for-sale securities:        
Other long-term investments 13 13    
Investments and funds, fair value $ 13 $ 13