Can an ERP generate e-invoices and e-way bills automatically?
Many ERPs connect to India’s e-invoice and e-way bill systems to create IRNs, QR codes and e-way bills from the invoice. What to check before relying on it.
Anadoris Digital · · 4 min read

E-invoicing in India means registering certain invoices with a government Invoice Registration Portal, which returns a unique Invoice Reference Number and a signed QR code. Whether it applies to you depends on your aggregate turnover and the type of transaction. The turnover limit has been lowered several times, so check the current threshold with your CA rather than relying on an old figure.
E-way bills are a separate requirement for moving goods above a set value, whether for a sale, a stock transfer or a job-work dispatch. Again, values and rules vary, so confirm the current position with your CA.
How ERP integration works
- You create and save an invoice in the ERP as usual.
- The ERP checks whether the invoice needs an e-invoice, based on rules you set.
- It sends the invoice data to the portal, usually through a GST Suvidha Provider or an API partner.
- The portal validates the data and returns the IRN, acknowledgement number and signed QR code.
- The ERP prints these on the invoice and stores them against the record.
- If goods are moving, the ERP can create the e-way bill using the same invoice and transport details.
Done well, the person raising the invoice does not need to log into any government portal. They only see an error if the data fails validation.
Which invoices are affected for a D2C brand
E-invoicing applies to business-to-business supplies and some other categories, not to ordinary sales to individual consumers. For a D2C brand, the main affected documents are usually B2B sales to distributors, retailers, quick-commerce partners that buy on purchase orders, and corporate gifting orders. Credit and debit notes on those sales are also covered.
Consumer orders on your website and marketplaces generally follow normal invoicing rules. Some brands are required to show a dynamic QR code on B2C invoices above a certain turnover, so ask your CA whether that applies to you.
Why e-invoices get rejected
- Buyer GSTIN is invalid, cancelled or entered with a typo.
- Pin code does not match the state in the address.
- HSN code is missing or not in the valid list.
- Invoice number already used for an earlier IRN.
- Totals do not match line values because of rounding differences.
Most rejections come back to master data. Validate buyer GSTINs when you create the customer, not when you invoice. Keep pin codes and states consistent. Review HSN codes once with your CA.
E-way bills for stock transfers and job work
D2C brands often move goods without a sale: stock sent to a 3PL in another state, packaging sent to a contract manufacturer, returns sent back from a marketplace warehouse. These movements can still need an e-way bill depending on value and distance. An ERP that creates the e-way bill from the transfer or job-work document saves staff from re-entering details on the portal.
Capture transporter ID, vehicle number or transport document number on the transfer. Without them the e-way bill cannot be completed.
E-invoice readiness checklist
- Confirm with your CA whether e-invoicing applies and from when.
- Choose how the ERP connects: built-in, through a provider, or an add-on.
- Validate GSTIN, address and pin code for every B2B customer.
- Check HSN codes against the valid list.
- Test in the provider’s sandbox before going live.
- Decide who fixes rejected invoices and how quickly.
- Set the ERP to block printing a B2B invoice without its IRN where required.
Cancellations and amendments
An e-invoice can usually be cancelled only within a short window after generation, and it cannot simply be edited. After that window, corrections are made through credit or debit notes. Make sure staff know this, because the habit of editing an invoice after printing does not work once e-invoicing applies.
Thresholds, timelines and document rules for e-invoicing and e-way bills are set by the government and change. Treat any figure you read online as a prompt to check with your CA, not as a rule.
Keeping a record for audits
Store the IRN, acknowledgement number, acknowledgement date, signed QR code and e-way bill number against each invoice or transfer in the ERP. During a GST audit or an enquiry from a buyer, you should be able to pull any document with its registration details in seconds, rather than searching the portal one invoice at a time.
Run a monthly comparison between invoices in the ERP that needed an IRN and IRNs actually received. Any invoice without one is either still pending or was printed when it should not have been, and both need attention before returns are filed.
Where to start
- Ask your CA to confirm which of your documents need e-invoices and e-way bills.
- Clean B2B customer data, especially GSTINs and pin codes.
- Set up the connection in a sandbox and test sales, credit notes and transfers.
- Train the person who raises invoices on handling rejections.
- Go live at the start of a month so reports stay clean.
Anadoris Digital can connect your ERP to e-invoice and e-way bill services and test the flows with your actual document types before go-live.
Related service: ERP Solutions · More on this topic: ERP Solutions articles
