> 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-clear-schema/get-e-invoice-by-irn.md).

# Get E-Invoice by IRN

You can get details of an invoice by sending a GET request to E-Invoicing API with the following request headers.

### Request Method

#### GET

### Request URL

```
{{HOST}}/einv/v2/eInvoice/get?irn={{IRN_number}}
```

### 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 Path Params

There are no path parameters for this API.

### 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>

### Request Body

There is no request body for this API.

### Sample Request and Response&#x20;

#### Request Body

There is no request body for this API.

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

**HTTP Status Code: 200 OK**

```json
[
  {
    "custom_fields": null,
    "deleted": false,
    "document_status": "IRN_GENERATED",
    "error_response": null,
    "errors": null,
    "govt_response": {
      "Success": "Y",
      "AckNo": 112310153714784,
      "AckDt": "2027-01-02 13:38:00",
      "Irn": "94b6c41efd740424c469908d0927db66d8f24d9dad78b02dab04ad1659813dc9",
      "SignedInvoice": "eyJhbGciOiJSUzI1NiIsImt......",
      "SignedQRCode": "eyJhbGciOiJSUzI1NiIsImt......",
      "Status": "ACT"
    },
    "group_id": null,
    "gstin": "29AWGPV7107B1Z1",
    "is_deleted": false,
    "owner_id": null,
    "tag_identifier": null,
    "transaction": {
      "Version": "1.1",
      "Irn": "94b6c41efd740424c469908d0927db66d8f24d9dad78b02dab04ad1659813dc9",
      "TranDtls": { "TaxSch": "GST", "SupTyp": "RCMDOM", "RegRev": "Y" },
      "DocDtls": { "Typ": "INV", "No": "SI/2026/001", "Dt": "02/01/2027" },
      "SellerDtls": { "Gstin": "URP", "LglNm": "ABC Traders", ... },
      "BuyerDtls": { "Gstin": "29AWGPV7107B1Z1", ... },
      "ItemList": [ ... ],
      "ValDtls": { ... }
    },
    "transaction_id": "29AWGPV7107B1Z1_SI/2026/001_INV_2026",
    "transaction_metadata": null
  }
]

```
