XML 38 R30.htm IDEA: XBRL DOCUMENT v3.23.2
BASIS OF PRESENTATION AND OTHER Narrative (Details) - USD ($)
$ in Millions
3 Months Ended 12 Months Ended
Aug. 31, 2023
Aug. 31, 2022
May 31, 2023
May 31, 2022
Contract with Customer, Asset and Liability [Abstract]        
Revenues recognized included in opening deferred revenues balances     $ 3,900 $ 3,500
Revenue, Performance Obligation [Abstract]        
Remaining performance obligation, amount $ 64,900      
Sales of Financing Receivables [Abstract]        
Sales of financing receivables $ 561 $ 927    
Accounting Standards Update 2020-04 [Member]        
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]        
Accounting Standards Update, Adopted true      
Immaterial effect true