XML 49 R30.htm IDEA: XBRL DOCUMENT v3.7.0.1
Cash and Cash Equivalents, Investments and Funds Held for Customers Classification on Balance Sheets (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
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    
Cash and cash equivalents        
Cash and Cash Equivalents Items [Line Items]        
Cash and cash equivalents, amortized cost 1,350 638    
Cash and cash equivalents, fair value disclosure 1,350 638    
Investments        
Cash and Cash Equivalents Items [Line Items]        
Investments and funds, amortized cost 243 441    
Investments and funds, fair value 243 442    
Funds held for customers        
Cash and Cash Equivalents Items [Line Items]        
Investments and funds, amortized cost 323 304    
Investments and funds, fair value 323 304    
Long-term investments        
Cash and Cash Equivalents Items [Line Items]        
Investments and funds, amortized cost 28 28    
Investments and funds, fair value $ 28 $ 28