SmartLedger AI

Creating an e-way bill for a sales invoice

Last updated Nov 6, 2026

Before you move goods worth more than ₹50,000, you generally need an e-way bill. Some states set a different limit for movement within the state. SmartLedger can build the e-way bill from a sales invoice you've already saved, so you only add the transport details.

Before you start

  • E-way bills are included in the Pro plan and above. On other plans, E-Way Bills shows an upgrade screen.
  • Get your e-way bill API credentials from ewaybillgst.gov.in under API Registration. These are separate from your e-invoice credentials.
  • Save the sales invoice first.

Create the e-way bill

  1. Go to GST → E-Way Bills and click + Generate E-Way Bill. If you haven't generated any e-way bills yet, the page opens as a starter instead: click Generate E-Way Bill there.
  2. If SmartLedger doesn't have your credentials yet, the E-Way Bill API Credentials panel opens. Enter your GSTIN, EWB API Username and EWB API Password, then click Save.
  3. Under Transaction Details, leave Transaction Type as Outward, Sub-Type as Supply and Document Type as Tax Invoice for a normal sale.
  4. In Document Number, start typing the invoice number and pick the invoice from the list.
  5. Check the details SmartLedger filled in from the invoice (see below) and correct anything that's missing.
  6. Under Transport Details (Part B), choose the Transport Mode and enter the Approximate Distance (KM). For Road, the default, the Vehicle Number is required. Add the Transporter ID and Transporter Name if you have them.
  7. Click Generate E-Way Bill.

To finish later, click Save as Draft instead. The bill is saved in SmartLedger but not sent to the portal yet.

What is filled in from the invoice

  • Document Number and Document Date from the invoice.
  • From (Consignor) — your business. SmartLedger looks up your GSTIN on the GST portal, and falls back to your company details.
  • To (Consignee) — the client on the invoice, looked up the same way.
  • Goods Details — one row per invoice line, with the product, HSN, quantity, unit, GST rate and the unit price as the Taxable Value. CGST, SGST or IGST and the totals are worked out for you.

Every Address, City, Pincode and State is required, so fill in any the lookup couldn't find.

What happens next

  • The bill opens on its own page with its E-Way Bill No., Valid From and Valid Until. Click Download PDF to get a copy for the transporter. A window previews the bill in your e-way bill layout from Settings → PDF Templates; pick another layout for that file if you like, then click Download.
  • The invoice's amounts and line items are locked while it has an e-way bill.
  • An invoice can only have one active e-way bill. If you pick an invoice that already has one, the button reads Active EWB exists and nothing is generated until the first is cancelled or expires.

Generate it from the e-invoice (IRN)

If e-invoicing is on and the invoice already has an IRN, you can generate the e-way bill from the invoice itself. Part A comes from the invoice, so you only add the transport details. This uses your e-invoice credentials, not your e-way bill API credentials.

  1. Go to Sales → Sales Invoices and click the invoice. In the actions bar at the top of the panel that opens, click Edit (Edit payments on a paid or partly paid invoice).
  2. In the e-Invoice / EWB panel, click Generate E-Way Bill, then Yes, Continue.
  3. In Generate e-Way Bill from IRN, enter the Distance (km). Add the Transport mode, Vehicle number, Vehicle type, Transporter GSTIN and Transporter name if you have them. Transport doc no is required for Rail and Air.
  4. Click Generate e-Way Bill.

The e-way bill is listed in the panel. Its menu has Download PDF and Print (the PDF carries the e-way bill's QR code and the invoice's IRN), and for an active bill Extend validity and Cancel E-Way Bill. It also appears under GST → E-Way Bills, marked via IRN, and in the invoice panel's e-Invoicing section. If an earlier e-way bill was cancelled or has expired, the button reads New E-Way Bill.

Tips

  • If generation fails because the portal is unavailable, your draft is saved. Open it from GST → E-Way Bills and click Generate Now.
  • The document date can't be more than a year in the past. If it's more than 180 days old, the form warns you that the e-way bill system won't accept it.

Related articles

Was this article helpful?

PRIVACY. SECURITY.

Security at Its Core.

Privacy & Security

With SmartLedger AI, accounting teams scale effortless without ever compromising on data security, privacy, or compliance.

Privacy Policy