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.1
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 9 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Mar. 31, 2021
Mar. 31, 2020
Derivative Instruments        
Revenues $ 1,803,773 $ 1,423,964 $ 4,993,263 $ 4,346,831
Costs of revenues and operating expenses 1,131,626 1,248,000 3,224,563 3,297,788
Interest expense 39,092 39,231 117,358 120,053
Other expense (income), net (7,348) (1,004) (269) (5,190)
Amount of gains (losses) reclassified from accumulated OCI to earnings (675) 2,904 (1,736) 1,252
Rate lock contracts | Revenue        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0 0 0 0
Rate lock contracts | Cost of Revenues and Operating Expenses        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0 0 0 0
Rate lock contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings (279) (159) (837) (358)
Rate lock contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0 0 0 0
Foreign exchange contracts | Revenue        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings (441) 2,970 (1,091) 3,530
Amount excluded from the assessment of effectiveness recognized in earnings (142) 81 (420) (114)
Amount of gains (losses) recognized in earnings 0 0 0 0
Foreign exchange contracts | Cost of Revenues and Operating Expenses        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 187 12 612 (1,806)
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 accumulated OCI 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 accumulated OCI to earnings 0 0 0 0
Amount excluded from the assessment of effectiveness recognized in earnings 699 0 699 0
Amount of gains (losses) recognized in earnings $ 3,420 $ (4,373) $ 483 $ 8