Annual report pursuant to Section 13 and 15(d)

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

v3.23.2
SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Segment Reporting Information [Line Items]      
Revenues $ 10,496,056 $ 9,211,883 $ 6,918,734
Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 100.00% 100.00% 100.00%
China      
Segment Reporting Information [Line Items]      
Revenues $ 2,867,443 $ 2,660,438 $ 1,831,446
China | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 27.00% 29.00% 26.00%
Taiwan      
Segment Reporting Information [Line Items]      
Revenues $ 2,493,379 $ 2,528,482 $ 1,690,558
Taiwan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 24.00% 27.00% 25.00%
Korea      
Segment Reporting Information [Line Items]      
Revenues $ 1,895,710 $ 1,430,495 $ 1,343,473
Korea | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 18.00% 16.00% 19.00%
North America      
Segment Reporting Information [Line Items]      
Revenues $ 1,254,956 $ 928,043 $ 765,974
North America | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 12.00% 10.00% 11.00%
Japan      
Segment Reporting Information [Line Items]      
Revenues $ 888,016 $ 724,773 $ 639,381
Japan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 9.00% 8.00% 9.00%
Europe and Israel      
Segment Reporting Information [Line Items]      
Revenues $ 682,103 $ 636,664 $ 396,422
Europe and Israel | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 6.00% 7.00% 6.00%
Rest of Asia      
Segment Reporting Information [Line Items]      
Revenues $ 414,449 $ 302,988 $ 251,480
Rest of Asia | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 4.00% 3.00% 4.00%