(Deprecated) Creating or Updating Documents

All files containing documents are sent by submitting a POST request to the Upload File API with the following request headers.

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

Upload Documents to ClearTax E-Waybill

POST https://ewb.cleartax.in/api/v0.2/taxable_entities/{taxable_entity_id}/transactions/upload

This endpoint allows you to upload document on ClearTax E- Waybill portal. {taxable_entity_id} : taxable entity ID associated to the GSTIN. Sample request https://ewb.cleartax.in/api/v0.2/taxable_entities/c5cc664c-d473-4ec5-9301-acf43349b7c4/transactions/upload?data_type=EWAY_BILLS&branch_id=5d2f7742-1484-4bb4-9a5b-b3b8c3586b40

Query Parameters

NameTypeDescription

custom_mapper_id

string

custom mapper id of the template which has been already mapped into the business account on ClearTax E-Waybill portal.

branch_id

string

Cleartax E-Waybill Branch_id of that location for which data in the file belongs

data_type

string

EWAY_BILLS will be the value Ex. data_type:EWAY_BILLS

excelFile

object

File which contains documents either in ClearTax template, Govt template or Custom template. The file should be sent as form-data Here the parameter type of excelFile will be FILE.

Headers

NameTypeDescription

X-Cleartax-Auth-Token: <USER_AUTH_TOKEN>

string

Auth token will be generated and given upon request.

{
    "activity_id": "c11e2e14-4060-4ecb-b801-2cc22d7e727a",
    "error_response": null,
    "group_id": null,
    "other_activity_ids": null,
    "status": "UPLOADED",
    "queued_count": 0
}

Last updated