v3.26.1
Financial Instruments - Schedule of Pre-tax Effect of Derivative Instruments in Net Investment Hedging Relationships and Pre-tax Effect of Derivative Instruments in Cash Flow Hedging Relationships (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
Derivative Instruments, Gain (Loss) [Line Items]        
Foreign exchange contracts $ 126 $ (465) $ (65) $ (195)
Total 18 (529) (114) (216)
Foreign currency contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Foreign exchange contracts 126 (465) (65) (195)
Foreign exchange contracts $ (108) $ (64) $ (49) $ (21)