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, 2026 |
Mar. 31, 2025 |
Mar. 31, 2026 |
Mar. 31, 2025 |
|
| Foreign Exchange Contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) on Derivatives Not Designated as Hedges | $ (100) | $ (372) | $ 227 | $ 383 |
| Equity Contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) on Derivatives Not Designated as Hedges | 133 | 176 | 1,743 | (283) |
| Other Contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Gains (Losses) on Derivatives Not Designated as Hedges | (13) | 18 | (7) | 16 |
| Fair Value Hedges | Interest Rate Contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivatives | (2) | 3 | (4) | 5 |
| Hedged items | (4) | (12) | (19) | (36) |
| Cash Flow Hedges | Foreign Exchange Contracts | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Amount reclassified from accumulated other comprehensive loss | $ (34) | $ 50 | $ (46) | $ (7) |
| X | ||||||||||
- Definition Amount of gain (loss) from the increase (decrease) in fair value of derivative and nonderivative instruments designated as fair value hedging instruments recognized in the income statement. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount, before tax, of reclassification of gain (loss) from accumulated other comprehensive income (AOCI) for derivative instrument designated and qualifying as cash flow hedge included in assessment of hedge effectiveness. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|