v3.26.1
Financial Instruments - Schedule of Effect of Derivative Instruments on the Statement of Earnings (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]        
Net revenue $ 10,678 $ 7,627 $ 19,979 $ 15,481
Interest and other, net (73) 39 (127) 78
Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Total gains (losses) 6 39 (4) 83
Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Total gains (losses) 114 (413) (74) (186)
Interest rate contracts | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives in Fair Value Hedging Relationships: 0 0 0 0
Interest rate contracts | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives in Fair Value Hedging Relationships: 8 (15) 7 (30)
Derivatives Designated as Hedging Instruments | Interest rate contracts | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives in Fair Value Hedging Relationships: 0 0 0 0
Derivatives Designated as Hedging Instruments | Interest rate contracts | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives in Fair Value Hedging Relationships: (8) 15 (7) 30
Derivatives Designated as Hedging Instruments | Foreign currency contracts | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of gains (losses) reclassified from accumulated other comprehensive income into income 6 39 (4) 83
Derivatives Designated as Hedging Instruments | Foreign currency contracts | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of gains (losses) reclassified from accumulated other comprehensive income into income 47 (283) (81) (113)
Derivatives Designated as Hedging Instruments | Interest Rate Locks | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of gains (losses) reclassified from accumulated other comprehensive income into income 0 0 0 0
Derivatives Designated as Hedging Instruments | Interest Rate Locks | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount of gains (losses) reclassified from accumulated other comprehensive income into income 0 0 0 (1)
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives not Designated as Hedging Instruments: 0 0 0 0
Derivatives Not Designated as Hedging Instruments | Foreign currency contracts | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives not Designated as Hedging Instruments: 59 (130) (1) (76)
Derivatives Not Designated as Hedging Instruments | Other derivatives | Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives not Designated as Hedging Instruments: 0 0 0 0
Derivatives Not Designated as Hedging Instruments | Other derivatives | Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives not Designated as Hedging Instruments: $ 8 $ 0 $ 8 $ 4