Income Taxes - Schedule of income tax paid (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income taxes paid | $ 451 | $ 261 | $ 253 |
| United States of America | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | 187 | ||
| Germany | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | 53 | ||
| France | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | 28 | ||
| Switzerland | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | 25 | ||
| Canada | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | 23 | ||
| Rest of the world | |||
| Effective Income Tax Rate Reconciliation [Line Items] | |||
| Income Tax Paid, Foreign, after Refund Received | $ 135 | ||