LEASES - Schedule of Supplemental Cash Flow Information Related to Leases (Details) - USD ($) $ in Millions |
12 Months Ended | |
|---|---|---|
May 31, 2025 |
May 31, 2024 |
|
| Leases [Abstract] | ||
| Operating cash flows paid for operating leases | $ 3,422 | $ 3,319 |
| Operating cash flows paid for interest portion of finance leases | 17 | 15 |
| Financing cash flows paid for principal portion of finance leases | 101 | 80 |
| Right-of-use assets obtained in exchange for new operating lease liabilities | 1,945 | 2,083 |
| Right-of-use assets obtained in exchange for new finance lease liabilities | $ 352 | $ 10 |
| X | ||||||||||
- Definition Amount of interest paid on finance lease liability. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for finance lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Amount of increase in right-of-use asset obtained in exchange for operating lease liability. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|