XML 73 R53.htm IDEA: XBRL DOCUMENT v3.23.1
Income Taxes (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Apr. 30, 2023
Apr. 30, 2022
Apr. 30, 2023
Apr. 30, 2022
Jul. 31, 2022
Income Tax Disclosure [Abstract]          
Excess tax benefits on share-based compensation $ 17 $ 26 $ 15 $ 135  
Effective tax rate 24.00% 24.00% 23.00% 20.00%  
Effective tax rate, excluding discrete tax benefits 24.00% 26.00% 24.00% 26.00%  
Total amount of unrecognized tax benefits         $ 216
Favorable net impact to income tax expense due to recognition of tax benefits $ 123   $ 123    
Long-term liability for uncertain tax positions $ 85   $ 85   $ 89