Quarterly report pursuant to Section 13 or 15(d)

Commitments and Contingencies (Details)

v3.10.0.1
Commitments and Contingencies (Details)
$ in Thousands
3 Months Ended 6 Months Ended
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2018
USD ($)
Installment
Dec. 31, 2017
USD ($)
Receivables Sold Under Factoring Agreements        
Receivables sold under factoring agreements $ 39,814 $ 47,232 $ 101,354 $ 79,133
Proceeds from sales of LCs 8,339 0 19,231 5,571
Operating leases, rent expense 2,400 $ 2,500 4,700 $ 5,000
Operating Leases, Future Minimum Payments Due        
2019 (remaining 6 months) 7,145   7,145  
2020 8,361   8,361  
2021 6,016   6,016  
2022 3,166   3,166  
2023 2,317   2,317  
2024 and thereafter 3,078   3,078  
Total minimum lease payments 30,083   30,083  
Commitments and Contingencies        
Purchase commitments 489,800   $ 489,800  
Majority outstanding purchase commitment, period due (in months)     12 months  
Cash-based long-term incentive plan, committed amount $ 129,800   $ 129,800  
Guarantee arrangements to fund customs guarantees for VAT and other operating requirements     22,500  
Outstanding guarantee arrangements to fund customs guarantees for VAT and other operating requirements     $ 18,200  
Minimum | Cash long-term incentive plan        
Commitments and Contingencies        
Cash long-term incentive plan, equal vesting installments | Installment     3  
Cash long-term incentive plan, percentage of equal vesting installments     33.33%  
Cash long-term incentive plan, vesting period     3 years  
Maximum | Cash long-term incentive plan        
Commitments and Contingencies        
Cash long-term incentive plan, equal vesting installments | Installment     4  
Cash long-term incentive plan, percentage of equal vesting installments     25.00%  
Cash long-term incentive plan, vesting period     4 years