XML 158 R105.htm IDEA: XBRL DOCUMENT v3.21.2
REVENUE RECOGNITION - Narrative (Details) - USD ($)
$ in Millions
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
REVENUE RECOGNITION        
Allowance for doubtful accounts and customer deductions $ 40 $ 63    
Change in opening balance 6,091 3,962 $ 4,411  
Allowance for non-credit losses 20      
Retained earnings        
REVENUE RECOGNITION        
Change in opening balance $ 12,244 10,134 9,984 $ 9,040
Cumulative effect of adoption of new accounting standards | Retained earnings        
REVENUE RECOGNITION        
Change in opening balance   (3) $ (29) $ (229)
Cumulative effect of adoption of new accounting standards | Accounting Standards Update 2016-13        
REVENUE RECOGNITION        
Change in opening balance   (4)    
Cumulative effect of adoption of new accounting standards | Accounting Standards Update 2016-13 | Retained earnings        
REVENUE RECOGNITION        
Change in opening balance   $ (3)