SHARE-BASED COMPENSATION - Additional Information On Stock Options (Details) - USD ($) $ / shares in Units, $ in Millions |
12 Months Ended | ||
|---|---|---|---|
Jun. 30, 2026 |
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Share-Based Payment Arrangement [Abstract] | |||
| Weighted average grant-date fair value of options granted (in dollars per share) | $ 33.17 | $ 36.23 | $ 34.25 |
| Intrinsic value of options exercised | $ 664 | $ 1,546 | $ 1,621 |
| Grant-date fair value of options that vested | 274 | 299 | 244 |
| Cash received from options exercised | 920 | 1,693 | 1,888 |
| Actual tax benefit from options exercised | $ 137 | $ 321 | $ 330 |
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of tax benefit from exercise of option under share-based payment arrangement. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash inflow from exercise of option under share-based payment arrangement. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Fair value of options vested. Excludes equity instruments other than options, for example, but not limited to, share units, stock appreciation rights, restricted stock. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|