v3.22.4
Long-Term Obligations and Other Short-Term Borrowings (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2022
Dec. 31, 2021
Jun. 30, 2022
Debt Instrument [Line Items]          
Total Long-Term and Short-Term Obligations $ 5,300   $ 5,300   $ 5,300
Gain (Loss) on Extinguishment of Debt 0 $ 0 0 $ 10  
Accounts Payable 30,100   30,100   $ 27,100
Commercial Paper [Member]          
Debt Instrument [Line Items]          
Line of Credit Facility, Maximum Borrowing Capacity 2,000   2,000    
Revolving Credit Facility [Member]          
Debt Instrument [Line Items]          
Line of Credit Facility, Maximum Borrowing Capacity 2,000   2,000    
Short Term Credit Facilities Member          
Debt Instrument [Line Items]          
Other Short-term Borrowings 0   0    
2.616% Notes due 2022 [Member]          
Debt Instrument [Line Items]          
Gain (Loss) on Extinguishment of Debt       10  
Repayments of Notes Payable       $ 572  
Committed Receivables Sales Facility Program [Member] | Short Term Credit Facilities Member          
Debt Instrument [Line Items]          
Line of Credit Facility, Maximum Borrowing Capacity $ 1,000   $ 1,000