Annual report pursuant to Section 13 and 15(d)

SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details)

v3.22.2
SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2022
Jun. 30, 2021
Jun. 30, 2020
Segment Reporting Information [Line Items]      
Revenues $ 9,211,883 $ 6,918,734 $ 5,806,424
Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 100.00% 100.00% 100.00%
China      
Segment Reporting Information [Line Items]      
Revenues $ 2,660,438 $ 1,831,446 $ 1,495,977
China | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 29.00% 26.00% 26.00%
Taiwan      
Segment Reporting Information [Line Items]      
Revenues $ 2,528,482 $ 1,690,558 $ 1,598,201
Taiwan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 27.00% 25.00% 27.00%
Korea      
Segment Reporting Information [Line Items]      
Revenues $ 1,430,495 $ 1,343,473 $ 911,848
Korea | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 16.00% 19.00% 16.00%
North America      
Segment Reporting Information [Line Items]      
Revenues $ 928,043 $ 765,974 $ 651,328
North America | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 10.00% 11.00% 11.00%
Japan      
Segment Reporting Information [Line Items]      
Revenues $ 724,773 $ 639,381 $ 660,772
Japan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 8.00% 9.00% 11.00%
Europe and Israel      
Segment Reporting Information [Line Items]      
Revenues $ 636,664 $ 396,422 $ 322,085
Europe and Israel | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 7.00% 6.00% 6.00%
Rest of Asia      
Segment Reporting Information [Line Items]      
Revenues $ 302,988 $ 251,480 $ 166,213
Rest of Asia | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Segment percent of total revenues 3.00% 4.00% 3.00%