XML 38 R30.htm IDEA: XBRL DOCUMENT v3.23.3
BASIS OF PRESENTATION, RECENT ACCOUNTING PRONOUNCEMENTS AND OTHER Narrative (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Nov. 30, 2023
Nov. 30, 2022
Nov. 30, 2023
Nov. 30, 2022
Contract with Customer, Asset and Liability [Abstract]        
Revenues recognized included in opening deferred revenues balances     $ 6,800 $ 6,200
Revenue, Performance Obligation [Abstract]        
Remaining performance obligation, amount $ 65,500   65,500  
Sales of Financing Receivables [Abstract]        
Sales of financing receivables $ 255 $ 265 $ 816 $ 1,200
Accounting Standards Update 2020-04 [Member]        
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]        
Accounting Standards Update, Adopted true   true  
Immaterial effect true   true