> For the complete documentation index, see [llms.txt](https://help.marcopayroll.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.marcopayroll.com/marco-user-guide-x4/test-scenario/employer-of-record-eor-hiring.md).

# Employer of Record (EOR) Hiring

### **Test Objectives**

This test aims to demonstrate the following scenarios:

1. **Hiring a Local EOR**
2. **Hiring a Foreign EOR**
3. **Setting an Employee as an Expat**

***

### **Test Setup**

The test will be conducted on the **Test Platform**: [test.marcopayroll.com](https://test.marcopayroll.com/).

* **Customer**: TEST
* **Vendor Admin Account**: [**test1@marcopayroll.com**](mailto:test1@marcopayroll.com) **(T1)**
* **Manager Account**: [**test3@marcopayroll.com**](mailto:test3@marcopayroll.com) **(T3)**
  * **T3 is assigned default access privileges** (no additional permissions granted).
* **T3 logs into the Test Platform** to begin the test.

***

### **Conducting the Test: Hiring EOR**

1. **Navigate to**: **People** > **Add New Worker**.
2. The **Add Worker** pop-up appears.
3. **Select the employee’s country of residence**:
   * By default, **Home Country** is selected.
   * Select **Host Country** only if the employee is an **Expat**.
4. **Choose the employee's status**:
   * Select **Local** if the employee is a **citizen or permanent resident** of the selected country.
   * Select **Foreigner** if the employee does not meet the above criteria.

#### **Test Data for Hiring**

* **Hiring a Local Employee:** Use [**test4@marcopayroll.com**](mailto:test4@marcopayroll.com) **(T4)** as the Staff account.

  <figure><img src="/files/nOydtfqACw2BK1wvKmUy" alt=""><figcaption><p>Local EOR setup</p></figcaption></figure>
* **Hiring a Foreign Employee:** Use [**test5@marcopayroll.com**](mailto:test5@marcopayroll.com) **(T5)** as the Staff account.

  <figure><img src="/files/j47WeDGpejJU3HosHloU" alt=""><figcaption><p>Foreign EOR setup</p></figcaption></figure>

5. Click **Add** to save the test data.

***

### **Conducting the Test: Setting an Employee as an Expat**

#### **Additional Test Setup**

**1. Add a Partner and Business Entity**

* Using a **vendor admin account (<test1@marcopayroll.com> aka T1)**, go to the **Vendor Portal**.
* Add a partner named **EOR Vendor**.
* Create a **business entity** for this partner.

  <figure><img src="/files/MY4dp35WzVwtKCKMPgvz" alt=""><figcaption><p>Partner's Business Entity</p></figcaption></figure>

**2. Assign Payroll Access**

* Using **T1**, grant **Payroll access** to **T3** (minimum required access for this action).

  <figure><img src="/files/uJZazaswwrHV7QFNveK7" alt=""><figcaption><p>Manager's Access Privilege</p></figcaption></figure>

**3. Log in to the Test Platform**

* Sign in as **T3** to proceed with the demo.

#### **Assigning T5 as an Expat**

To update **T5's status**:

1. Go to **People** and select **T5** from the list.
2. On the **T5 account page**, navigate to the **Contract** tab.
3. Click **Manage Record** > **Add New Record**.
4. Enter **Host Country details** (as shown in the screenshot) and click **Save Changes**.

   <figure><img src="/files/Fdfg08jRAIHQScHakqEE" alt=""><figcaption><p>Adding Host Country</p></figcaption></figure>

> **Note**:
>
> * **Left**: Vendor's entity can be assigned to EOR contract in the home country as well.
> * **Right**: When comparing T5 with T3 (an internal account), only the customer's entity (TEST) can be assigned to the internal contract—no vendor involvement.
>
>   <figure><img src="/files/Gt7VxZghPCiHqx5SAz4w" alt=""><figcaption><p>Comparing T3 and T5 side by side</p></figcaption></figure>

***

### **Expected Result**

After completing the test steps, **T4 and T5 should be set up correctly** according to the test scenario.&#x20;

<figure><img src="/files/sDyMlus7jteyZCPPidhI" alt=""><figcaption><p>T4 and T5 after the test</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.marcopayroll.com/marco-user-guide-x4/test-scenario/employer-of-record-eor-hiring.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
