Annual report [Section 13 and 15(d), not S-K Item 405]

DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Locations and Amounts of Designated and Non-designated Derivative's Gains and Losses (Details)

v3.26.1
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Locations and Amounts of Designated and Non-designated Derivative's Gains and Losses (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Derivative Instruments      
Revenues $ 13,579,476 $ 12,156,162 $ 9,812,247
Costs of Revenues and Operating Expense 7,918,696 7,381,035 6,466,037
Interest Expense 284,440 302,166 311,253
Other Expense (Income), Net (229,585) (171,487) (155,075)
Amount of gains reclassified from AOCI to earnings 52,824 15,429 25,904
Derivatives designated as hedging instruments | Rate lock agreements | Income Statement Location: us-gaap:CostOfRevenue      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 0 0 0
Derivatives designated as hedging instruments | Rate lock agreements | Income Statement Location: us-gaap:InterestExpenseNonoperating      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 3,034 3,285 3,764
Derivatives designated as hedging instruments | Rate lock agreements | Income Statement Location: us-gaap:OtherNonoperatingIncomeExpense      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 0 0 0
Derivatives designated as hedging instruments | Rate lock agreements | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 0 0 0
Derivatives designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:CostOfRevenue      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 42,964 4,678 3,766
Amount excluded from the assessment of effectiveness recognized in earnings 0 0 0
Derivatives designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:InterestExpenseNonoperating      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 0 0 0
Amount excluded from the assessment of effectiveness recognized in earnings 0 0 0
Derivatives designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:OtherNonoperatingIncomeExpense      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 0 0 0
Amount excluded from the assessment of effectiveness recognized in earnings 18,944 2,984 2,328
Derivatives designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Derivative Instruments      
Amount of gains reclassified from AOCI to earnings 7,577 8,950 19,246
Amount excluded from the assessment of effectiveness recognized in earnings (751) (1,484) (872)
Derivatives designated as hedging instruments | Interest rate contracts | Income Statement Location: us-gaap:CostOfRevenue      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, designated 0    
Derivatives designated as hedging instruments | Interest rate contracts | Income Statement Location: us-gaap:InterestExpenseNonoperating      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, designated 559    
Derivatives designated as hedging instruments | Interest rate contracts | Income Statement Location: us-gaap:OtherNonoperatingIncomeExpense      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, designated 0    
Derivatives designated as hedging instruments | Interest rate contracts | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, designated 0    
Derivatives not designated as hedging instruments | Income Statement Location: us-gaap:CostOfRevenue      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated 0    
Derivatives not designated as hedging instruments | Income Statement Location: us-gaap:InterestExpenseNonoperating      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated 0    
Derivatives not designated as hedging instruments | Income Statement Location: us-gaap:OtherNonoperatingIncomeExpense      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated 24,135    
Derivatives not designated as hedging instruments | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated $ 0    
Derivatives not designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:CostOfRevenue      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated   0 0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:InterestExpenseNonoperating      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated   0 0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:OtherNonoperatingIncomeExpense      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated   37,588 10,597
Derivatives not designated as hedging instruments | Foreign exchange contracts | Income Statement Location: us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax      
Derivative Instruments      
Amount of gains (losses) recognized in earnings, non-designated   $ 0 $ 0