XML 64 R53.htm IDEA: XBRL DOCUMENT v3.21.4
Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges $ 96 $ 139 $ 273 $ 197
Other Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges 6 3 (12) 7
Fair Value Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives 46 (124) 49 (293)
Hedged items (45) 125 (50) 293
Excluded from effectiveness assessment 0 10 4 18
Fair Value Hedges | Interest Rate Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives (11) (9) (14) (9)
Hedged items 15 12 22 16
Cash Flow Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount reclassified from accumulated other comprehensive income $ (14) $ 21 $ (29) $ 41