Annual report pursuant to Section 13 and 15(d)

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

v3.24.2.u1
SEGMENT REPORTING AND GEOGRAPHIC INFORMATION - Schedule of Revenue from External Customers (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Jun. 30, 2022
Segment Reporting Information [Line Items]      
Revenues $ 9,812,247 $ 10,496,056 $ 9,211,883
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 $ 4,196,727 $ 2,867,443 $ 2,660,438
China | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 43.00% 27.00% 29.00%
Taiwan      
Segment Reporting Information [Line Items]      
Revenues $ 1,738,065 $ 2,493,379 $ 2,528,482
Taiwan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 18.00% 24.00% 27.00%
North America      
Segment Reporting Information [Line Items]      
Revenues $ 1,070,791 $ 1,254,956 $ 928,043
North America | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 11.00% 12.00% 10.00%
Japan      
Segment Reporting Information [Line Items]      
Revenues $ 963,203 $ 888,016 $ 724,773
Japan | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 10.00% 9.00% 8.00%
Korea      
Segment Reporting Information [Line Items]      
Revenues $ 906,924 $ 1,895,710 $ 1,430,495
Korea | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 9.00% 18.00% 16.00%
Europe and Israel      
Segment Reporting Information [Line Items]      
Revenues $ 540,263 $ 682,103 $ 636,664
Europe and Israel | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 6.00% 6.00% 7.00%
Rest of Asia      
Segment Reporting Information [Line Items]      
Revenues $ 396,274 $ 414,449 $ 302,988
Rest of Asia | Geographic Concentration Risk | Revenue from Contract with Customer Benchmark      
Segment Reporting Information [Line Items]      
Concentration risk, percentage 3.00% 4.00% 3.00%