v3.26.1
Income Taxes (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Jul. 31, 2025
Income Tax Disclosure [Abstract]          
Tax shortfalls (benefits) on share-based compensation $ 11 $ 18 $ 40 $ 75  
Effective tax rate 24.00% 23.00% 23.00% 22.00%  
Effective tax rate, excluding discrete tax benefits     24.00% 24.00%  
Unrecognized tax benefits         $ 394
Unrecognized tax benefits that would impact effective tax rate $ 276   $ 276    
Long-term liability for uncertain tax positions $ 126   $ 126   $ 61