XML 101 R71.htm IDEA: XBRL DOCUMENT v3.22.2.2
Income Taxes - Differences between income taxes calculated using the federal statutory income tax rate and the provision for income taxes from continuing operations (Details) - USD ($)
$ in Millions
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
Operating Loss Carryforwards [Line Items]      
Income before income taxes $ 2,542 $ 2,556 $ 2,198
Statutory federal income tax 534 537 462
State income tax, net of federal benefit 87 87 25
Federal research and experimentation credits (94) (70) (54)
Share-based compensation 54 38 22
Federal excess tax benefits related to share-based compensation 134 126 90
Effects of non-U.S. operations 4 4 13
Other, net 3 3 (17)
Total provision for income taxes 476 494 372
Domestic Country      
Operating Loss Carryforwards [Line Items]      
Federal excess tax benefits related to share-based compensation $ (112) $ (105) $ (79)