Gains (Losses) Related to Cash Flow Hedges (Detail) - Designated Hedge Derivatives - Foreign Exchange Contracts - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2018 |
Jun. 30, 2017 |
Jun. 30, 2016 |
|
| Effective Portion | |||
| Gains recognized in other comprehensive income (net of tax of $11, $4, and $24) | $ 219 | $ 328 | $ 351 |
| Gains reclassified from accumulated other comprehensive income (loss) into revenue | 185 | 555 | 625 |
| Amount Excluded from Effectiveness Assessment and Ineffective Portion | |||
| Losses recognized in other income (expense), net | $ (255) | $ (389) | $ (354) |
| X | ||||||||||
- Definition Gain Loss on Cash Flow Hedge Effectiveness Net [Abstract] No definition available.
|
| X | ||||||||||
- Definition The portion of gains and losses (net) on derivative instruments designated and qualifying as hedging instruments representing (a) the amount of the hedge ineffectiveness and (b) the amount, if any, excluded from the assessment of hedge effectiveness. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition The amount of net gains or losses on foreign currency cash flow hedges reclassified during the period to earnings from accumulated other comprehensive income upon the hedged transaction affecting earnings. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount after tax of increase (decrease) in accumulated gain (loss) from derivative instruments designated and qualifying as the effective portion of cash flow hedges and an entity's share of an equity investee's increase (decrease) in deferred hedging gain (loss). Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|