Income Taxes - Narrative (Details) $ in Millions |
12 Months Ended | |||
|---|---|---|---|---|
|
Jun. 30, 2026
USD ($)
tax_jurisdiction
|
Jun. 30, 2025
USD ($)
|
Jun. 30, 2024
USD ($)
|
Jun. 30, 2023
USD ($)
|
|
| Operating Loss Carryforwards [Line Items] | ||||
| Number of tax jurisdictions in which the entity operates (over) | tax_jurisdiction | 40 | |||
| Income tax expense | 14.10% | 20.80% | 18.00% | |
| Increase in valuation allowance | $ (54) | $ 261 | $ 3 | |
| Tax credit carryforwards | 59 | 54 | ||
| Deferred tax liability related to undistributed foreign earnings | 110 | |||
| Unrecognized tax benefits | 212 | 224 | 104 | $ 155 |
| Interest and penalties related to uncertain tax positions | 45 | 37 | 17 | |
| Income taxes paid | 451 | 261 | $ 253 | |
| HMRC | ||||
| Operating Loss Carryforwards [Line Items] | ||||
| Net operating losses that do not expire | $ 2,200 | |||
| Other Taxing Authorities | ||||
| Operating Loss Carryforwards [Line Items] | ||||
| Net operating losses that do not expire | $ 2,300 | |||
| X | ||||||||||
- Definition Number Of Tax Jurisdictions In Which Entity Operates No definition available.
|
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards that are not subject to expiration dates. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount, before allocation of a valuation allowances, of deferred tax assets attributable to deductible tax credit carryforwards including, but not limited to, research, foreign, general business, alternative minimum tax, and other deductible tax credit carryforwards. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred tax liability not recognized because of the exceptions to comprehensive recognition of deferred taxes related to undistributed earnings of foreign subsidiaries. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax. Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef
|
| 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 unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of expense for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) in the valuation allowance for a specified deferred tax asset. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|