Companies established outside the EU are required to appoint an EU representative according to Art 27 GDPR in the EU if they:
offer goods and services to individuals in the EU (e.g. providing a website in an EU language, offering payments in EUR) or
monitor their behaviour (e.g. cookie profiling).