v3.26.1
Debt - Narrative (Details) - USD ($)
2 Months Ended 12 Months Ended
Aug. 21, 2026
Jun. 30, 2026
Jun. 30, 2025
Debt Instrument [Line Items]      
Long-term debt   $ 7,472,000,000 $ 7,501,000,000
Commercial paper notes outstanding   $ 1,000,000,000.0 $ 1,800,000,000
Notes Payable      
Debt Instrument [Line Items]      
Weighted-average interest rate of notes payable (as percent)   3.90% 4.60%
Amended And Extended Multi-Currency Credit Agreement | Line of Credit      
Debt Instrument [Line Items]      
Line of credit   $ 3,750,000,000  
Increase in line of credit   $ 750,000,000  
Extension option, term (in years)   1 year  
Secured Debt | Term Loan Agreement | Line of Credit | Subsequent Event      
Debt Instrument [Line Items]      
Proceeds from lines of credit $ 7,750,000,000    
Secured Debt | Three Hundred Sixty Four Day Term Loan Agreement | Line of Credit      
Debt Instrument [Line Items]      
Debt instrument, term   364 days  
Aggregate principal amount   $ 5,250,000,000  
Secured Debt | Three Year Term Loan Agreement | Line of Credit      
Debt Instrument [Line Items]      
Debt instrument, term   3 years  
Aggregate principal amount   $ 2,500,000,000  
Secured Debt | Filtration Group Credit Facilities | Line of Credit      
Debt Instrument [Line Items]      
Long-term debt   $ 0