A lorry at the gate with its engine running. Sindhu inside the office going through a drawer of invoices, looking for one number.
The IRN.
She was looking for the IRN of an invoice that had already gone out to a customer. Without it, the invoice is not a valid e-invoice. The customer cannot claim the credit he paid for. And the lorry cannot load, because a bill that is not on the portal is a bill the customer will fight.
That was the scene at Harsha’s godown in Kadiam, nine kilometres from Rajahmundry. Harsha sells electrical and building material. His sister Sindhu runs the billing. There are two people on that desk and one of them was searching a drawer for a number while a truck idled outside.
I am Radha Krishna. I run UpcomingTools with my team. We build simple automations for small businesses in India. This is how we built e-invoice deadline automation for Harsha, and why the fix was not another person at the desk.
Let me put the rule first, because it decides whether you need this at all.
From 1 April 2025, a taxpayer with an Annual Aggregate Turnover of ₹10 crore or more must report tax invoices, credit notes and debit notes on the Invoice Registration Portal within 30 calendar days of the document date. The clock runs from the invoice date. Not from the day you sat down to upload. Not from the day you pressed the button. From the date printed on the bill.
The full detail is in this breakdown of the thirty day e-invoice reporting limit and what it does to buyer credit, and the official position sits on the Government of India GST portal.
Three things in that rule catch people.
It covers credit notes and debit notes too. A wholesaler who thinks of it as “the sales invoices” will still miss the credit notes. The adjustment to a return that goes out on day 24 is as much inside the window as a fresh sale.
B2C invoices are not in scope for this limit. A bill to a walk-in customer is different from a bill to a business.
Businesses with turnover below ₹10 crore are currently outside the e-invoice requirement altogether. So if you are not there yet, this is a good month to know your own turnover number, because the day you cross it, the rule arrives without warning.
Now, what happens when the window is missed. The portal rejects the upload and blocks IRN generation. That document is then not a valid e-invoice. It does not appear automatically in the seller’s GSTR-1, so it has to be reported manually. And on the buyer side it does not appear in GSTR-2B, which is the statement the buyer uses to claim input tax credit.
Here is the sentence I want a wholesaler to sit with. A late invoice does not stay a late invoice on your desk. It becomes a problem for your customer, in their filing, with your name on it.
Let me walk through Harsha’s day, because this is where the rule quietly costs money.
A building material dealer sells in three ways. Over the counter to a contractor who walks in. On credit to a contractor who takes material for a site. And on a site order, which is a lorry, a big quantity and one bill.
The site order is the problem. Harsha’s billing desk issues the invoice when the goods are dispatched, because the order is confirmed and the goods are moving. Then the invoice sits in a tray. Somebody has to open the billing software, check the buyer’s GSTIN, and generate the IRN. On a good week that happens on the same day.
On a bad week, the GSTIN is wrong and has to be confirmed with the buyer. On a worse week, the person who generates IRNs is on leave and the one person who can is sitting with the other work. On the worst week, the invoice date on the bill is not the date the goods were dispatched. It is the date somebody typed it in.
And the clock does not care. The portal counts from the date printed on the bill.
So what actually happened at Harsha’s desk was this. The invoices were not missing because Sindhu did not work. They were missing because the work was invisible until it was late. Nobody could see, at any point in the month, which invoices were getting old, because that information lived in a person’s head and in a drawer.
The good news is that Harsha’s billing software already knew everything. It was already exporting to a sheet. The data was fine. The problem was that nobody was reading it.
Step one, the Invoices sheet. One row per document. Invoice number, date, buyer GSTIN, value, IRN, and the date the acknowledgement came back. This sheet already existed. It was a report for the accountant.
Step two, the two-hourly check. A scheduled trigger runs every two hours, Monday to Saturday. Not once a day. Twice a day is too late, because a red item has less than a week left and you want to see it while there is still time to act.
Step three, the age calculation. A code step goes through every row where the IRN column is empty and works out how many days old that document is, counted from the date on the bill. Credit notes and debit notes are in the same loop. This is the step that makes the build honest, because a lot of people check sales invoices and forget the rest.
Step four, the four age bands. The Switch node sorts every open item into one of four bands, and each band does something different.
| Band | Age of the document | What happens |
|---|---|---|
| Normal | Under 20 days | Nothing. It stays on the list and nobody is troubled |
| Amber | 20 to 24 days | Recorded and watched, but no message |
| Red | 25 to 28 days | Telegram to the billing staff and to Harsha, with the invoice numbers |
| Critical | 29 days or more | Telegram to Harsha first, then the staff, with the invoice numbers and the buyer names |
Why twenty and not thirty. Because the real deadline is thirty and by then it is over. If the first alarm is at day 25, you still have five working days to fix a GSTIN, chase a signature or raise the document by hand. If the first alarm is at day 29, you have already lost.
Step five, the message. For red and critical rows, the message goes to the billing staff and to the owner, and it carries the invoice numbers and the buyer names. Not a count. Not a summary. The actual numbers, because a person can act on an invoice number in a minute and cannot act on a count.
Step six, the seven o’clock summary. Once a day the flow counts what is open and sends the day’s number to Harsha. One message, every evening. That message is what he calls the pulse.
Step seven, the wrong GSTIN. Any invoice whose GSTIN is malformed gets flagged Fix Before Upload and is held back. It never enters the flow as a normal item, because a malformed GSTIN will be rejected and will burn days that the ageing clock is already spending.
Step eight, the second flow, and this one changed the business. The Dispatch sheet gets a new row every time a lorry is loaded. When that row appears, the flow looks up the invoice. If the invoice has no IRN, the godown gets a message telling them not to load. The hold at the gate became automatic.
Step nine, the files. Every month, the flow saves an e-invoice ageing report. Harsha can see, on one page, what was open, how old each item was, and what was still missing after the month closed. It is not a report for an officer. It is a report for him.
Two dates do the damage, and they are different.
The invoice date. This is the date printed on the bill. The portal counts thirty calendar days from here. If you discover a typing error in the invoice date, the clock has already started running on the wrong date.
The IRN upload deadline. This is the moment the document gets its number and becomes a valid e-invoice. Miss it and the portal refuses. There is no late fee you can pay to make the document valid after the window. The only route is to cancel and re-raise, and then the buyer’s credit moves with it.
This is worth saying plainly to a dealer, because the instinct is to treat it like a queue at the bank. It is closer to a train ticket. The ticket is valid on one date and you cannot use it the next day.
And the hardest part of this for a small team is that the IRN upload deadline is not the same as the IRN generation date. The portal will happily generate an IRN today for a bill dated five weeks ago, and then reject the whole thing because the date is out of window. You get a number. And the number is not valid.
That is exactly why the build does not simply generate IRNs. Generating an IRN is the billing desk’s job. Our job is to make sure that when the desk reaches for that button, the button is safe to press.
If you want to know the standing of your own invoices before a notice arrives, answering a GST notice with your own records is the same habit. And if the bill itself is wrong before it is uploaded, catching a wrong weight on a shipping file is the same skill, refusing to accept a number that does not reconcile.
This is the part that changes how a dealer thinks about the rule, and it is the part I put at the front of every conversation on this subject.
For the seller, a late invoice is a mess. A manual entry in GSTR-1, a call from the buyer, a note in the file.
For the buyer, it is a loss of money they have already spent. Input tax credit is claimed against the GSTR-2B statement, which is built from invoices that carry a valid IRN. No IRN, no line in GSTR-2B, no claim. The buyer’s working capital paid for the material and the tax credit never comes back.
Now put a dealer and a buyer on the other side of that. A contractor buys switchboards and wiring from Harsha and claims the credit. If the IRN is missing, the contractor’s accountant cannot claim it, so the contractor calls Harsha. And the contractor’s accountant is not a patient person at the best of times. The contractor is building something and the money is tight and now the government is asking for tax he already paid.
Here is the thing Harsha understood once we showed him the GSTR-2B screen on his own buyer’s laptop. The thirty day rule is not a rule about his paperwork. It is a rule about his customer’s tax.
That reframing is what changed the team. Before the build, the billing desk treated IRN generation as paperwork to clear. After, they treated it as something the customer is waiting for, because the customer is waiting for it with a tax return.
This is also why the hold at the gate was never a decision to annoy a lorry driver. It was a decision to stop a truck so that a customer does not lose money in a return he cannot file.
Let me describe the gate scene again, because the second flow was built directly from it.
A lorry is at the gate. The material is loaded. The buyer is standing there with his own people waiting, because a site order means a site crew waiting too, and a crew standing idle is money leaving the job.
Sindhu comes out and says the invoice is not on the portal yet. Can we load it and sort the paperwork later?
Of course they can. And then the invoice date keeps ageing while the truck waits, and it goes out to a customer who cannot claim credit.
Before the build, that conversation happened every single week, and every single time it ended the same way. They loaded it. Because what else can you do with a truck at the gate?
Now the hold is a message on the godown phone that arrives the moment the dispatch row is added. If the invoice has no IRN, the message says do not load, and it names the invoice and the buyer. The godown person does not need to understand e-invoicing. They need to read four words and make a call.
Two things happened after that.
First, the loading stopped happening on credit. The team did not become difficult. The message arrives while the invoice is still young, and that is the whole difference. A document that is four days old is a two minute fix. A document that is twenty six days old is a morning lost and three phone calls.
Second, and this surprised Harsha, the buyers changed. Two of his regular site customers started asking for the IRN before they sent their team. They had been burned by another supplier. After a while, the dispatch message became normal, and the lorry stopped being the place where the problem was discovered.
If you run a counter and a delivery side, the same idea helps on the counter. Ranking a queue by what is closest to its cut off is the same thinking applied to orders instead of invoices, and the delivery route that stops a shop from sending a boy the wrong way is the same thinking applied to a vehicle.
My team builds in n8n. I will give you the reason and then give you the other options, because the right answer depends on who is going to maintain it in two years.
| Build option | Good at | Weak at | What it costs you |
|---|---|---|---|
| n8n | The code step for the age maths, scheduled triggers, messages with buttons and replies, self hosting keeps your invoices on your own server | Someone has to keep it updated | Free if you host it, small hosting cost if you do not |
| Make | Clear visual scenarios and many app connections | The age maths and the four bands need workarounds | Paid by operation, and a two hourly run adds up over a month |
| Zapier | The easiest to start with, good for simple triggers | Weak on the code step, which is where the bands live | Paid by task, and a two hourly run over every invoice is a lot of tasks |
| Pabbly Connect | Cheap at volume | Limited code, so the four bands get awkward | Very cheap at this volume |
| Activepieces | Free, self hosted, easy to begin | More work for the code step than n8n | Free if you host it |
| Google Sheets and Apps Script | Free, no new tool, and a time trigger can do the maths | The Telegram approval and the second flow are clunky to build this way | Almost nothing, just your own time |
For Harsha, n8n won on two specific things. The code step holds the age maths, the four bands and the GSTIN check together in one readable place, and the self hosted version keeps his customers’ GSTINs and invoice values on a machine in his own office rather than on somebody else’s server. The second point matters more to him than the first.
If all you want is a daily list of invoices with no IRN and their age, a formula in Google Sheets with a time trigger does it, and I will tell you that honestly. The two hourly check and the gate hold are where you need a proper workflow tool.
And if you are still deciding whether a build like this is worth it at all, start with what we set up for shop owners who never asked for automation and the spreadsheet skills that turn into a service.
How Harsha and I met, because that part matters too.
Phani Kumar runs a flooring business. He bought from Harsha for a site, and he also had the tile quantity problem I wrote about in the piece on two boxes short on day three. We built that for him. One evening, over tea at his office, Phani Kumar said that his material supplier was struggling with exactly the same kind of problem and that the supplier could use the same thinking. He gave me Harsha’s number. That was the introduction. A customer sending another customer.
We sat in Harsha’s office for three weeks. Here is what happened.
Week one. We did not build anything. We watched Sindhu work for a full day. We wrote down every place she moved her eyes. The drawer came up in the first hour, and it came up again in the afternoon. The drawer was where invoices went when they were not ready to upload. Every one of them was a document that was quietly getting old.
Week two. We pulled the last month of invoices out of the billing software and built the ageing report before we built anything that sent messages. We wanted to see the shape of the problem first. The report showed that most of the risk was sitting in a small number of documents, and that those documents were not the biggest ones. They were the ones with a wrong GSTIN, because those were the ones that needed a human to make a phone call before they could be uploaded.
Week three. We built the two-hourly check and switched on the gate hold. On the first day, the gate held a lorry once. Sindhu was not happy about it. By the end of the week, nobody was, because the invoice went out the same morning instead of in nine days.
At the end of the third week Harsha asked to see the ageing report for the month that had just closed. He looked at it for a while.
Then he said something I have thought about since. He said that in his whole career, nobody had ever told him how many invoices he was late on. He had a feeling. He had a feeling that he was managing. And the report gave him a number, and the number was much smaller than the feeling, and that was the best news of his month.
That is the part I remember. A dealer with a good business and no idea. The gap between the feeling and the number was the whole project.
If you want the wider picture of how small shops get started with this kind of work, the business ideas we built around fixing other businesses and how neighbourhood reputation actually works are worth an evening.
One question from the flooring contractor changed the whole design.
He said, my supplier will hold my material at the gate if I do not pay on time, so why would he hold my goods because of a tax number?
That is a sharp question and it deserved a sharp answer.
The answer is that a gate hold and a tax problem are not the same kind of thing. Holding goods for payment is a commercial decision the seller makes with the money still in the room. Holding goods for a missing IRN is holding the goods for the buyer’s tax return, weeks after the money has gone. The first protects the seller. The second protects the customer from losing credit he already paid.
So the message at the gate had to say that. Not do not load. A message that names the invoice, names the buyer, and says the customer cannot claim the credit until this number is on the portal. When the godown man read it, he understood that he was not holding a truck against a customer. He was helping a customer keep a tax credit.
After that we changed the wording of every message. We stopped sending numbers to people and started sending reasons. A person who knows why will act faster than a person who knows only what.
That was Phani Kumar’s contribution to Harsha’s build, and he never set foot in it. He just asked a good question over tea.
The other thing the build taught us, which we put into every version since, is to keep the report for the owner and not only for the staff. The staff need the message. The owner needs the number. Both are looking at different things and both are necessary.
If you run a business where somebody else does the billing, the system I built for a shop owner on leave is the same problem from a different direction. And if you are the person doing the billing and you want the job to be less tiring, business ideas that automate paperwork for small shops and the automation side hustle written at thirty three percent battery are for you.
If you want us to build this for your own billing, my team can do it. Write to us at contact@upcomingtools.com. Starter Support is free, and Custom Services are there if you need the whole thing built and looked after. And if you want to understand the thinking first, the accidental consultant piece on turning a skill into a service and the WhatsApp group business idea hiding in your society chat will give you a taste of how we work.
From 1 April 2025, a taxpayer with an Annual Aggregate Turnover of ₹10 crore or more must report tax invoices, credit notes and debit notes on the Invoice Registration Portal within 30 calendar days of the document date. The period runs from the date on the bill, not from the upload date. B2C invoices are excluded, and businesses with turnover below ₹10 crore are currently outside the e-invoice requirement altogether.
The portal rejects the upload and blocks IRN generation, so the document is not a valid e-invoice. It does not auto-populate in GSTR-1 and has to be reported manually. If the invoice date itself was typed wrongly, the seller has to cancel and re-raise it. There is no relaxation to pay for, and as of April 2025 GSTN had not announced an extension.
Input tax credit is claimed against the GSTR-2B statement, which is built from invoices carrying a valid IRN. With no IRN the invoice does not appear in GSTR-2B, so the buyer cannot claim the credit on that purchase until a corrected, IRN registered invoice is obtained. The buyer has already paid the money, so a late invoice on the seller’s side becomes a real cost on the buyer’s side.
Yes. The limit covers tax invoices, credit notes and debit notes. A credit note issued on day 24 of the month is inside the window, so a dealer who checks only sales invoices will still get caught. Any build that watches for missing IRNs has to include those documents in the same ageing calculation.
Yes. Make, Zapier, Pabbly Connect, Activepieces and a Google Sheet with an Apps Script time trigger can all do it. If you only want a daily list of invoices with no IRN and their age, a formula in a sheet is enough. The two hourly check and the automatic hold at the dispatch gate are where a full workflow tool earns its place.