# How to register a device for a VAT?

### Step 1: Generate OTP from ERAD portal

To register a device for a VAT, first requirement is to generate the OTP from the ERAD portal. Before generating the OTP select the environment for which you want to register the device (Simulation /Production ).

<https://docs.cleartax.in/cleartax-docs/e-invoicing-ksa-api/learn-e-invoicing-ksa-api-basics/how-to-generate-otp-on-erad-portal>

Save the OTP for further processing.

### Step 2: Log in to your ClearTax E-Invoicing account to register your device.&#x20;

Sandbox Account Link - <https://app-sandbox.cleartax.com/middle-east/ksa/einvoicing> &#x20;

Production Account Link - <https://app.cleartax.com/middle-east/ksa/einvoicing/>&#x20;

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FxJVnPSBzNScarbZ0nY7I%2FA.png?alt=media&#x26;token=9f1205a3-06c9-4a1c-951d-fe94ba91dec4" alt=""><figcaption></figcaption></figure>

### Step 3: On the bottom left corner click on “Settings”.<br>

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FuSFAMMokhQifhNu7b4UU%2FB.jpg?alt=media&#x26;token=b1141d22-94ae-40db-951f-338e9a11c081" alt=""><figcaption></figcaption></figure>

### Step 4: On the side bar menu click on “Switch to phase II” and enable phase 2 if it is not enabled.

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FdnQTbWYWvTCu6nLph6u0%2FC.jpg?alt=media&#x26;token=0f587263-320a-4b0a-bf35-2340649fabae" alt=""><figcaption></figcaption></figure>

### Step 5: On the side bar click on Devices, then select “ONLINE DEVICES” and then click on “Add new devices”.

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2Fpe3qnJT2GFKH1CKFnLhK%2FD.jpg?alt=media&#x26;token=fc9d59f8-8e92-4444-8766-22e4219ff0ae" alt=""><figcaption></figcaption></figure>

### Step 6: Add details&#x20;

Add a Common Name/Device Name which should be unique , Industry , EGS serial number and Location. Select Invoice Type as per your requirement (Standard / Simplified / Both)&#x20;

Example for EGS Number - 1-TEST|2-CT|3-101

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FHoTmkj7fwhBpuQaX44np%2FE.jpg?alt=media&#x26;token=ae5b5f81-a866-4b04-b112-5a673abbdc3e" alt=""><figcaption></figcaption></figure>

After filling all the details click on “Save and Continue”.

### Step 7: Enter the OTP saved from ERAD Portal in step 1.

OTP needs to be filled within one hour of generation. After one hour OTP will expire.

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2FBs8TL8m5DAcdiHsDtwGQ%2FF.png?alt=media&#x26;token=1ed7933d-9811-4d45-9f6c-25c0232edb1a" alt=""><figcaption></figcaption></figure>

### Step 8: Click on “Save and Continue”.

In front of the registered devices we can see the status of devices whether it is active or it has failed.

<figure><img src="https://2888774781-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LZ9fXxeBEm3pJiVldcu%2Fuploads%2Fc3bOZ33aGHewbjIIszPK%2FG.jpg?alt=media&#x26;token=7af973e3-c449-4361-af14-a916ce0f0bb2" alt=""><figcaption></figcaption></figure>
