VALUATION AND QUALIFYING ACCOUNTS (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
May 31, 2023 |
|
| Allowance for Credit Losses | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Beginning balance | $ 436 | $ 472 | $ 340 |
| Charged to expenses | 521 | 421 | 696 |
| Charged to other accounts | 0 | 0 | 0 |
| Deductions | 519 | 457 | 564 |
| Ending balance | 438 | 436 | 472 |
| Allowance for Revenue Adjustments | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Beginning balance | 339 | 328 | 352 |
| Charged to expenses | 0 | 0 | 0 |
| Charged to other accounts | 1,495 | 1,534 | 1,662 |
| Deductions | 1,499 | 1,523 | 1,686 |
| Ending balance | 335 | 339 | 328 |
| Inventory Valuation Allowance: | |||
| SEC Schedule, 12-09, Movement in Valuation Allowances and Reserves [Roll Forward] | |||
| Beginning balance | 288 | 276 | 360 |
| Charged to expenses | 41 | 40 | 33 |
| Charged to other accounts | 0 | 0 | 0 |
| Deductions | 21 | 28 | 117 |
| Ending balance | $ 308 | $ 288 | $ 276 |