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.20.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, 2020
Mar. 31, 2019
Mar. 31, 2020
Mar. 31, 2019
Derivative Instruments        
Revenues $ 1,423,964 $ 1,097,311 $ 4,346,831 $ 3,310,469
Costs of revenues and operating expenses 1,248,000   3,297,788  
Costs of revenues 590,158 486,945 1,828,017 1,276,592
Interest expense 39,231 31,187 120,053 84,087
Other expense (income), net (1,004) (9,282) (5,190) (28,535)
Amount of gains (losses) reclassified from accumulated OCI to earnings 2,904 946 1,252 3,719
Rate lock contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0   0  
Amount of gains (losses) reclassified from accumulated OCI to earnings as a result that a forecasted transaction is no longer probable of occurring 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  
Amount of gains (losses) reclassified from accumulated OCI to earnings as a result that a forecasted transaction is no longer probable of occurring 0   0  
Rate lock contracts | Cost of Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings as a result that a forecasted transaction is no longer probable of occurring   0   0
Rate lock contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings (159)   (358)  
Amount of gains (losses) reclassified from accumulated OCI to earnings as a result that a forecasted transaction is no longer probable of occurring 0 0 0 0
Rate lock contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0   0  
Amount of gains (losses) reclassified from accumulated OCI to earnings as a result that a forecasted transaction is no longer probable of occurring 0 0 0 0
Foreign exchange contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 2,970 655 3,530 3,343
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 81 0 (114) 80
Amount excluded from the assessment of effectiveness 0 0 0 0
Amount of gains (losses) recognized in earnings 0   0  
Foreign exchange contracts | Cost of Revenues and Operating Expenses        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 12   (1,806)  
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 0   0  
Amount excluded from the assessment of effectiveness 0   0  
Amount of gains (losses) recognized in earnings 0   0  
Foreign exchange contracts | Cost of Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings   (17)   (309)
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach   0   (8)
Amount excluded from the assessment of effectiveness   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 based on an amortization approach 0 0 0 0
Amount excluded from the assessment of effectiveness 0 0 0 0
Amount of gains (losses) recognized in earnings 0   0  
Foreign exchange contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings 0 158 0 158
Amount excluded from the assessment of effectiveness recognized in earnings based on an amortization approach 0 0 0 0
Amount excluded from the assessment of effectiveness 0 (121) 0 (208)
Amount of gains (losses) recognized in earnings $ (4,373)   $ 8  
Derivatives designated as hedging instruments | Rate lock contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings   0   0
Derivatives designated as hedging instruments | Rate lock contracts | Cost of Revenues        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings   0   0
Derivatives designated as hedging instruments | Rate lock contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings   150   527
Derivatives designated as hedging instruments | Rate lock contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) reclassified from accumulated OCI to earnings   0   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Revenues        
Derivative Instruments        
Amount of gains (losses) recognized in earnings   0   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Cost of Revenues        
Derivative Instruments        
Amount of gains (losses) recognized in earnings   0   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Interest Expense        
Derivative Instruments        
Amount of gains (losses) recognized in earnings   0   0
Derivatives not designated as hedging instruments | Foreign exchange contracts | Other Expense (Income), Net        
Derivative Instruments        
Amount of gains (losses) recognized in earnings   $ 513   $ 576