ClearTax Docs
Subscribe for Updates
  • Introduction to ClearTax APIs
  • ☁️Clear Finance Cloud
    • Introduction to Clear Finance Cloud
    • Learn Clear Finance Cloud Basics
      • API client
      • Access token
      • FTP client
      • How to get Custom Upload Template ID?
    • CFC API Reference
      • Resources and Masters
        • Sale Document Line Object
        • Purchase Document Line Object
      • Generate Access Token API
      • Ingestion API
        • Ingest Documents via File
          • Get Pre-signed URL
          • Upload File to Storage
          • Trigger File Ingestion
          • Get File Ingestion Status
        • (Deprecated) Ingest Documents via JSON
    • Notifications
  • 🇮🇳GLS API
    • GLS API Reference
      • Resources and Masters
      • Advanced Ingestion API Reference
        • Get Pre-signed URL
        • Upload File to Storage
        • Create Ingestion Activity
        • Get Ingestion Activity Status
  • 🇮🇳GST API
    • Introduction to GST API
    • GST 2.0 API Reference
      • Upload Documents
    • GST FTP Magnet
  • 🇮🇳Max ITC API
    • Introduction to Max ITC API
    • Getting Started with Max ITC API
    • Max ITC API Reference
      • Resources and Masters
        • Input and output templates
        • Error Code Master
        • Learn Max ITC API Architecture
      • Max ITC APIs
        • Fetch Max ITC Configuration
        • Upload Purchase Documents
          • Ingest PR via File
          • (Deprecated) Ingest PR via JSON
        • Trigger Max ITC Workflow
        • Get Max ITC Results
        • Postman Collection
    • Max ITC FTP Magnet
  • 🇮🇳TDS API
    • Introduction to TDS API
    • TDS API Reference
      • Resources and Masters
        • Deduction Document Line Objects
        • Output Template(Error)
      • TDS APIs
        • Upload Deductions
          • Ingest Deductions via File
            • Get Pre-signed URL
            • Upload File to Storage
            • Trigger File Ingestion
            • Get File Ingestion Status
          • (Deprecated) Ingest Deductions via JSON
  • 🇮🇳E-Invoicing API
    • Introduction to E-Invoicing API
    • Learn E-Invoicing API Basics
      • How to get E-Invoicing User Auth Token?
      • How to scan the E-Invoice QR code?
      • How to add GSTIN to E-Invoicing?
        • Clear IRP API Credentials
    • Learn E-waybill API Basics
    • E-Invoicing API Reference
      • Setting up your account
      • Clear Schema
        • Generate IRN
        • Cancel IRN
        • Get E-Invoice PDF
        • Get E-Invoice by IRN
        • Generate E-Waybill by IRN
        • Generate E-Waybill for Non-IRN documents
        • Bulk Generate E-Waybill for Non-IRN documents
        • Cancel E-Waybill
        • Get E-Waybill PDF
        • Update E-Waybill Transporter ID
        • Update E-Waybill Part-B
        • Extend E-Waybill Validity
        • Generate/Regenerate Consolidated EWB
        • Get Consolidated EWB PDF
        • Initiate Multi-Vehicle E-Waybills
        • Update EWB Status from NIC
        • Download E-waybills by Others
        • Get E-Waybill Download Status
        • Get E-Waybills
        • Get latest E-Waybill status from Government
        • Generate B2C Payment QR Code
          • Generate B2C Payment QR Code (Lite)
        • Get Signed PDF
        • Sign PDF API Base 64 Encoded
        • Send an E-Invoice via Email
        • Get Invoice Details
      • Government Schema
        • Generate IRN
        • Cancel IRN
        • Get Invoice by IRN
        • Generate E-Waybill by IRN
      • Resources and Masters
        • E-Invoice Object
        • Country Code Master
        • State Code Master
        • Pincode Master
        • Pincode State Mapping Pattern
        • Port Code Master
        • Currency Code Master
        • UQC Master
        • Tax Rates
        • Error Codes
    • E-Invoicing FTP Magnet
  • 🇮🇳Invoicing API
    • Invoicing API Reference
      • Create an Invoice
      • Create Document (Non-Sale)
      • Download PDF of a Document
      • Get Document details
      • Resources and Master
        • Country Master
        • State Master
        • Pincode Master
        • Port Master
        • Currency Master
        • Unit Master
        • Document Types
        • Supply Types
  • 🇲🇾E-INVOICING MALAYSIA API
    • E-Invoicing Malaysia API Reference
      • Resources and Masters
        • Error resolution guide
        • Frequently asked questions (FAQs)
        • E-Invoice Object
      • Generate Access Token API
      • Malaysia E-Invoicing APIs
        • Generate E-Invoice for a Document
        • Status Check for Submitted E-Invoice
        • Cancel E-Invoice
        • Upload E-Invoice
        • Get Documents
        • Get E-Invoice PDF
        • Get Document via UUID
        • Delete Invoice
        • Send Bulk Email
        • Search Taxpayer Tin API
  • E-Invoicing FTP Magnet (XML)
  • E-Invoicing FTP Magnet (Excel)
  • 🇸🇦E-Invoicing KSA API
    • Introduction to E-Invoicing KSA API
    • Learn E-Invoicing KSA API Basics
      • How to get E-Invoicing KSA Auth Token?
      • How to add a VAT number to KSA E-Invoicing Account?
      • How to add Branch for existing Vat to KSA E-Invoicing Account ?
      • How to register a device for a VAT?
      • How to generate OTP on ERAD Portal?
      • How to get Print Template ID?
      • KSA E-Invoicing Integration Architecture
    • E-Invoicing KSA API Reference
      • Resources and Masters
        • E-Invoice Object
        • Error Details Object
        • Data Types
        • Code Lists
        • Common Errors and Resolution
      • Authentication
      • Generate Access Token API
      • KSA E-Invoicing APIs
        • Generate E-Invoice
          • Additional Standard (B2B) E-Invoice Examples
          • Additional Simplified (B2C) E-Invoice Examples
        • Generate E-Invoice Async
        • Generate E-Invoice via XML
        • Send Signed E-Invoice XML To ZATCA
        • Get Bulk Invoice Lite
        • Get Invoice
        • Get E-Invoice PDF
        • Get E-Invoice PDF/A-3 with PDF API
        • Register Device
        • Get PCSID Generation Status
        • Renew PCSID
        • Generate E-Invoice (Phase I)
        • Generate QR Code (Phase I)
        • Generate Device ID
        • Generate CSID and PCSID
        • Send E-Invoice via Email
        • Add Business units API
    • E-Invoicing KSA FTP Magnet
    • E-Invoicing KSA XML reporting FTP Magnet
  • 🧩Add-ons and Extensions
    • SAP Add-on
      • SAP Connectivity Checklist
        • Steps to import SSL/TLS certificates in SAP
        • Steps to check ICM settings in SAP
        • Steps to test connectivity in SAP
        • Steps to troubleshoot connectivity issues in SAP
    • Tally Add-on
  • Microsoft Dynamics 365(F&O)
  • General
    • Go-Live Cutover Activity Checklist
    • How to check DNS resolution?
    • How to check hostname reachability?
    • How to check if hostname is trusted?
    • How to get the SSL certificate of a host?
  • ⭐GST GSP API
    • Introduction to GST GSP API
    • Getting Started with GST GSP API
    • GST GSP API Reference
      • Sample API
    • Migrating from Karvy GST GSP
  • ⭐E-Waybill GSP API
    • Introduction to E-Waybill GSP API
    • Getting Started with EWB GSP API
      • How to register EWB GSP on NIC?
      • Sandbox GSTIN for EWB GSP
    • E-Waybill GSP API Reference
      • Sample API
    • Migrating from Karvy EWB GSP
  • ⭐E-Invoicing GSP API
    • Introduction to E-Invoicing GSP API
    • Getting Started with EINV GSP API
      • How to register EINV GSP on IRP?
      • Sandbox GSTIN for EINV GSP
    • E-Invoicing GSP API Reference
      • Sample API
  • Subscribe for Updates
  • 🚫(Deprecated) GST 1.0 API
    • (Deprecated) Introduction to GST API
    • (Deprecated) Learn GST API Basics
    • (Deprecated) Getting Started with GST API
      • (Deprecated) How to set up ClearTax account?
      • (Deprecated) How to authenticate API requests?
      • (Deprecated) How to upload an invoice from File?
      • (Deprecated) How to create custom import template?
    • (Deprecated) GST 1.0 API Reference
      • Taxpayer Information
      • (Deprecated) Invoices
      • (Deprecated) Bills of Supply
      • (Deprecated) Credit Debit Notes (CDN)
      • (Deprecated) Advances
      • (Deprecated) Resources and Masters
        • (Deprecated) How to read GST error response
        • (Deprecated) Unit of Measurement master
        • (Deprecated) State master
        • (Deprecated) Document Classification/Section Name master
      • (Deprecated) Items
      • (Deprecated) Contacts
      • (Deprecated) GST File Upload API Reference
  • 🚫Deprecated E-Waybill API
    • (Deprecated) Introduction to E-Waybill API
    • (Deprecated) Learn E-Waybill API Basics
    • (Deprecated) Getting Started with E-Waybill API
    • (Deprecated) E-Waybill API Reference
      • (Deprecated) Resources and Masters
        • (Deprecated) Unit Master
        • (Deprecated) State Master
        • (Deprecated) Error Master
      • (Deprecated) E-Waybill JSON API Reference
        • (Deprecated) Generating E-Waybill
        • (Deprecated) Getting E-Waybill
        • (Deprecated) Updating E-Waybill
        • (Deprecated) Extending Validity of E-Waybill
        • (Deprecated) Multi-vehicle E-Waybill
        • (Deprecated) Printing E-Waybill
        • (Deprecated) Cancelling E-Waybill
        • (Deprecated) Generating Consolidated E-Waybill
        • (Deprecated) Getting Consolidated E-Waybill
        • (Deprecated) Regenerating Consolidated E-Waybill
        • (Deprecated) Printing Consolidated E-Waybill
      • (Deprecated) E-Waybill File Upload API Reference
        • (Deprecated) Creating or Updating Documents
        • (Deprecated) Getting Upload Status
        • (Deprecated) Getting Upload Validation
        • (Deprecated) Getting Upload History
        • (Deprecated) Rate Limiting & Best Practices
    • (Deprecated) E-Waybill FTP Magnet
Powered by GitBook
On this page
  • Get an E-Waybill
  • Get many E-Waybills

Was this helpful?

  1. Deprecated E-Waybill API
  2. (Deprecated) E-Waybill API Reference
  3. (Deprecated) E-Waybill JSON API Reference

(Deprecated) Getting E-Waybill

Previous(Deprecated) Generating E-WaybillNext(Deprecated) Updating E-Waybill

Last updated 2 years ago

Was this helpful?

This API is deprecated. Please use the .

The response objects here will be same as describer in

Get an E-Waybill

You can get an E-Waybill by submitting a GET request to the E-Waybill API with the following request headers.

URL query string:

{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybill/{{ID}}?source={{SOURCE}}

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.

source

Query

ENUM

Optional. Possible values: USER, GOVERNMENT.

Default: USER.

Sample Request:

https://ewbbackend-preprodpub-http.internal.cleartax.co/gst/v0.1/taxable_entities/bf557750-936e-4209-ac46-f3e8426d4780/ewaybill/EWB270920180650?source=USER

Sample Response:

    {
        "ignored_warnings": null,
        "owner": null,
        "id": "doca09",
        "transaction_date": "18/09/2019",
        "return_period": "092019",
        "source": "USER",
        "total_discount": 12.00,
        "total_taxable_val": 10000.00,
        "total_cgst_val": 600.00,
        "total_sgst_val": 600.00,
        "total_igst_val": 0.00,
        "discount_type": null,
        "total_val": 9200.00,
        "tags": null,
        "gst_status": null,
        "gst_validation_errors": null,
        "place_of_supply": "MAHARASHTRA",
        "updated_at": "18/09/2019",
        "user_updated_at": "18/09/2019",
        "is_canceled": false,
        "created_at": "18/09/2019",
        "cancel_reason": null,
        "cancel_remarks": null,
        "seller_contact_id": null,
        "consignee_contact_id": null,
        "receiver_contact_id": null,
        "bank_details": null,
        "custom_fields": null,
        "branch_id": null,
        "document_number": "sarthakparta09",
        "type": "SALE",
        "seller": {
            "name": null,
            "gstin": "29AEKPV7203E1Z9",
            "address1": null,
            "address2": null,
            "city": "VADGAON",
            "state": "MAHARASHTRA",
            "zip_code": "412106",
            "country": null,
            "phone_number": null
        },
        "receiver": {
            "name": "XYZ",
            "gstin": "29AAACW6288M1ZH",
            "address1": null,
            "address2": null,
            "city": null,
            "state": "MAHARASHTRA",
            "zip_code": "412106",
            "country": null,
            "phone_number": null
        },
        "consignee": {
            "name": "XYZ",
            "gstin": "29AAACW4202F1ZM",
            "address1": null,
            "address2": null,
            "city": null,
            "state": "MAHARASHTRA",
            "zip_code": "412106",
            "country": null,
            "phone_number": null
        },
        "ewb_number": "171001662857",
        "ewb_generated_date": "18-09-2019 11:24:00",
        "ewb_valid_from_date": "18-09-2019 11:24:00",
        "ewb_due_date": null,
        "ewb_govt_sync_status": "COMPLETE",
        "other_val": -2000.00,
        "total_cess_non_advol_val": 0.00,
        "is_multi_vehicle": false,
        "ewb_status": "PART_A",
        "transporter_history_dtos": null,
        "document_type": "INV",
        "transport_mode": null,
        "transporter_gstin": "29AAACW6288M1ZH",
        "transporter_name": null,
        "transporter_from_place": null,
        "transporter_from_state": null,
        "transport_doc_number": null,
        "transport_date": null,
        "vehicle_number": null,
        "vehicle_type": null,
        "update_reason": null,
        "update_remarks": null,
        "extend_validity_reason": null,
        "extend_validity_remarks": null,
        "sub_supply": "SUPPLY",
        "ewb_errors": null,
        "cewb_number": null,
        "distance": 100,
        "remaining_distance": null,
        "extended_date": null,
        "dispatch_from_state": null,
        "nic_ewb_status": null,
        "export_type": null,
        "generation_interaction_type": "API",
        "sub_supply_desc": null,
        "transaction_type": "ShipTo",
        "from_pincode": null,
        "consignment_status": null,
        "transit_type": null,
        "line_items": [
            {
                "item_code": "4101PSP475",
                "gst_code": "72111490",
                "gst_type": "GOODS",
                "description": null,
                "notes": "KOL-105 BOTTAM SPACER",
                "unit_price": null,
                "unit_price_including_tax": null,
                "unit_of_measurement": null,
                "item_id": null,
                "serial_number": 0,
                "quantity": 1.0,
                "discount_rate": null,
                "discount": 12.00,
                "taxable_val": 10000.00,
                "cgst_rate": 6.00,
                "cgst_val": 600.00,
                "sgst_rate": 6.00,
                "sgst_val": 600.00,
                "igst_rate": null,
                "igst_val": 0.00,
                "cess_rate": null,
                "cess_val": null,
                "total_val": 11200.00,
                "tags": null,
                "cess_non_advol_rate": null,
                "cess_non_advol_val": null
            }
        ],
        "transporter_code": null,
        "owned_by": "bf557750-936e-4209-ac46-f3e8426d4780",
        "owner_gstin": null,
        "branch_name": null,
        "active": false,
        "version_num": 1
    }
{
    "errors": {
        "err_1": {
            "code": "404",
            "message": "You do not have enough permissions to view this page/ access this feature. Please contact your Account Admin, if you require access.",
            "error_group_code": 0,
            "error_id": 0
        }
    }
}

Get many E-Waybills

You can get many E-Waybills by submitting a GET request to the E-Waybill API with the following request headers.

URL query string:

{{HOST}}/v0.1/taxable_entities/{{TAXABLE_ENTITY_ID}}/ewaybill?return_period=&transaction_status=&start_date=&end_date=&seller_gstin=&buyer_gstin=&invoice_direction=&id=&is_amended=&section_name=&owner_taxable_entity_id=&start=0&limit=20&min_total=&max_total=&sort_by=&include_canceled=&channel_value=&channel_type=&document_numbers=&contacts=&gstins=&sub_supply_type=&document_types=&vehicleNumbers=&transporter_gstins=&ewb_status=&min_distance=&max_distance=

Request Parameters:

Parameter

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.

source

Query

String

USER, GOVERNMENT

return_period

Query

String

Return period in the format MMYYYY

start_date

Query

String

Start date by which you need to filter

end_date

Query

String

End date by which you need to filter

seller_gstin

Query

Array

Seller GSTIN number

buyer_gstin

Query

Array

Buyer GSTIN number

invoice_direction

Query

ENUM

SALE, PURCHASE

id

Query

Array

Unique Transaction ID

is_ammended

Query

Boolean

TRUE, FALSE

invoice_type

Query

Array

B2B , B2BUR , B2BA , B2CL , B2CS , EXPORT , IMPORT , ISD , COMPOSITE , B2B_EXPORT

start

Query

String

Default: 0 /used for pagination

limit

Query

String

Default: 20 / number of invoices to limit in the response

ewb_numbers

Query

String

Eway Bill number

ewb_status

Query

Array

PENDING, PART_A, GENERATED, CANCELLED

min_distance

Query

String

Minimum distance

max_distance

Query

String

Maximum distance

transporter_gstins

Query

String

Transporter GSTIN

vehicleNumbers

Query

String

Vehicle number

sub_supply_type

Query

Array

SUPPLY, EXPORT, JOB_WORK, OWN_USE, SKD_CKD, LINE_SALES, RECIPIENT_UNKNOWN, EXHIBITION, FAIRS, SALES_RETURN, JOB_WORK_RETURNS, IMPORT, OTHERS

Sample Request:

https://ewbfrontend-preprodpub-http.internal.cleartax.co/api/v0.1/taxable_entities/bf557750-936e-4209-ac46-f3e8426d4780/ewaybill?document_numbers=A0fg180660&branches=5ae1bbae-27e2-48e6-8d5b-0fa80c0ee8ca&branches

Sample Response:

[
    {
        "ignored_warnings": null,
        "owner": null,
        "id": "2st12367",
        "transaction_date": "27/09/2018",
        "return_period": "062018",
        "source": "USER",
        "total_taxable_val": 150024.85,
        "total_cgst_val": 9001.45,
        "total_sgst_val": 9001.45,
        "discount_type": null,
        "total_val": 168027.76,
        "tags": null,
        "gst_status": null,
        "gst_validation_errors": null,
        "place_of_supply": "KARNATAKA",
        "updated_at": "02/06/2020",
        "user_updated_at": "02/06/2020",
        "is_canceled": false,
        "created_at": "02/06/2020",
        "cancel_reason": null,
        "cancel_remarks": null,
        "seller_contact_id": null,
        "consignee_contact_id": null,
        "receiver_contact_id": null,
        "bank_details": null,
        "custom_fields": null,
        "branch_id": "5ae1bbae-27e2-48e6-8d5b-0fa80c0ee8ca",
        "document_number": "A0fg180660",
        "type": "SALE",
        "seller": {
            "name": "Test stores",
            "gstin": "29AEKPV7203E1Z9",
            "address1": "Maharashtra",
            "address2": "Maharashtra",
            "city": "Bangalore",
            "state": "KARNATAKA",
            "zip_code": "560068",
            "country": null,
            "phone_number": null
        },
        "receiver": {
            "name": "BILLING NAME",
            "gstin": "29AAACW6288M1ZH",
            "address1": "BILLING ADDRESS, 1 DR BURMAN MARG,UPSIDE IND. AREA SAHIBABAD-201010, GHAZIABAD UTTER PRADESH",
            "address2": "BILLING ADDRESS 2",
            "city": "Bangore",
            "state": "KARNATAKA",
            "zip_code": "560068",
            "country": null,
            "phone_number": null
        },
        "consignee": {
            "name": "SHIPPING NAME",
            "gstin": "29AAACW4202F1ZM",
            "address1": "SHIPPING ADDRESS, 1 DR BURMAN MARG,UPSIDE IND. AREA SAHIBABAD-201010, GHAZIABAD UTTER PRADESH",
            "address2": "SHIPPING ADDRESS 1",
            "city": "Bangalore",
            "state": "KARNATAKA",
            "zip_code": "560068",
            "country": null,
            "phone_number": null
        },
        "ewb_number": "141001710537",
        "ewb_generated_date": "02-06-2020 12:15:00",
        "ewb_valid_from_date": "02-06-2020 12:15:00",
        "ewb_due_date": "03-06-2020 23:59:00",
        "ewb_govt_sync_status": "COMPLETE",
        "other_val": 0.00,
        "total_cess_non_advol_val": 0.00,
        "is_multi_vehicle": false,
        "ewb_status": "GENERATED",
        "transporter_history_dtos": null,
        "document_type": "INV",
        "transport_mode": "ROAD",
        "transporter_gstin": "29AAACW6288M1ZH",
        "transporter_name": null,
        "transporter_from_place": "",
        "transporter_from_state": null,
        "transport_doc_number": null,
        "transport_date": null,
        "vehicle_number": "KA19ED2843",
        "vehicle_type": null,
        "update_reason": null,
        "update_remarks": null,
        "extend_validity_reason": null,
        "extend_validity_remarks": null,
        "sub_supply": "SUPPLY",
        "ewb_errors": null,
        "cewb_number": null,
        "distance": 100,
        "remaining_distance": null,
        "extended_date": null,
        "dispatch_from_state": "KARNATAKA",
        "nic_ewb_status": null,
        "export_type": null,
        "generation_interaction_type": "API",
        "sub_supply_desc": null,
        "transaction_type": "Regular",
        "from_pincode": null,
        "consignment_status": null,
        "transit_type": null,
        "line_items": [
            {
                "item_code": null,
                "gst_code": "61091000",
                "gst_type": "GOODS",
                "description": "READYMADE GARMENT",
                "notes": null,
                "unit_price": null,
                "unit_price_including_tax": null,
                "unit_of_measurement": "BOX",
                "item_id": null,
                "serial_number": 1,
                "quantity": 82.0,
                "discount_rate": null,
                "discount": null,
                "taxable_val": 150024.85,
                "cgst_rate": 2.50,
                "cgst_val": 9000.45,
                "sgst_rate": 2.50,
                "sgst_val": 9000.46,
                "igst_rate": null,
                "igst_val": null,
                "cess_rate": null,
                "cess_val": null,
                "total_val": 168027.76,
                "tags": null,
                "cess_non_advol_rate": null,
                "cess_non_advol_val": null
            }
        ],
        "transporter_code": null,
        "owned_by": "bf557750-936e-4209-ac46-f3e8426d4780",
        "owner_gstin": null,
        "branch_name": null,
        "active": false,
        "version_num": 1
    }
]
🚫
E-Waybill APIs from the unified set available here
generate E-Waybill