Extend E-Waybill Validity
You can Extend Validity an EWB by sending a POST
request to E-Invoicing API with the following request headers.
Request Method
POST
Request URL
Request Headers
X-Cleartax-Auth-Token
Header
String
gstin
Header
String
Mandatory. GSTIN number for the user
Request Path Params
There are no path parameters for this API.
Request Query Params
Parameter
Data Type
Field Validations
action
String
NA
Mandatory = EXTEND_VALIDITY
Request Body
EwbNumber
Number
12 Digits
Mandatory. E-Way Bill Number
VehNo
Number
15 Digits
Conditional. Vehicle Number
FromPlace
String
12 Characters
Mandatory. From Place
FromState
Number
2 Digits
Mandatory. From State Code
ReasonCode
Enum
"NATURAL_CALAMITY", "TRANSSHIPMENT", "OTHERS", "ACCIDENT", "LAW_ORDER_SITUATION"
Mandatory,
Reasons code
ReasonRemark
String
50 Characters
Mandatory. Reason Remark
TransDocNo
String
15 Characters
Optional. Transport Document Number
TransDocDt
String
dd/mm/yyyy
Optional. Transport Document Date
TransMode
Enum
[ROAD
RAIL
AIR
SHIP
IN_TRANSIT]
Mandatory. Transport Mode
DocumentNumber
String
Max 16 Character
Document number.
DocumentType
String
NA
Document type.
DocumentDate
String
Accepted format: DD/MM/YYYY
Document date.
RemainingDistance
Number
NA
Mandatory. Remaining Distance
FromPincode
Number
2 Digits
Mandatory. From Pincode
ConsignmentStatus
Enum
[MOVEMENT
TRANSIT]
Mandatory. Consignment Status
TransitType
Enum
[ROAD
WAREHOUSE
OTHERS
NONE]
Optional. Transit Type
AddressLine1
String
NA
Optional. Address 1
AddressLine2
String
NA
Optional. Address 1
AddressLine3
String
NA
Optional. Address 3
Response Status Codes
200
For a successfully processed request (may be a success or validation error).
401
If the user is not authenticated for the operation.
403
If the user is not authorised for the operation.
500
If there are any unhandled exceptions on the Clear side.
Response Schema
EwbNumber
Number
12 Digits
E-Way Bill number
UpdatedDate
String
NA
Date and time of update. This will be null in case of failure.
ValidUpto
String
NA
Date and time of upto which EWB is valid. This will be null in case of failure.
errors
List
NA
This will be null if there will be no error.
Errors Object
error_code
Number
NA
Error Code. If there is no error, then this field will not be present.
error_message
String
NA
Error message. If there is no error, then this field will not be present.
error_source
String
NA
Error Source. If there is no error, then this field will not be present.
Sample Request and Response
Request
Response - Success:
HTTP Status Code - 200
Response - Failure:
HTTP Status Code - 200
API Validations
Currently there are no known validations for this API.
API Constraints
The Validity of EWB can be extended only by the current transporter. If the transporter is not assigned, then the generator can update.
The validity of EWB can be extended between 8 hours before expiry time and 8 hours after expiry time.
Last updated
Was this helpful?