(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.
Last updated
Was this helpful?
All files containing documents are sent by submitting a POST request to the Upload File API with the following request headers.
Last updated
Was this helpful?
This API is deprecated. Please use the .
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
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.
X-Cleartax-Auth-Token: <USER_AUTH_TOKEN>
string
Auth token will be generated and given upon request.