XML 63 R52.htm IDEA: XBRL DOCUMENT v3.23.1
Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Mar. 31, 2023
Mar. 31, 2022
Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges $ (10) $ 35 $ (20) $ 308
Other Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges (60) (29) (264) (41)
Fair Value Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives 0 0 0 49
Hedged items 0 0 0 (50)
Excluded from effectiveness assessment 0 0 0 4
Fair Value Hedges | Interest Rate Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives 1 (57) (37) (71)
Hedged items (15) 61 20 83
Cash Flow Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount reclassified from accumulated other comprehensive loss $ 18 $ (15) $ 62 $ (44)