(Deprecated) Extending Validity of E-Waybill
This API is deprecated. Please use the E-Waybill APIs from the unified set available here.
E-Waybill validity can be extended by updating the extension details. You can do this by getting the E-Waybill object using Get E-Waybill endpoint and then appending the required extension details to the object. Before calling the E-Waybill Extend API, you need to update the E-Waybill with the updated object.
Update extension details
E-Waybill can be updated by submitting a PUT
request to the E-Waybill API with the following request headers.
URL query string:
{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybill/{{ID}}?activity_type=EXTEND_VALIDITY
Request Parameters:
Parameters
Parameter Type
Type
Description
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
id
Path
String
Required. Unique Transaction ID.
activity_type
Query
String
Required. EXTEND_VALIDITY
Append the following key value pairs to the E-Waybill object received from Get E-Waybill API.
Key
Type
Description
transport_doc_number
String
Required. Transport document number.
vehicle_number
String
Required. Vehicle number.
transporter_from_place
String
Required. Transporter's city.
transporter_from_state
String
Required. Transporter's state.
dispatch_from_state
String
Required. Indian state from where dispatched.
remaining_distance
Number
Required. Remaining distance in kilometers
extend_validity_reason
ENUM
Required. NATURAL_CALAMITY, LAW & ORDER, DUE_TO_TRANSHIPMENT, ACCIDENT, OTHERS
extend_validity_remarks
String
Required. Remarks for extending validity.
consignment_status
ENUM
Required. M,T [Movement,Transit]
transit_type
ENUM
Required. on-road-"R", warehouse-"W", other="O"
transport_mode
ENUM
Required. ROAD,TRAIN,SHIP,AIR
from_pincode
String
Required.
Sample Request:
https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/269ea15f-5e27-4203-bb11-3bb911fc5724/ewaybill/260920181261?activity_type=EXTEND_VALIDITY
Sample Payload
{
...
"transport_doc_number": "29AAACW6288M1ZH",
"vehicle_number": "KA01AA1234",
"transporter_from_place": "BANGALORE",
"transporter_from_state": "KARNATAKA",
"dispatch_from_state": "KARNATAKA",
"remaining_distance": 10,
"extend_validity_reason": "TRANSHIPMENT",
"extend_validity_remarks": "Some remarks"
...
}
Sample Response:
{
...
Updated E-Waybill object
...
}
Extend validity
E-Waybill validity can be extended by submitting a PUT
request to the E-Waybill API with the following request headers.
This request must to be sent within 8 hours before or 8 hours after the expiry of the E-Waybill.
URL query string:
{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/eway_bills/async_action/EXTEND_VALIDITY
Request Parameters:
Parameters
Parameter Type
Type
Description
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
-
Body
String
Required. ID of the document.
Sample Request:
https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/269ea15f-5e27-4203-bb11-3bb911fc5724/eway_bills/async_action/EXTEND_VALIDITY
[
"260920181262"
]
Sample Response:
{
workflow_id: "xxxxx-xxxxx-xxxxx-xxxxx"
}
Check Status
E-Waybill async action status can be polled by submitting a GET request to the E-Waybill API with the following request headers.
URL query string:
{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/async_action/{{WORKFLOW_ID}}/status
Request Parameters:
Parameters
Parameter Type
Type
Description
taxable_entity_id
Path
String
Required. This is the unique ID associated with the GSTIN in your account.
workflow_id
Path
String
Required. This is the unique ID associated with the async workflow.
Sample Request:
https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/269ea15f-5e27-4203-bb11-3bb911fc5724/async_action/9636b647-08ac-46a1-bd43-bd875906d166/status
Sample Response:
{
"workflow_id": "9636b647-08ac-46a1-bd43-bd875906d166",
"status": "PROCESSED_WITH_ERRORS",
"error_message": "Error: 711, Invalid pincode, 710",
"total": 1,
"failed": 1,
"success": 0
}
Last updated
Was this helpful?