(Deprecated) Generating Consolidated E-Waybill
This API is deprecated. Please use the E-Waybill APIs from the unified set available here.
The API request for creating a Consolidated E-Waybill is asynchronous. Once you send a PUT request to create a Consolidated E-Waybill, you will receive a Workflow ID. Using this Workflow ID, you can check the regeneration status by sending a GET request to another endpoint.
Generate Consolidated E-Waybill
The request for generating a Consolidated 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-Waybills with status PART_A
or GENERATED
or UPDATED
.
Note: All E-waybills sent for generating a Consolidated E-Waybill should have the same status.
URL query string:
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 Unique Transaction IDs to be consolidated.
Sample Request:
Sample payload
Sample Response:
Please note down the workflow_id
returned by this request. You can use this to poll the updated status with a GET request later.
In the response, status
can be either of the following:
Status
Description
INIT
Initial state
PROCESSING
Processing the request
PROCESSED
Request processed successfully.
PROCESSED_WITH_ERRORS
Request processed with errors.
Get consolidation status
You can get the status of consolidation activity by submitting a GET request to the E-Waybill API with following request headers.
URL query string:
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.
workflow_id
Path
String
Required. This is the workflow ID received in response to the Consolidate API.
Sample Request:
Sample Response:
To know the Consolidated E-Waybill number cewb_number
, you can call the Get E-Waybill endpoint.
Last updated