INCOME TAXES - Components of (Provision for) Benefit from Income Taxes (Details) - USD ($) $ in Millions |
12 Months Ended | ||
|---|---|---|---|
May 31, 2022 |
May 31, 2021 |
May 31, 2020 |
|
| Provision for Income Taxes [Abstract] | |||
| Federal | $ (709) | $ (516) | $ (1,616) |
| State | (186) | (233) | (19) |
| Foreign | (1,183) | (929) | (1,144) |
| Total current provision | (2,078) | (1,678) | (2,779) |
| Federal | 1,661 | (8,631) | 983 |
| State | 139 | 77 | (50) |
| Foreign | (654) | 10,979 | (82) |
| Total deferred benefit | 1,146 | 2,425 | 851 |
| Total (provision for) benefit from income taxes | $ (932) | $ 747 | $ (1,928) |
| Effective income tax expense (benefit) rate | 12.20% | (5.70%) | 16.00% |
| X | ||||||||||
- Definition Provision for Income Taxes [Abstract] No definition available.
|
| X | ||||||||||
- Definition Amount of current federal tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) pertaining to taxable income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of current state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred federal income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of deferred foreign income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred income tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Amount of deferred state and local tax expense (benefit) pertaining to income (loss) from continuing operations. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Percentage of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|