XML 99 R69.htm IDEA: XBRL DOCUMENT v3.22.2.2
Income Taxes - Additional information (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2019
Operating Loss Carryforwards [Line Items]        
Excess tax benefits related to stock-based compensation $ 134 $ 126 $ 90  
Valuation allowance 244 205    
Federal research and experimentation credit carryforwards 3      
Unrecognized tax benefits 216 190 101 $ 120
Favorable net impact to income tax expense due to recognition of tax benefits 123      
Long term income tax receivable 89 75    
Domestic Country        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 22      
State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Excess tax benefits related to stock-based compensation 22 $ 21 $ 11  
Operating loss carryforwards 86      
Deferred tax asset net operating loss carryforward 6      
Valuation allowance 3      
Foreign Tax Authority | Inland Revenue, Singapore (IRAS)        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 78      
Foreign Tax Authority | Secretariat of the Federal Revenue Bureau of Brazil        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 69      
Foreign Tax Authority | Her Majesty's Revenue and Customs (HMRC)        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 36      
Research Tax Credit Carryforward | State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Deferred tax assets, tax credit carryforwards $ 289