> For the complete documentation index, see [llms.txt](https://docs.cleartax.in/cleartax-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cleartax.in/cleartax-docs/e-invoicing-api/e-invoicing-api-reference/rcm-self-invoicing-purchase-documents-government-schema/get-e-invoice-by-irn.md).

# Get E-Invoice by IRN

### Request Method

#### GET

### Request URL

```
{{HOST}}/einv/v1/govt/api/Invoice/irn/{irn}
```

<table><thead><tr><th width="150">KEY</th><th width="185.69472182596292">PARAM TYPE</th><th width="150">TYPE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>irn</td><td>Query</td><td>String</td><td>Mandatory. IRN number. Multiple allowed</td></tr></tbody></table>

### Request Headers

<table><thead><tr><th width="238">PARAMETER</th><th width="192">PARAM TYPE</th><th width="150">TYPE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>X-Cleartax-Auth-Token</td><td>Header</td><td>String</td><td>Mandatory. The auth token generated from ClearTax user id and password. <a href="https://docs.cleartax.in/cleartax-for-developers/e-invoicing-api/e-invoicing-api-reference/authentication-token">Know how.</a></td></tr><tr><td>gstin</td><td>Header</td><td>String</td><td>Mandatory. GSTIN number for the user</td></tr><tr><td>invoiceType</td><td>Header</td><td>String</td><td>PURCHASE </td></tr></tbody></table>

### Request Query Params

<table><thead><tr><th width="150">KEY</th><th width="185.69472182596292">PARAM TYPE</th><th width="150">TYPE</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td>irn</td><td>Query</td><td>String</td><td>Mandatory. IRN number. Multiple allowed</td></tr></tbody></table>

### Sample Request & Response&#x20;

#### Request Body

There is no request body for this API.

#### Response - **Success:**&#x20;

**HTTP Status Code: 200 OK**

```json
{
  "Success": "Y",
  "AckNo": 162010000001700,
  "AckDt": "2027-01-02 11:23:00",
  "Irn": "58f1669d31c5725ddcc39eeecd465e69543c639daeb1d582546aa3d28d66c3f8",
  "SignedInvoice": "eyJhbGciOiJSUzI1NiIsImt......",
  "SignedQRCode": "eyJhbGciOiJSUzI1NiIsImt......",
  "Status": "ACT"
}

```
