v3.26.1
Income Taxes - Additional information (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
Operating Loss Carryforwards [Line Items]        
Shortfalls (excess tax benefits) related to share-based compensation $ 36 $ (120) $ (153)  
Valuation allowance 257 290    
Increase (decrease) in valuation allowance (33) 63    
Unrecognized tax benefits 413 394 327 $ 246
Favorable net impact to income tax expense due to recognition of tax benefits 275      
Liability for uncertainty in income taxes 61 61    
Domestic Country        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 35      
U.S. state and local        
Operating Loss Carryforwards [Line Items]        
Shortfalls (excess tax benefits) related to share-based compensation 7 (23) (30)  
Valuation allowance 6      
Operating loss carryforwards 99      
Deferred tax asset net operating loss carryforward 6      
Foreign Tax Authority        
Operating Loss Carryforwards [Line Items]        
Operating loss carryforwards 18      
All Income Tax Jurisdictions        
Operating Loss Carryforwards [Line Items]        
Shortfalls (excess tax benefits) related to share-based compensation 43 $ (143) $ (183)  
Research Tax Credit Carryforward | U.S. state and local        
Operating Loss Carryforwards [Line Items]        
Deferred tax assets, tax credit carryforwards $ 415