XML 109 R97.htm IDEA: XBRL DOCUMENT v3.22.1
Derivative Instruments - Schedule of Notional Amounts of Derivatives Outstanding (Details) - USD ($)
$ in Millions
Apr. 30, 2022
Jul. 31, 2021
Derivative [Line Items]    
Derivatives $ 7,190 $ 6,869
Foreign currency derivatives    
Derivative [Line Items]    
Derivatives 4,501 4,139
Interest rate derivatives    
Derivative [Line Items]    
Derivatives 2,000 2,000
Total return swaps—deferred compensation    
Derivative [Line Items]    
Derivatives $ 689 $ 730