Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.4
DERIVATIVE INSTRUMENTS AND HEDGING ACTIVITIES - Locations and Amounts of Designated and Non-Designated Derivative's Gains and Losses (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2021
Dec. 31, 2020
Derivative Instruments        
Revenues $ 2,352,630 $ 1,650,870 $ 4,436,468 $ 3,189,490
Costs of revenues and operating expenses 1,386,672 1,080,706 2,651,710 2,092,937
Interest expense 37,852 38,880 76,164 78,266
Other expense (income), net 1,201 3,882 15,341 7,079
Amount of gains (losses) reclassified from AOCI to earnings 912 (1,115) 2,130 (1,061)
Rate lock contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 0 0 0 0
Rate lock contracts | Costs of Revenues and Operating Expenses        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 0 0 0 0
Rate lock contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings (279) (279) (558) (558)
Rate lock contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 0 0 0 0
Foreign exchange contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 1,643 (560) 3,486 (650)
Amount excluded from the assessment of effectiveness recognized in earnings (104) (151) (218) (278)
Amount of gains (losses) recognized in earnings 0 0 0 0
Foreign exchange contracts | Costs of Revenues and Operating Expenses        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings (348) (125) (580) 425
Amount excluded from the assessment of effectiveness recognized in earnings 0 0 0 0
Amount of gains (losses) recognized in earnings 0 0 0 0
Foreign exchange contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 0 0 0 0
Amount excluded from the assessment of effectiveness recognized in earnings 0 0 0 0
Amount of gains (losses) recognized in earnings 0 0 0 0
Foreign exchange contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from AOCI to earnings 0 0 0 0
Amount excluded from the assessment of effectiveness recognized in earnings 658 0 1,315 0
Amount of gains (losses) recognized in earnings $ 5,994 $ 2,661 $ 7,063 $ (2,937)