BASIS OF PRESENTATION, RECENT ACCOUNTING PRONOUNCEMENTS AND OTHER Narrative (Details) - USD ($) $ in Millions |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Contract with Customer, Asset and Liability [Abstract] | ||||
| Revenues recognized included in opening deferred revenues balances | $ 8,700 | $ 8,600 | ||
| Revenue, Performance Obligation [Abstract] | ||||
| Remaining performance obligation, amount | $ 552,600 | 552,600 | ||
| Sales of Financing Receivables [Abstract] | ||||
| Sales of financing receivables | $ 333 | $ 306 | $ 1,400 | $ 1,200 |