v3.26.1
Financial Instruments - Schedule of Gains (losses) on Derivative Financial Instruments Recorded in Consolidated Statement of Income (Details) - USD ($)
$ in Millions
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Forward exchange contracts      
Derivative [Line Items]      
Gains (loss) on derivative financial instruments $ 74 $ (63) $ 11