v3.26.1
Basis of Presentation and Summary of Significant Accounting Policies (Narrative, Receivables) (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Accounts, Notes, Loans and Financing Receivable [Line Items]        
Allowance for doubtful accounts $ 538 $ 662 $ 677 $ 720
Finance notes and related accrued interest, net, total 28 32    
Finance notes and related accrued interest, net, current 3 7    
Receivable for Recovery of Import Duties, Net 200      
Payments for International Emergency Economic Powers Act Tariffs $ 200      
Minimum        
Accounts, Notes, Loans and Financing Receivable [Line Items]        
Receivable financing agreement term 1 year      
Maximum        
Accounts, Notes, Loans and Financing Receivable [Line Items]        
Receivable financing agreement term 5 years      
SEC Schedule, 12-09, Allowance, Credit Loss [Member]        
Accounts, Notes, Loans and Financing Receivable [Line Items]        
Allowance for doubtful accounts $ 201 213 233 240
SEC Schedule, 12-09, Allowance, Loss on Finance Receivable [Member]        
Accounts, Notes, Loans and Financing Receivable [Line Items]        
Allowance for doubtful accounts $ 7 $ 2 $ 3 $ 6