FINANCIAL INSTRUMENTS AND FAIR VALUE MEASUREMENTS - Summary of Derivative Instruments Designated as Cash Flow Hedges (Details) - Interest Rate Contract - Cash Flow Hedging - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| Gain (loss) recognized in Accumulated Other Comprehensive Loss | $ 3 | $ (3) | $ 10 |
| Income Statement Location [Axis]: us-gaap:InterestIncomeExpenseNonoperatingNet | |||
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| (Gain) loss reclassified from Accumulated Other Comprehensive Loss | $ (9) | $ (13) | $ (17) |