XML 131 R118.htm IDEA: XBRL DOCUMENT v3.21.2
Financial Instruments - Schedule of Pre-Tax Effect of Derivative Instruments in Cash Flow Hedging Relationships (Details) - USD ($)
$ in Millions
3 Months Ended 12 Months Ended
Oct. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2019
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:   $ (132) $ (201)  
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:       $ 252
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   5,302 3,462 3,877
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings   (243) 85  
Cash flow hedges        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   7,511 3,231 2,523
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings $ 85 (243)    
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings       380
Cash flow hedges | Net revenue        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   63,487 56,639 58,756
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings 108 (214)    
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings       425
Cash flow hedges | Cost of revenue        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   (50,070) (46,202) (47,586)
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings (25) (30)    
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings       (43)
Cash flow hedges | Operating expenses        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   (8,115) (6,975) (7,293)
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings 2 1    
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings       (2)
Cash flow hedges | Interest and other, net        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Total amounts of income/ (expense) line items in the statement of financial performance in which the effects of cash flow hedges are recorded   2,209 (231) (1,354)
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings $ 0 0    
Gain/ (loss) reclassified from Accumulated other comprehensive loss into earnings       0
Foreign currency contracts | Cash flow hedges        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:   (117) (197)  
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:       252
Interest rate contracts | Cash flow hedges        
Pre-tax effect of derivative instruments in cash flow hedging relationships        
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:   $ (15) $ (4)  
Gain/(loss) recognized in Accumulated other comprehensive loss on derivatives:       $ 0