XML 61 R47.htm IDEA: XBRL DOCUMENT v3.8.0.1
Impacts of Adoption of Standards Related to Revenue Recognition and Leases to Previously Reported Results - (Detail) - USD ($)
$ / shares in Units, $ in Millions
3 Months Ended 9 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Mar. 31, 2018
Mar. 31, 2017
Jun. 30, 2017
Jul. 01, 2016
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]            
Revenue $ 26,819 $ 23,212 $ 80,275 $ 70,966    
Provision for income taxes 1,217 1,608 18,096 4,523    
Net income $ 7,424 $ 5,486 $ 7,698 $ 17,420    
Diluted earnings per share $ 0.95 $ 0.70 $ 0.99 $ 2.22    
Balance Sheets            
Accounts receivable, net of allowance for doubtful accounts $ 17,208   $ 17,208   $ 22,431  
Operating lease right-of-use assets 6,859   6,859   6,555  
Other current and long-term assets         11,179  
Unearned revenue 23,955   23,955   26,656 $ 22,200
Deferred income taxes 2,417   2,417   5,734  
Operating lease liabilities 5,751   5,751   5,372  
Other current and long-term liabilities         24,621  
Stockholders' equity $ 79,239 $ 83,491 $ 79,239 $ 83,491 87,711  
As Previously Reported            
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]            
Revenue   22,090   66,633    
Provision for income taxes   1,115   2,913    
Net income   $ 4,801   $ 14,691    
Diluted earnings per share   $ 0.61   $ 1.87    
Balance Sheets            
Accounts receivable, net of allowance for doubtful accounts         19,792  
Operating lease right-of-use assets         0  
Other current and long-term assets         11,147  
Unearned revenue         44,479  
Deferred income taxes         531  
Operating lease liabilities         0  
Other current and long-term liabilities         23,464  
Stockholders' equity         72,394  
New Revenue Standard Adjustment | Restatement Adjustment            
New Accounting Pronouncements Or Change In Accounting Principle [Line Items]            
Revenue   $ 1,122   $ 4,333    
Provision for income taxes   493   1,610    
Net income   $ 685   $ 2,729    
Diluted earnings per share   $ 0.09   $ 0.35    
Balance Sheets            
Accounts receivable, net of allowance for doubtful accounts         2,639  
Operating lease right-of-use assets         0  
Other current and long-term assets         32  
Unearned revenue         (17,823)  
Deferred income taxes         5,203  
Operating lease liabilities         0  
Other current and long-term liabilities         (26)  
Stockholders' equity         15,317  
New Lease Standard Adjustment | Restatement Adjustment            
Balance Sheets            
Accounts receivable, net of allowance for doubtful accounts         0  
Operating lease right-of-use assets         6,555  
Other current and long-term assets         0  
Unearned revenue         0  
Deferred income taxes         0  
Operating lease liabilities         5,372  
Other current and long-term liabilities         1,183  
Stockholders' equity         $ 0