Income Taxes - Schedule of Income Taxes Paid, Net (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Income Tax Paid, by Individual Jurisdiction [Line Items] | |||
| Federal | $ 469 | ||
| State and local | 67 | ||
| Foreign: | |||
| Total foreign | 528 | ||
| Net income tax, related interest, penalties, and purchased credits | 1,064 | $ 927 | $ 852 |
| China | |||
| Foreign: | |||
| Total foreign | 86 | ||
| Switzerland | |||
| Foreign: | |||
| Total foreign | 70 | ||
| United Kingdom | |||
| Foreign: | |||
| Total foreign | 101 | ||
| Other | |||
| Foreign: | |||
| Total foreign | $ 271 | ||
| 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, after income tax refund received, of cash paid to federal (national) tax jurisdiction for tax on income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount, after income tax refund received, of cash paid to foreign tax jurisdiction for tax on income. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount, after income tax refund received, of cash paid to state and local tax jurisdictions for tax on income. 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 | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|