# How to generate OTP on ERAD Portal?

**Step 1**: Go to the Taxation Portal (ERAD) at [https://login.gazt.gov.sa/irj/portal?ume.logon.locale=en\&login=X ](https://login.gazt.gov.sa/irj/portal?ume.logon.locale=en\&login=X)and login by using your ERAD credentials.

![](https://lh3.googleusercontent.com/g_HQZn7eDYkzXBPJqf-0Col90rytBPFaL9l9vIGcFAwSpVc9AKyWN0e-SOEgYM0r4qdKgLhNGalxlgxXfvRttIsl0lUlMltGCBOrsfVgqHTuIEA0_ffp2b_It2APu2cwfmYKyeEdHwd_jWxVRWyBdQ)

**Step 2**: The main landing page will have the following sections:

1. Onboard new solution unit/device.
2. Renew existing Cryptographic Stamp Identifier (CSID).
3. View list of solutions and devices.
4. Onboarding API documentation.  &#x20;

![](https://lh5.googleusercontent.com/qz4mib3XwRbAMqn2eJTqtvAs4qeY1cQCFv4c5VBbL98SG9y0WQwQ4vjaAugQNWCURasffNUZ45h18vYFdjRDf2KwFVTFH3eK-lbhYwqbq6B-kwKDYwb7S69K-0WTPlo61ljlYo9RoJQYaSfV12d0wQ)

**Step 3**: Click on the “Onboard new solution unit/device” tile.

![](https://lh3.googleusercontent.com/7kqAxaY7q3m_smBQkgJ9GyUclRzXZytci6s0y9wSREkRoMW1r28o5pmECZV3GegbvmHx9jHDhO1OOchYTUhajhWXfM5Vcu9DoinRBPiPqOHmIFpZXmVj4Pw0IVAe62RmCXKQjr-ruZnAAWDYlL9pqA)

**Step 4**: You can choose to generate OTP(s) for a single device or multiple devices. So based on the number of devices that you would like to register, enter "1" or more (up to 100 per request). And then click on “Generate OTP Code”.

{% hint style="info" %}
Note: In case you want to generate more than 100 OTPs, you can do so by requesting in batches of 100.
{% endhint %}

![](https://lh6.googleusercontent.com/oaf-iyZiPVS8WwmLu2d_M5S6dj2bRwyI4rhRxulq83hLcA_L_Q1S2RFU3fS7DBAMONpnBIsrVj85_4phYCx-EERj5f4dmCmZhzk2XF75IdzAYGJVlQOvwNBbUo9G1fOKAMPy57Cha0wg3tCpi7fDxQ)

**Step 5**: The E-invoicing Onboarding and Management Portal will generate the OTP(s) and display them on the portal. Copy or download them in a file so that you can use it to register the device on ClearTax later.

{% hint style="info" %}
Note: Once an OTP is generated, it will be valid for 1 hour only. You need to register the device within 1 hour of generation of the OTP.
{% endhint %}

![](https://lh4.googleusercontent.com/a22cvGzw4LozKwP4uovTG2Yd-oEbrG7zjnhh34szQNK7schOvVLly3FdZWa7H4miZptF3NcDdKIqSxpH0v74SXosnX_A0GVANYvrTg0vjF-6C86oBW_-VDH_s5mnwo8fzz_JEJD5DrV3m8dT2I-5BA)

**Step 6**: To register the device, paste the copied OTP in [Cleartax portal](https://app-dev.cleartax.com/) or use it in [Register Device API](/cleartax-docs/e-invoicing-ksa-api/e-invoicing-ksa-api-reference/generating-e-invoice/register-device.md).


---

# Agent Instructions: 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:

```
GET https://docs.cleartax.in/cleartax-docs/e-invoicing-ksa-api/learn-e-invoicing-ksa-api-basics/how-to-generate-otp-on-erad-portal.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
