XML 73 R61.htm IDEA: XBRL DOCUMENT v3.23.2
Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) on Derivatives Not Designated as Hedges $ (73) $ 383 $ 27
Equity Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) on Derivatives Not Designated as Hedges (420) 13 (6)
Other Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Gains (Losses) on Derivatives Not Designated as Hedges (41) (85) 15
Fair Value Hedges | Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Derivatives 0 49 193
Hedged items 0 (50) (188)
Excluded from effectiveness assessment 0 4 30
Fair Value Hedges | Interest Rate Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Derivatives (65) (92) (37)
Hedged items 38 108 53
Cash Flow Hedges | Foreign Exchange Contracts      
Derivative Instruments, Gain (Loss) [Line Items]      
Amount reclassified from accumulated other comprehensive income $ 61 $ (79) $ 17