Annual report pursuant to Section 13 and 15(d)

Income Taxes - Summary of Income Tax Contingencies (Details)

v3.7.0.1
Income Taxes - Summary of Income Tax Contingencies (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2015
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns      
Unrecognized tax benefits at the beginning of the year $ 50,365 $ 69,018 $ 59,575
Increases for tax positions taken in prior years 6,788 4,245 1,245
Decreases for tax positions taken in prior years (246) (1,209) (7)
Increases for tax positions taken in current year 14,696 13,636 11,634
Decreases for settlements with taxing authorities 0 (8,762) 0
Decreases for lapsing of statutes of limitations (3,164) (26,563) (3,429)
Unrecognized tax benefits at the end of the year $ 68,439 $ 50,365 $ 69,018