XML 88 R69.htm IDEA: XBRL DOCUMENT v3.23.2
Income Taxes - Additional information (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Operating Loss Carryforwards [Line Items]        
Excess tax expense (benefits) related to stock-based compensation $ (32) $ (134) $ (126)  
Tax benefit realized on transfer of certain intangible assets 32      
Valuation allowance 235 244    
(Decrease) Increase in valuation allowance 9 (39)    
Unrecognized tax benefits 246 216 190 $ 101
Favorable net impact to income tax expense due to recognition of tax benefits 152      
Long term income tax receivable 85 89    
Domestic Country        
Operating Loss Carryforwards [Line Items]        
Excess tax expense (benefits) related to stock-based compensation (26) (112) (105)  
Operating loss carryforwards 52      
State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Excess tax expense (benefits) related to stock-based compensation 6 $ 22 $ 21  
Valuation allowance 5      
Operating loss carryforwards 150      
Deferred tax asset net operating loss carryforward 10      
Foreign Tax Authority        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 96      
Research Tax Credit Carryforward | State and Local Jurisdiction        
Operating Loss Carryforwards [Line Items]        
Deferred tax assets, tax credit carryforwards $ 343