v3.25.2
Financial Instruments - Pre-tax Effect of Derivative Instruments on Statement of Earnings (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2025
Jul. 31, 2024
Derivative Instruments, Gain (Loss) [Line Items]        
Net revenue $ 9,136 $ 7,710 $ 24,617 $ 21,669
Interest and other, net 8 (12) 86 (122)
Net Revenue        
Derivative Instruments, Gain (Loss) [Line Items]        
Total gains (losses) (66) 37 17 83
Interest and Other, net        
Derivative Instruments, Gain (Loss) [Line Items]        
Total gains (losses) 9 (23) (177) (51)
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: (11) (37) (41) (69)
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: 11 37 41 69
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 (66) 37 17 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 11 (40) (102) (85)
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 (1) 0 (2) 0
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: 1 12 (75) 30
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: $ (2) $ 5 $ 2 $ 4