(Deprecated) Updating E-Waybill

This API is deprecated. Please use the E-Waybill APIs from the unified set available here.

Update E-Waybill API can be used to add Transporter details or PART_B to the already generated E-Waybill.

PART_B Object:

Key

Type

Description

transport_mode

ENUM

Required. Mode of Transport. Possible Values: ROAD, RAIL, AIR, SHIP.

transporter_gstin

String

Required. GSTIN of Transporter.

transporter_name

String

Required. Name of Transporter.

transporter_from_place

String

Required. Transporter City.

transporter_from_state

String

Required. Transporter State.

transport_doc_number

String

Required. Transport document number.

transport_date

String

Required. Date of transport.

vehicle_number

String

Required. Vehicle number.

vehicle_type

String

Required. Vehicle type.

update_reason

ENUM

Required. Reason for updating. Possible values: FIRST_TIME, BREAKDOWN, TRANSHIPMENT, OTHERS.

update_remarks

String

Required. Remarks for updating.

id

String

Required. Unique Transaction ID.

Update an E-Waybill

The request for updating an E-Waybill is sent by submitting a PUT request to the E-Waybill API with the following request headers.

This request needs the IDs of E-Waybill with status as PART_A.

URL query string:

{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybill/{{ID}}/update_transporter?activity_type=UPDATE_EWB

Request Parameters:

Parameters

Parameter Type

Type

Description

X-Cleartax-Auth-Token

Header

String

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

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.

-

Body

Object

Required. PART_B object.

Sample Request:

https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/269ea15f-5e27-4203-bb11-3bb911fc5724/ewaybill/EWB10293847/update_transporter?activity_type=UPDATE_EWB

Sample Payload

{
    "transport_mode": "ROAD",
    "transporter_gstin": "29AAACW6288M1ZH",
    "transporter_name": "ABC",
    "transporter_from_place": "Bangalore",
    "transporter_from_state": "KARNATAKA",
    "transport_doc_number": "string",
    "transport_date": "31/07/2018",
    "vehicle_number": "KA01AA1234",
    "vehicle_type": "REGULAR",
    "update_reason": "FIRST_TIME",
    "update_remarks": "string",
    "id": "EWB10293847"
}

Sample Response:

{
    ...
    Updated E-Waybill object
    ...
}

Update many E-Waybills

The request for updating E-Waybills is sent by submitting a PUT request to the E-Waybill API with the following request headers.

This request needs the IDs of E-Waybills with status PART_A.

URL query string:

{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybills/update_transporter?activity_type=UPDATE_EWB

Request Parameters:

Parameters

Parameter Type

Type

Description

X-Cleartax-Auth-Token

Header

String

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

taxable_entity_id

Path

String

Required. This is the unique ID associated with the GSTIN in your account.

-

Body

Array

Required. Array of PART_B objects.

Sample Request:

https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/269ea15f-5e27-4203-bb11-3bb911fc5724/ewaybills/update_transporter?activity_type=UPDATE_EWB

Sample Payload

[
    {
        "transport_mode": "ROAD",
        "transporter_gstin": "29AAACW6288M1ZH",
        "transporter_name": "ABC",
        "transporter_from_place": "Bangalore",
        "transporter_from_state": "KARNATAKA",
        "transport_doc_number": "string",
        "transport_date": "31/07/2018",
        "vehicle_number": "KA01AA1234",
        "vehicle_type": "REGULAR",
        "update_reason": "FIRST_TIME",
        "update_remarks": "string",
        "id": "DOC512"
    }
]

Sample Response:

[
    {
        "id": "DOC512",
        "status": true,
        "data": {
            "ewb_number": "151001638120",
            "ewb_generated_date": "04-04-2019 22:06:00",
            "ewb_valid_from_date": "04-04-2019 22:06:00",
            "ewb_due_date": "05-04-2019 23:59:00",
            "ewb_govt_sync_status": "COMPLETE",
            "ewb_status": "GENERATED",
            ...
            E-Waybill object
            ...
        },
        "errorResponse": null,
        "error_msgs": null
    }
]

Bulk update API always returns 200 status code even if there are any errors from NIC. To get error message, you need to parse the response JSON.

Last updated