Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Generate IRN

Note:The request body schema is unchanged; for a self-invoice, set SupTyp to RCMDOM / RCMIMP, RegRev to Y and SellerDtls.Gstin to URP. Including EwbDtls still generates the e-way bill in the same call

Request Method

PUT

Request URL

{{HOST}}/einv/v2/eInvoice/generate

Request Headers

Parameter
Data Type
Field Validations
Description

X-Cleartax-Auth-Token

String

NA

Mandatory. The auth token generated from ClearTax user id and password.

Content-Type

String

NA

Mandatory. This will always be "application/json" for JSON

gstin

String

NA

Mandatory. GSTIN number for the user

Sample Request and Response for RCMDOM use case:

Request

 [
  {
    "transaction": {
      "Version": "1.1",
      "TranDtls": {
        "TaxSch": "GST",
        "SupTyp": "RCMDOM",
        "RegRev": "Y",
        "IgstOnIntra": "N"
      },
      "DocDtls": {
        "Typ": "INV",
        "No": "SI/2026/001",
        "Dt": "02/01/2027"
      },
      "SellerDtls": {
        "Gstin": "URP",
        "LglNm": "ABC Traders",
        "Addr1": "12, MG Road",
        "Loc": "BENGALURU",
        "Pin": 560001,
        "Stcd": "29"
      },
      "BuyerDtls": {
        "Gstin": "29AWGPV7107B1Z1",
        "LglNm": "XYZ Company Pvt Ltd",
        "TrdNm": "XYZ Industries",
        "Pos": "29",
        "Addr1": "7th block, kuvempu layout",
        "Loc": "BENGALURU",
        "Pin": 562160,
        "Stcd": "29"
      },
      "ItemList": [
        {
          "SlNo": "1",
          "PrdDesc": "Rice",
          "IsServc": "N",
          "HsnCd": "10019920",
          "Qty": 10,
          "Unit": "BAG",
          "UnitPrice": 1000,
          "TotAmt": 10000,
          "AssAmt": 10000,
          "GstRt": 5,
          "IgstAmt": 0,
          "CgstAmt": 250,
          "SgstAmt": 250,
          "TotItemVal": 10500,
          "OrgCntry": "IN"
        }
      ],
      "ValDtls": {
        "AssVal": 10000,
        "CgstVal": 250,
        "SgstVal": 250,
        "IgstVal": 0,
        "TotInvVal": 10500
      }
    }
  }
]

Response - Success:

Last updated