Fully Automatic Invoice in Excel: Free Download with GST Formula
Build an automatic invoice in Excel with GST calculation formulas, auto invoice numbering, and customer data lookup. Includes VBA macros and a guide on when Excel reaches its limits.

On this page
Key takeaways
- Excel can automate GST calculation, invoice numbering and customer auto-fill, but not GSTR-1 export, payment tracking or e-invoicing.
- Use ROUND(taxable value x rate / 200) for CGST and SGST, and / 100 for IGST, toggled by a supply-type dropdown.
- Sequential numbering is legally required; a Settings-sheet counter works without VBA, and a short macro makes it automatic.
- After GST 2.0, the rate dropdown should list only 0, 5, 18 and 40; the 12% and 28% slabs are abolished.
- Download the ready workbook: VLOOKUP item and customer masters, automatic tax split, self-advancing invoice number and amount in words, all without a single macro.
Download the fully automatic GST invoice in Excel
Download the automatic GST invoice in Excel (.xlsx) — free, no sign-up, and no macros, so it opens without a security warning in Excel, LibreOffice, WPS and Google Sheets.
It is not a blank grid. Everything below is already wired up:
- Customer auto-fill. Pick a customer code from the dropdown in cell
H4and the name, GSTIN, address, contact and state fill from a Customers sheet. - Item auto-fill. Pick an item code and the description, HSN or SAC code, unit, rate and GST rate come from an Item Master sheet. You never type a tax rate on a line again.
- Automatic CGST/SGST or IGST. The split follows the customer's state against yours, with no dropdown to remember to change.
- Auto-incrementing invoice number. Driven by an Invoice Register sheet, so the series moves on by itself and you keep the audit trail the law wants.
- Amount in words, without VBA. A formula, not the SpellNumber macro.
- B2B or B2C detection, a due date, round-off, and an 18-row item table.
Set it up once on the Settings sheet — your business name, GSTIN, address, state, invoice prefix and financial year — then add your customers and items. After that an invoice is two dropdowns and a quantity.
Rates in the workbook checked 29 October 2026
The Item Master ships with the rate structure in force since 22 September 2025: 0%, 5%, 18% and a 40% de-merit rate, plus 3% on gold, silver and jewellery and 0.25% on rough diamonds. The 12% and 28% slabs were abolished on that date. The 28% rate continued for tobacco and pan masala until 1 February 2026 and has since gone too.
If you are repairing an older spreadsheet, the rate dropdown is the first thing to fix: any template still offering 12% or 28% predates GST 2.0 and will put a wrong rate on a live invoice. Check individual items on the CBIC rate finder at taxinformation.cbic.gov.in, and see our current GST rates guide.
What 'Fully Automatic' Actually Means in Excel
When small business owners search for a 'fully automatic invoice in Excel,' they typically want three things: GST calculates automatically when they enter price and quantity, the invoice number increments on its own, and customer details fill in automatically when they select a customer name. This guide shows you how to build exactly that.
Fair warning upfront
Excel can get you 70-80% of the way to fully automatic invoicing. The remaining 20-30%, like syncing invoices with your GSTR-1, sending invoices via WhatsApp without exporting to PDF first, or tracking which invoices are paid, requires either very complex VBA code or a proper billing tool. We will show you both paths.
This guide assumes you have basic Excel knowledge — you know what a formula is and how to reference cells. You do not need to know VBA to implement most of what is covered here. The VBA macros for advanced features are provided as copy-paste ready snippets.
If you want to skip Excel entirely, the myBillPlease invoice generator is a free online tool that does everything described in this guide without any setup. But if you prefer Excel for offline use or for customization, read on.
GST Auto-Calculation Formulas — Step by Step
The foundation of an automatic GST invoice is the tax calculation formula. Here is how to build it from scratch for the 2026 GST rate structure (0%, 5%, 18%, 40%).
Sheet structure: Name your invoice sheet 'Invoice' and create a separate sheet called 'Settings' where you store: company name, GSTIN, address, and state code. Another sheet called 'Customers' stores customer GSTIN, address, and state. A 'Products' sheet stores product names, HSN codes, and default GST rates.
The Supply Type cell: In cell B3 on the Invoice sheet, create a dropdown using Data Validation: Allow → List → Source → 'Intra-State,Inter-State'. This one cell controls whether CGST+SGST or IGST is calculated across the entire invoice.
Line item rows (rows 10-25):
Column B: Item description. Column C: HSN code pulled from the Products sheet. Column D: Quantity. Column E: Unit price (exclusive of GST). Column F: GST rate pulled from the Products sheet. Column G: Taxable value: =D10*E10.
CGST column (H): the template divides the GST rate by 200 (half of 100%) to get CGST.
SGST column (I): Same as CGST.
IGST column (J):.
Row total (K): =G10+H10+I10+J10
Invoice totals (rows 27-32): Taxable total: =SUM(G10:G25). CGST total: =SUM(H10:H25). SGST total: =SUM(I10:I25). IGST total: =SUM(J10:J25). Grand total: =SUM(K10:K25).
Amount in words: Excel does not have a built-in currency-to-words function. You can use the open-source SpellNumber VBA function — paste it into a module and call it as =SpellNumber(K32). We include the full code in the downloadable template.
Every formula in the downloadable workbook, by cell
| Cell | What it does | Formula |
|---|---|---|
| H5 — Customer name | Looks up whichever customer code is chosen in H4 | =IFERROR(VLOOKUP($H$4,Customers!$A:$F,2,FALSE),"") |
| H6 — Customer GSTIN | Same lookup, column 3. Blank for a walk-in buyer | =IFERROR(VLOOKUP($H$4,Customers!$A:$F,3,FALSE),"") |
| H11 — Place of supply | Taken from the customer record, so it cannot be forgotten | =IFERROR(VLOOKUP($H$4,Customers!$A:$F,6,FALSE),"") |
| H13 — B2B or B2C | A blank GSTIN means an unregistered buyer | =IF(IFERROR(VLOOKUP($H$4,Customers!$A:$F,3,FALSE),"")="","B2C (unregistered)","B2B (registered)") |
| C16 — Item description | Pulled from the Item Master by item code | =IFERROR(VLOOKUP($B16,'Item Master'!$A:$F,2,FALSE),"") |
| I16 — GST % | The item's own rate, never typed per line | =IFERROR(VLOOKUP($B16,'Item Master'!$A:$F,6,FALSE),"") |
| H16 — Taxable value | Quantity times rate, rounded to two decimals | =IF(E16="","",ROUND(E16*G16,2)) |
| J16 — CGST | Half the rate, only when the two state codes match | =IF(H16="","",IF(LEFT(Settings!$B$7,2)=LEFT($H$11,2),ROUND(H16*I16/2,2),0)) |
| K16 — SGST | Always equal to CGST, so the two can never drift apart | =J16 |
| L16 — IGST | The full rate, only when the state codes differ | =IF(H16="","",IF(LEFT(Settings!$B$7,2)=LEFT($H$11,2),0,ROUND(H16*I16,2))) |
| B11 — Invoice number | Counts the Invoice Register rows, so the series advances itself | =Settings!$B$10&"/"&Settings!$B$11&"/"&TEXT(Settings!$B$12+1,"0000") |
| B12 — Due date | Thirty days from the invoice date. Change the 30 to your terms | =E11+30 |
| M35 / M36 — Round off and grand total | Rounds to the nearest rupee and shows the difference on its own line | =ROUND(M34,0)-M34 and =ROUND(M34,0) |
The one formula that decides CGST/SGST against IGST
Most hand-built invoice sheets put a supply type dropdown next to the total and ask the person billing to set it correctly. That works until somebody forgets, and then a local sale carries IGST, the buyer cannot match it in their GSTR-2B, and you are issuing a credit note to fix a typing mistake.
The workbook removes the choice. Your state lives in Settings!B7 and the place of supply arrives with the customer in H11, both written as code plus name, like 27 Maharashtra or 29 Karnataka. Comparing the first two characters compares the state codes, which is safer than comparing names people spell differently:
=LEFT(Settings!$B$7,2)=LEFT($H$11,2)
TRUE means an intra-state supply, so the rate halves into CGST and SGST. FALSE means inter-state, so the full rate goes to IGST. The total a customer pays is identical either way — it is the split that changes, and the split is what has to match when they reconcile. If the distinction is new to you, our guide to CGST, SGST and IGST works through it properly.
One case the formula deliberately does not try to guess: a supply to a Special Economic Zone, or an export, is treated as inter-state regardless of geography. If you bill either, set the customer's state on the Customers sheet to a different code from your own so IGST applies, and see our export invoice format guide.
Auto Invoice Numbering in Excel — Two Approaches
Sequential invoice numbering is legally required for GST. The CGST Act requires invoices to be numbered sequentially without gaps or duplicates. Manual numbering is error-prone — people forget to increment, duplicate, or accidentally reuse numbers.
Approach 1 — Settings sheet counter (simple, no VBA): In the Settings sheet, create a cell called 'Last Invoice Number' with an initial value (e.g., 100). On the Invoice sheet, the invoice number field references this cell. This shows the next number to be used. After you save and print the invoice, you manually update the Settings!B1 cell to the used number. Simple but requires discipline.
Approach 2 — VBA macro auto-increment (recommended): This approach automatically saves the invoice to a folder and increments the counter. Add this VBA code to a module in your workbook:
Sub SaveInvoice
Dim newNum As Long
newNum = Sheets("Settings").Range("B1").Value + 1
Sheets("Settings").Range("B1").Value = newNum
Sheets("Invoice").Range("B5").Value = "INV-" & Format(newNum, "0000")
Dim savePath As String
savePath = "C:\Invoices\" & Sheets("Invoice").Range("B5").Value & ".pdf"
Sheets("Invoice").ExportAsFixedFormat Type:=xlTypePDF, Filename:=savePath
MsgBox "Invoice " & Sheets("Invoice").Range("B5").Value & " saved to " & savePath
End Sub
Assign this macro to a 'Save & Print' button on your invoice sheet. When clicked, it increments the number, saves a PDF, and shows a confirmation. The number is now permanently recorded.
Resetting at financial year start: Indian businesses reset invoice sequences at April 1. In your Settings sheet, add a 'FY Prefix' cell with value '2025-26'. Change the invoice number formula so it joins the financial-year prefix to the running number. This generates numbers like INV-2025-26-0042.
Customer Auto-Fill Using VLOOKUP and Dropdown
Typing customer GSTIN, address, and state code from scratch every invoice is tedious and error-prone. Here is how to build a customer auto-fill system in Excel.
Build the Customers sheet: Create columns: Customer Name (A), GSTIN (B), Address Line 1 (C), City (D), State (E), State Code (F), Email (G), Phone (H). Fill in your regular customers — one row per customer. Sort the list alphabetically by name for easier lookup.
Customer dropdown on Invoice sheet: Click the customer name cell (e.g., B8). Go to Data → Data Validation → List. In Source, enter: =Customers!$A:$A. Now you have a searchable dropdown of all customers.
Auto-populate GSTIN and address: When a customer is selected from the dropdown in B8, these cells auto-fill:
GSTIN: filled from the Customers sheet.
Address: filled from the Customers sheet.
City: filled from the Customers sheet.
State: filled from the Customers sheet.
State Code: filled from the Customers sheet.
Auto-determine supply type: Based on the customer's state code vs your state code (in Settings!B3), automatically set the supply type. This drives the CGST/SGST vs IGST calculation without manual selection.
Amount in words, without the SpellNumber macro
Every Excel invoice needs the total in words, and every tutorial on the internet answers with the SpellNumber VBA function. VBA has a real cost: the file has to be saved as .xlsm, Excel opens it with a macro warning, many corporate laptops block macros outright, and Google Sheets and the Excel mobile app will not run it at all. An invoice you cannot open on your phone is a poor invoice.
The downloadable workbook does it with formulas instead. A hidden helper sheet holds a lookup table of the numbers 0 to 99 against their English words. The grand total is then split into Indian place-value segments — crore, lakh, thousand, hundred, the remainder and paise:
=INT(M36/10000000) for crore, =INT(MOD(M36,10000000)/100000) for lakh, =INT(MOD(M36,100000)/1000) for thousand, =INT(MOD(M36,1000)/100) for hundred, and =MOD(INT(M36),100) for what is left.
Each segment is turned into words with a plain lookup, =IFERROR(VLOOKUP(E2,'Words (helper)'!$A$2:$B$101,2,FALSE),TEXT(E2,"0")), and the pieces are joined with their place names, skipping any segment that is zero so you never get Zero Lakh. The result reads Rupees Two Lakh Forty Five Thousand Six Hundred and Twenty Only, in the Indian crore-lakh system rather than the millions that most off-the-shelf macros produce.
Because it is only VLOOKUP, INT, MOD and concatenation, the file stays a plain .xlsx and keeps working in Google Sheets.
When this workbook stops being enough
This file will carry a small business a long way, and for a few invoices a month it is genuinely the right tool. There are four points where it stops being enough, and they arrive in roughly this order.
When you need GSTR-1 out of it. The workbook totals an invoice; it does not produce a return. Every month you or your accountant re-key the figures, and re-keying is where mismatches against GSTR-2B come from.
When two people invoice at once. The auto-incrementing number counts rows in one file. Two copies of that file on two laptops will happily issue the same invoice number twice, and a duplicate number in a financial year is exactly what an officer looks for. Our guide to GST invoice number rules covers what the series has to satisfy.
When you cross the e-invoicing threshold. Above ₹5 crore aggregate turnover you must report invoices to an Invoice Registration Portal and print the IRN and QR code on them. No spreadsheet can mint an IRN. See our e-invoicing guide and the current threshold.
When you need to know who has not paid. A folder of invoice files cannot tell you what is outstanding, and that question is usually what finally ends the spreadsheet era.
We have written the honest version of this comparison in Excel billing against GST software, including the cases where staying in Excel is the correct decision.
Where Excel Reaches Its Limits for GST Invoicing
Our Honest Recommendation: When to Use Excel vs Software
We built myBillPlease primarily for businesses that have outgrown Excel, but we are honest about when Excel still makes sense. If you issue fewer than 10 invoices per month, have only a few customers, and do not need GSTR-1 export, a well-built Excel template works fine.
But if you are creating 20+ invoices per month, have 50+ customers, need GSTR-1 data for filing, send invoices by email and WhatsApp regularly, or need to track outstanding payments — the Excel setup described in this guide will save you time for 3 months and then become a burden.
The myBillPlease invoice generator is free for the first 30 days with no invoice limit. It has every feature described in this guide — GST auto-calculation, auto invoice numbering, customer auto-fill, and GSTR-1 export — without any formulas or VBA. It also works on mobile, which Excel does not.
We have a free plan with 30 days full access. Start here — you can always go back to Excel if it does not fit your workflow.
Frequently asked questions
- How do I make GST calculate automatically in Excel?
- To auto-calculate GST in Excel, set up a column for taxable value (quantity x unit price), a column for GST rate, and separate columns for CGST, SGST, and IGST. Use the formula =ROUND(taxable_value * gst_rate / 200, 2) for CGST and the same for SGST (both are half the total GST rate for intra-state). For inter-state, use =ROUND(taxable_value * gst_rate / 100, 2) for IGST. Use an IF statement based on a supply-type cell to toggle between intra and inter-state calculation automatically. This way, when you change the supply type dropdown, all tax values update instantly.
- Can I auto-number invoices in Excel without VBA?
- You can semi-automate invoice numbering without VBA by maintaining a counter cell in a Settings sheet that you manually increment after each invoice. Reference this counter in your invoice number formula: ='INV-'&TEXT(Settings!B1,'0000'). After creating each invoice, go to the Settings sheet and add 1 to the counter. This is not fully automatic but prevents duplicates since you control the counter centrally. For true automation — where the number increments when you click a button — you need a simple VBA macro as described in this guide. The macro is beginner-friendly and requires no programming knowledge.
- What GST rates should my Excel invoice template use in 2026?
- After GST 2.0 reform effective September 22, 2025, set up your Excel GST rate dropdown to show only four values: 0, 5, 18, and 40. Remove 12 and 28 — those slabs are abolished. The 5% rate covers essential goods, packaged food, medicines, and basic clothing. The 18% rate is the standard for most goods and services including consumer electronics, furniture, and professional services. The 40% rate applies only to tobacco, aerated drinks, luxury vehicles, and sin goods. Update your Products sheet with the new rates for all items that previously fell under 12% or 28%.
- Is an Excel invoice legally valid for GST in India?
- An Excel-generated invoice is legally valid for GST as long as it contains all mandatory fields under Rule 46 of the CGST Rules: supplier GSTIN, invoice number, date, buyer GSTIN (for B2B), place of supply, HSN/SAC code, description, quantity, unit price, GST rate, CGST/SGST/IGST amounts, and total value. The government does not mandate any specific software. However, for businesses above Rs 5 crore turnover, e-invoicing through the Invoice Registration Portal is mandatory — which Excel cannot support without API integration.
- What is the SpellNumber VBA function for Indian Rupees?
- SpellNumber is a popular open-source VBA function that converts a numeric amount into words in English. For Indian Rupees, you need a version that handles lakhs and crores correctly — not the US version that handles millions and billions. Search for 'SpellNumber Indian Rupees VBA' and you will find several free versions. Paste the function code into the Excel Visual Basic Editor (Alt+F11, Insert Module, paste code). Then use it in your invoice as =SpellNumber(B32) where B32 is your grand total cell. It outputs text like 'Rupees Eleven Thousand Eight Hundred Only.'
- How many invoices can I realistically manage in Excel before it becomes unmanageable?
- Most businesses find Excel invoice management workable up to about 100-150 invoices per year. Beyond that, searching old invoices, tracking unpaid bills, preparing GST summary data for filing, and managing customer credit limits becomes time-consuming and error-prone. The practical limit also depends on how many customers and products you have — 200 invoices for 5 regular customers is manageable, but 200 invoices for 80 different customers with 50 products each creates significant lookup and tracking complexity. If you spend more than 30 minutes per week on invoice administration in Excel, it is time to consider a dedicated billing tool.
- Where can I download a fully automatic invoice in Excel free with formulas?
- The file linked at the top of this page is free and needs no sign-up. It contains a VLOOKUP-driven item master and customer master, automatic CGST and SGST or IGST selection based on the place of supply, an invoice number series that advances from a register sheet, a due date, round-off and the amount in words. It deliberately contains no macros, so it saves as a plain .xlsx, opens without a security warning and still works in Google Sheets and the Excel mobile app.
- How do I get the amount in words in Excel without VBA?
- Use a lookup table instead of a macro. Put the numbers 0 to 99 and their English words on a helper sheet, split the total into Indian place-value segments with INT and MOD (crore = INT(total/10000000), lakh = INT(MOD(total,10000000)/100000), thousand = INT(MOD(total,100000)/1000), hundred = INT(MOD(total,1000)/100), remainder = MOD(INT(total),100)), convert each segment with VLOOKUP, then join them with their place names and skip any segment that is zero. The downloadable workbook on this page is built exactly this way, which is why it stays a .xlsx rather than an .xlsm.
- Will the automatic GST calculation break if I sell outside my state?
- No, that is the case it is built for. The workbook compares the two-digit state code of your place of business against the two-digit code of the customer's state. If they match, the GST rate splits in half into CGST and SGST. If they differ, the whole rate is charged as IGST and the CGST and SGST columns show zero. The customer's state comes from the Customers sheet, so picking the customer sets the place of supply and nobody has to remember a dropdown. For exports and SEZ supplies, which count as inter-state whatever the geography, give the customer a state code different from your own.




