v3.26.1
Derivative Instruments (Details) - USD ($)
$ in Millions
9 Months Ended 12 Months Ended
Apr. 30, 2026
Jul. 31, 2025
Derivative [Line Items]    
Unrealized gains (losses) in AOCI related to cash flow hedges $ 19 $ 40
Gains expected to be recognized into earnings within the next 12 months 19  
Cash Flow Hedging    
Derivative [Line Items]    
Total notional amount 821 964
Not Designated as Hedging Instrument    
Derivative [Line Items]    
Total notional amount $ 412 $ 504
Foreign exchange contract    
Derivative [Line Items]    
Maximum contract term of cash flow hedge 24 months