Other Income / Expense (Details) - USD ($) $ in Millions |
12 Months Ended | ||||||||
|---|---|---|---|---|---|---|---|---|---|
Jun. 30, 2022 |
Jun. 30, 2021 |
Jun. 30, 2020 |
|||||||
| Other Income and Expenses [Abstract] | |||||||||
| Other Nonoperating Expense | [1] | $ 4 | $ 18 | $ 16 | |||||
| Foreign Currency Transaction Gain (Loss), Unrealized | [2] | (33) | (5) | 3 | |||||
| Other Nonoperating Income (Expense) | [3] | 9 | 20 | 5 | |||||
| Other (Income)/expense, net | (28) | (3) | (8) | ||||||
| Derivative, Gain (Loss) on Derivative, Net | 2 | 17 | $ 3 | ||||||
| Write-off of Deferred Debt Issuance Costs | 4 | 6 | |||||||
| Early Repayment of Senior Debt | 11 | $ 10 | |||||||
| Gain (Loss) on Extinguishment of Debt | $ 3 | ||||||||
| |||||||||