XML 63 R52.htm IDEA: XBRL DOCUMENT v3.22.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, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges $ (250) $ 96 $ (10) $ 273
Other Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges (206) 6 (204) (12)
Fair Value Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives 0 46 0 49
Hedged items 0 (45) 0 (50)
Excluded from effectiveness assessment 0 0 0 4
Fair Value Hedges | Interest Rate Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives 5 (11) (38) (14)
Hedged items (8) 15 35 22
Cash Flow Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount reclassified from accumulated other comprehensive income (loss) $ 103 $ (14) $ 44 $ (29)