INCOME TAXES - Schedule of Beginning and Ending Amount of Unrecognized Tax Benefits (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
|
| Unrecognized Tax Benefits [Roll Forward] | |||
| Balance at beginning of year | $ 186 | $ 212 | $ 169 |
| Increases for tax positions taken in the current year | 31 | 5 | 3 |
| Increases for tax positions taken in prior years | 33 | 4 | 68 |
| Decreases for tax positions taken in prior years | (11) | (3) | (7) |
| Settlements | (87) | (31) | (15) |
| Changes due to currency translation | 3 | (1) | (6) |
| Balance at end of year | $ 155 | $ 186 | $ 212 |
| X | ||||||||||
- Definition The gross amount of changes in unrecognized tax benefits resulting from currency translations. No definition available.
|
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of decrease in unrecognized tax benefits resulting from settlements with taxing authorities. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|