If your business must issue e-invoices, SmartLedger can register a saved sales invoice with the NIC e-invoice portal (IRP). You get an IRN, an acknowledgement number and a signed e-invoice with its QR code, all stored on the invoice.
Before you start
- E-invoicing is included in the Pro plan and above.
- Get your e-invoice API credentials from einvoice1.gst.gov.in under API Registration. These are separate from your e-way bill credentials.
- The client must be a registered business, SEZ or overseas customer. For a consumer or an unregistered business, the invoice shows "e-Invoice not applicable" instead.
- Save and issue the invoice first. An e-invoice can be generated once the invoice is issued, so a draft has no Generate e-Invoice button.
Generate the e-invoice
- Go to Sales → Sales Invoices and click the invoice. It opens in a panel; its e-Invoicing section reads No IRN on this invoice until one is generated.
- In the actions bar at the top of the panel, click Edit (Edit payments on a paid invoice). The invoice opens for editing.
- In the right-hand panel, find the e-Invoice / EWB card. It reads No e-Invoice issued.
- Click Generate e-Invoice, then Yes, Generate.
- If SmartLedger doesn't have your credentials yet, the e-Invoice API Credentials dialog opens. Enter your GSTIN, e-Invoice API Username and e-Invoice API Password, then click Save. SmartLedger then carries on and generates the e-invoice.
The card shows Generated, with the IRN, the Ack # and the date it was acknowledged. Under Documents, click Signed e-Invoice to view the signed copy with its QR code.
The menu next to Signed e-Invoice has Copy IRN, Download signed e-Invoice and Cancel IRN.
Back in the list, the invoice panel's e-Invoicing section shows the IRN, Ack no. and Ack date, and the panel's More (⋯) menu has Copy IRN.
If generation fails
The card shows e-Invoice generation failed with the portal's reason. In the invoice panel the e-Invoicing section reads The last attempt failed and asks you to open the invoice to retry.
- For a temporary problem, click Retry.
- For a problem with the invoice data, click Edit invoice, fix the invoice, click Update Invoice and generate again.
- If you see Invoice unchanged, the portal has refused a second IRN for identical data. Change the invoice before trying again.
Cancel an IRN
- Open the invoice for editing with Edit (from the panel, or from the row's More actions (⋯) menu).
- In the e-Invoice / EWB card, open the menu next to Signed e-Invoice and click Cancel IRN.
- Confirm with Yes, Cancel IRN.
- Choose a Cancel reason: Duplicate, Data entry mistake, Order Cancelled or Others.
- If you like, add a note under Remarks (optional), up to 100 characters.
- Click Yes, Cancel IRN.
The portal only allows cancellation within 24 hours of generation. After that, SmartLedger warns you that the request will probably fail. If the invoice has an active e-way bill, SmartLedger asks you to Cancel E-Way Bill first.
A cancelled e-invoice can't be undone. The invoice leaves your books: its journal entries are reversed, it moves back to draft and any stock it took is returned. It can't be edited or given a new IRN, so raise a new invoice instead. In the list it shows as Cancelled.
What happens next
- The invoice's amounts and line items are locked once it has an IRN. You can still change the order number, project, notes, terms and attachments.
- Change status → Move to draft is refused while the IRN stands: cancel the IRN first.
- When you email the invoice, the client receives the signed e-invoice with the IRN and QR code.
- In the invoice list, show the e-Invoice column to see each invoice's IRN, or Cancelled or Failed.
Related articles
Was this article helpful?
Related Articles
Working with many invoices at once
Search and filter your sales invoices, choose which columns to see, delete many invoices in one go and download the list as CSV or Excel.
Linking invoices to a project and tracking it
Tag sales invoices, purchase bills and journal entries to a project, then track billing against the contract and cost against the budget.
Emailing an invoice to your client
Email a sales invoice to your client as a PDF straight from SmartLedger, with CC recipients and a personal message.
Recording a payment against an invoice
Record full or part payments from a client on a sales invoice. The invoice moves to Partially Paid or Paid on its own.
Printing an Invoice
The Print Invoice feature enables you to generate a printable version of your invoice for sharing with customers or maintaining physical records. It helps ensure professional documentation, simplifies record-keeping, and supports your billing and accounting processes.
Deleting an Invoice
The Delete Invoice feature enables you to permanently remove invoices that are no longer required or were created in error. It helps maintain accurate financial records by eliminating incorrect or duplicate invoices while keeping your billing data organized.