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