RISK MANAGEMENT ACTIVITIES AND FAIR VALUE MEASUREMENTS - SCHEDULE OF DERIVATIVE INSTRUMENTS (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Mar. 31, 2024 |
Mar. 31, 2023 |
Mar. 31, 2024 |
Mar. 31, 2023 |
|
| Interest Rate Contracts | Derivatives in Fair Value Hedging Relationships | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivative, Gain (Loss) on Derivative, Net | $ (7) | $ 39 | $ 122 | $ (141) |
| Foreign Currency Contract | Not Designated as Hedging Instrument | ||||
| Derivative Instruments, Gain (Loss) [Line Items] | ||||
| Derivative, Gain (Loss) on Derivative, Net | $ (84) | $ 38 | $ (27) | $ (13) |