Annual report pursuant to Section 13 and 15(d)

INCOME TAXES - Summary of Income Tax Contingencies (Details)

v3.21.2
INCOME TAXES - Summary of Income Tax Contingencies (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Jun. 30, 2019
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns      
Unrecognized tax benefits at the beginning of the year $ 172,443 $ 146,426 $ 63,994
Increases for tax positions from acquisitions 0 0 60,753
Increases for tax positions taken in prior years 6,557 6,826 13,001
Decreases for tax positions taken in prior years (19,360) (518) (1,304)
Increases for tax positions taken in current year 31,113 34,278 26,178
Decreases for settlements with taxing authorities (28,651) 0 0
Decreases for lapsing of statutes of limitations (12,460) (14,569) (16,196)
Unrecognized tax benefits at the end of the year $ 149,642 $ 172,443 $ 146,426