BooksGST
E-invoices and e-way bills
If e-invoicing applies to your company, each B2B invoice and credit note needs an IRN from the e-invoice system (IRP), and goods often need an e-way bill. There are two ways to get them:
- From Books, through a GST provider. Connect the GSTIN to Sandbox by Quicko once, and Books gets the IRN, the acknowledgement and the signed QR code itself, from the invoice page. See Get IRNs from Books.
- On the e-invoice portal. Books makes the portal's bulk upload file, reads the portal's results back, and lets you type an IRN or e-way bill number made on the portal, so it prints on the invoice.
Before you start
- Whether e-invoice applies comes from last year's turnover in GST settings. See GST returns.
- You need allow_file_gst on GST › E-invoices. On an invoice page, allow_manage_sales or allow_file_gst lets you record an IRN or e-way bill.
- On the portal route, you need your own login on the e-invoice portal and the e-way bill portal. Books never asks for or keeps those passwords.
- On the provider route, Books keeps the GSTIN's e-invoice API user (made for the provider, below), encrypted. That user works only through the API and can't sign in to the GST portal.
Get IRNs from Books
Books gets IRNs through Sandbox by Quicko, a GST Suvidha Provider (GSP). It's set up once per GSTIN.
Set it up (once per GSTIN)
- Whoever has the GSTIN's GST portal login signs in at einvoice1.gst.gov.in and goes to API Registration › User Credentials › Create API User.
- They choose Through GSP, pick Quicko Infosoft Pvt. Ltd. from the list, and make a user name and password. An API user made for another software (for example Zoho) doesn't work here; make a new one for Quicko.
- In Books, go to Settings › GST. Under GST provider, choose Sandbox by Quicko for that GSTIN.
- Enter the API user name and API password and select Check and save. Books signs in with them first and only saves them if the e-invoice system accepts them. The password is never shown again.
- Leave Generate when posting off until your first IRN looks right.
You need Manage books settings to set the provider. Check signs in again to test the stored API user; Change replaces it; choosing None removes it.
Get the IRN for an invoice
- Post the invoice (or credit note). At the top of the page you see What's next: get the IRN, with the last date it can be generated.
- Select Generate IRN. Books lists the checks the e-invoice system makes (number format, seller and buyer address and PIN, buyer GSTIN, HSN on every line, units for goods). Fix anything marked Needs fixing.
- Turn on Also generate an e-way bill for goods if you want it with the IRN, and enter the transport details.
- Select Generate. The E-invoice card then shows the IRN, the Ack No and date, and Cancel until. The IRN and the signed QR code print on the PDF and on every print template.
With Generate when posting on, Books gets the IRN as soon as an invoice is posted. If it can't, the invoice stays posted and shows why.
When the provider doesn't answer
- If the e-invoice system refuses the invoice, the card and the top of the invoice show its message and code (for example a wrong PIN). Fix it and select Try again.
- If no answer comes back at all, Books says so and keeps the invoice posted. On the next try it first asks the e-invoice system whether the IRN was made, so it never makes a second one.
- If the IRN already exists for that invoice number (made earlier, or through other software), Books takes that IRN instead of failing.
E-way bills and cancelling through the provider
- E-way bill from the IRN: on the E-way bill card, select Generate e-way bill and enter the vehicle or transporter. With distance 0, the e-invoice system works out the distance from the PIN codes.
- Cancel an IRN: within 24 hours, select Cancel IRN on the card and give the reason. Books cancels it with the e-invoice system and voids the invoice. Cancel a live e-way bill first.
- E-way bill without an IRN (for example a B2C invoice, or when you don't need an IRN): the same Generate e-way bill on the invoice. Books sends the e-way bill system the invoice's goods lines with their HSN, quantity and unit, both addresses with PIN codes, and the values. Service lines stay out. If something it needs is missing, such as a PIN code on the customer's billing address or an HSN on a goods line, Books says what before sending anything.
- Change the vehicle (Part B): on the E-way bill card, select Change vehicle, and give the new vehicle number, the reason and where it starts from. Type the state as a name or its code.
- Cancel an e-way bill: within 24 hours, select Cancel e-way bill and give the reason. This works for e-way bills made from an IRN too.
- An export's e-way bill runs to the port of shipment, whose PIN code Books doesn't keep: make it on ewaybillgst.gov.in and type its number in Books.
- E-way bills use the same API user as IRNs. If the e-way bill system doesn't accept it, Books says so: use an API user made for both e-invoices and e-way bills, and enter it in Settings › GST.
- If an answer from the e-way bill system is lost, the next Generate finds the e-way bill already made for the invoice and records that one, so you never get two.
Read the full guide with your flowwork account
The rest of this page has the steps, screenshots and tips. Anyone at a company that uses flowwork can read every page, and ask the Help assistant about it.
Every step, in order Real screenshots The agents that help
New companies use flowwork free until 31 December 2026