Extend E-Waybill Validity using the direct integration with Clear tax

You can Extend Validity an EWB by sending a POST request to E-Invoicing API with the following request headers.

Request URL

POST: {{HOST}}/einv/v1/ewaybill/update?action={{action}}

Request Headers

x-cleartax-auth-token: {{USER_AUTH_TOKEN}}
owner_id:{{owner_id}}
gstin:{{gstin_number}}

Sample Request

{
    "EwbNumber":101009338946,
    "FromPlace": "Bangalore",
    "FromState": "29",
    "FromPincode" : "560037",
    "ReasonCode": "OTHERS",
    "ReasonRemark": "extend validity",
    "TransDocNo": "TD-3",
    "TransDocDt": "03/09/2021",
    "TransMode": "ROAD",
    "DocumentNumber": "RLK116",
    "DocumentType": "INV",
    "RemainingDistance": "20",
      "ConsignmentStatus" : "MOVEMENT",
    "DocumentDate": "03/09/2021",
    "VehicleType": "REGULAR",
    "VehNo": "MH45YY2356"

}

Sample Response

// Some code

Error Response

{
  "errors": {
    "error_code": "7001",
    "error_message": "Invalid Vehicle Number, Vehicle number length should be between 7 and 15 ",
    "error_source": "CLEARTAX"
  }
}

Leave a comment

Your email address will not be published. Required fields are marked *