Additional Financial Information - Schedule of Interest Expense, Net (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Organization, Consolidation and Presentation of Financial Statements [Abstract] | |||
| Interest expense | $ (401) | $ (403) | $ (405) |
| Interest income | 127 | 176 | 189 |
| Total interest expense, net | $ (274) | $ (227) | $ (216) |
| X | ||||||||||
- Definition Amount of interest expense classified as nonoperating. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of interest income (expense) classified as nonoperating. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount before accretion (amortization) of purchase discount (premium) of interest income on nonoperating securities. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|