XML 73 R61.htm IDEA: XBRL DOCUMENT
v3.23.2

Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($) $ in Millions | 12 Months Ended
--- | ---
Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
Foreign Exchange Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Gains (Losses) on Derivatives Not Designated as Hedges | $ (73) | $ 383 | $ 27
Equity Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Gains (Losses) on Derivatives Not Designated as Hedges | (420) | 13 | (6)
Other Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Gains (Losses) on Derivatives Not Designated as Hedges | (41) | (85) | 15
Fair Value Hedges | Foreign Exchange Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Derivatives | 0 | 49 | 193
Hedged items | 0 | (50) | (188)
Excluded from effectiveness assessment | 0 | 4 | 30
Fair Value Hedges | Interest Rate Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Derivatives | (65) | (92) | (37)
Hedged items | 38 | 108 | 53
Cash Flow Hedges | Foreign Exchange Contracts |  |  |
Derivative Instruments, Gain (Loss) [Line Items] |  |  |
Amount reclassified from accumulated other comprehensive income | $ 61 | $ (79) | $ 17

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. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 25 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480238/815-25-50-1 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of the increase (decrease) in fair value of the hedged item in a fair value hedge recognized in the income statement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 25 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480238/815-25-50-1 + Details
Name: | us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4E -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4E + Details
Name: | us-gaap_DerivativeInstrumentsGainLossLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of realized and unrealized gain (loss) of derivative instruments not designated or qualifying as hedging instruments. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 815 -SubTopic 10 -Section 50 -Paragraph 4C -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 50 -Paragraph 4CC -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4CC + Details
Name: | us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsGainLossNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net gain (loss) relating to components of the gain (loss) on the fair value hedging instrument excluded from the assessment of fair value hedge effectiveness. Recognized in earnings. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 815 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 815 -SubTopic 25 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480238/815-25-50-1 + Details
Name: | us-gaap_GainLossFromComponentsExcludedFromAssessmentOfFairValueHedgeEffectivenessNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-11 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482790/220-10-45-15 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name Accounting Standards Codification -Section 50 -Paragraph 4C -Subparagraph (c) -SubTopic 10 -Topic 815 -Publisher FASB -URI https://asc.fasb.org//1943274/2147480434/815-10-50-4C + Details
Name: | us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_NonoperatingIncomeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_ForeignExchangeContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_EquityContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_OtherContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_FairValueHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentRiskAxis=us-gaap_InterestRateContractMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis=us-gaap_CashFlowHedgingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |