Distance of Transport Logic for Eway Bill Generation


Vinayak Khedekar

2023-01-12 18:04:42


Distance of Transport Logic and validations for Eway Bill Generation
 

Eway Bill Form


 

1. GST Pincode Master Table is created in ERP Admin, user can enter from and to Pin Code and enter the Distance for the same. 

 

2. While generating Eway Bill If there is no entry found in GST Pin Code Master for respective Pin Codes , then default Distance will be pass as '0' and then  NIC - Government Portal will check in their database and pass actual Distance for Eway Bill Generation.

 

3. If Supplier / Buyer / Dispatcher / Shipping - Pin Code is same then default Distance will be pass as 100, for more details please check URL : https://docs.ewaybillgst.gov.in/apidocs/version1.03/generate-eway-bill.html#validations .

Point no 5

 

4. In some cases NIC - Government Portal also dont have Distance available , then it will give an : error_code":"4030","error_desc":"The distance between the pincodes XXXX  and XXXX is not available in the system, you need to pass the actual distance."

In this case user need to enter Distnace manually in the GST Pin Code Master , so this error will not come again.

 

5. Do not update Distance of Transport '0' if Supplier / Buyer / Dispatcher / Shipping - Pin Code is same , other wise it will through an error like "error_code":"4029","error_desc":"Valid distance to be sent in case of same pin codes, you cannot send 0 as distance in this case.".

( Default it will get  Distance as 100 or user need to update Distance manually in GST Pin Code Master )