XML 71 R59.htm IDEA: XBRL DOCUMENT v3.22.2
Gains (Losses) on Derivative Instruments Recognized on Consolidated Income Statements (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) on Derivatives Not Designated as Hedges $ 383 $ 27 $ (123)
Other Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) on Derivatives Not Designated as Hedges (72) 9 50
Fair Value Hedges | Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Derivatives 49 193 1
Hedged items (50) (188) 3
Excluded from effectiveness assessment 4 30 139
Fair Value Hedges | Interest Rate Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Derivatives (92) (37) 93
Hedged items 108 53 (93)
Cash Flow Hedges | Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount reclassified from accumulated other comprehensive income $ (79) $ 17 $ 0