XML 83 R59.htm IDEA: XBRL DOCUMENT v3.7.0.1
Income Taxes - Additional Information (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2015
Operating Loss Carryforwards [Line Items]      
Excess tax benefits for provision for income taxes $ 72    
Reduction of income taxes payable   $ 59 $ 85
Discrete tax benefit due to changes in tax law   12 $ 11
Total net deferred tax assets, net of valuation allowance 275 242  
Valuation Allowance 64 40  
State and Local Jurisdiction      
Operating Loss Carryforwards [Line Items]      
Excess tax benefits for provision for income taxes 3    
Operating loss carryforwards 103    
Total net deferred tax assets, net of valuation allowance 6    
Valuation Allowance 5    
Domestic Country      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards 16    
Foreign Tax Authority | Inland Revenue, Singapore (IRAS)      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards 92    
Foreign Tax Authority | Secretariat of the Federal Revenue Bureau of Brazil      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards 14    
Capital Loss Carryforward | State and Local Jurisdiction      
Operating Loss Carryforwards [Line Items]      
Operating loss carryforwards, valuation allowance   2  
Research Tax Credit Carryforward | State and Local Jurisdiction      
Operating Loss Carryforwards [Line Items]      
Deferred tax assets, tax credit carryforwards $ 66    
Demandforce, QuickBase, and Quicken      
Operating Loss Carryforwards [Line Items]      
Income tax expense (benefit) from discontinued operations   $ 179