XML 103 R88.htm IDEA: XBRL DOCUMENT v3.7.0.1
Debt - Additional Information (Detail) - USD ($)
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Debt Instrument [Line Items]      
Commercial paper $ 9,100,000,000 $ 12,900,000,000  
Credit facility, financial covenant As of June 30, 2017, we were in compliance with the only financial covenant in both credit agreements, which requires us to maintain a coverage ratio of at least three times earnings before interest, taxes, depreciation, and amortization to interest expense, as defined in the credit agreements.    
Credit facility, drawn $ 0 0  
Long-term debt 77,100,000,000 40,600,000,000  
Long-term debt fair value 80,300,000,000 44,000,000,000  
Cash paid for interest 1,600,000,000 1,100,000,000 $ 620,000,000
Unamortized discount and debt issuance costs 715,000,000 $ 392,000,000  
Credit Facility Expire on October 31st 2017      
Debt Instrument [Line Items]      
Credit facility $ 5,000,000,000    
Credit facility, expiration date Oct. 31, 2017    
Credit Facility Expire on November 14th 2018      
Debt Instrument [Line Items]      
Credit facility $ 5,000,000,000    
Credit facility, expiration date Nov. 14, 2018    
Commercial paper      
Debt Instrument [Line Items]      
Commercial paper, weighted average interest rate 1.01% 0.43%  
Commercial paper | Lower Limit      
Debt Instrument [Line Items]      
Commercial paper, maturity term 25 days 1 day  
Commercial paper | Upper Limit      
Debt Instrument [Line Items]      
Commercial paper, maturity term 264 days 99 days