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

Generate E-Waybill by IRN

Note: For an RCMDOM self-invoice of goods, ClearTax generates the e-way bill as an inward supply (from the unregistered supplier to you). E-way bills do not apply to RCMIMP or services-only RCMDOM self-invoices

Request Method

POST

Request URL

{{HOST}}/einv/v2/eInvoice/ewaybill

Request Headers

PARAMETER
PARAM TYPE
TYPE
DESCRIPTION

X-Cleartax-Auth-Token

Header

String

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

gstin

Header

String

Mandatory. GSTIN number for the user

invoiceType

Header

String

PURCHASE

Request Path Params

There are no path parameters for this API.

Request Query Params

There are no query parameters for this API.

Request Body

Parameter
Data Type
Field Validations
Description

Irn

String

minLength: 64

maxLength: 64

Mandatory. IRN generated for the invoice.

TransId

String

minLength: 15

maxLength: 15

pattern: "([0-9]{2}[0-9A-Z]{13})"

Conditional. Transporter GSTIN or CEN (Common Enrollment Number)

TransName

String

minLength: 3

maxLength: 100

pattern: "^([^\\\"])*$"

Optional. Name of the transporter.

TransMode

String

minLength: 1

maxLength: 1

enum: ["1", "2", "3", "4"]

Conditional. Mode of transport (Road-1, Rail-2, Air-3, Ship-4)

Distance

Number

minimum: 1

maximum: 4000

Mandatory. Distance between source and destination PIN codes

TransDocNo

String

minLength: 1

maxLength: 15

pattern: "^([a-zA-Z0-9\/-]{1,15})$"

Optional. Transport Document Number

TransDocDt

String

minLength: 10

maxLength: 10

pattern: "^[0-3][0-9]\/[0-1][0-9]\/[2][0][1-2][0-9]$"

Optional. Transport Document Date

VehNo

String

minLength: 4

maxLength: 20

pattern: "^([A-Z|a-z|0-9]{4,20})$"

Conditional. Vehicle Number

VehType

String

minLength: 1, maxLength: 1,

enum: ["O", "R"],

Conditional. Whether O-ODC or R-Regular

ExpShipDtls

Object

DispDtls

Object

Sample Request & Response

Request

Response

Last updated