A GST invoice can fail for reasons that have nothing to do with the tax maths: a serial number over 16 characters, a missing place of supply, a 4-digit HSN where 6 digits are required. Rule 46 of the CGST Rules lists the contents field by field, and many templates cover only part of it. This post has free Excel, Word and PDF templates with every Rule 46 field placed, an ERPNext print format with the signed e-invoice QR, and the serial-number and HSN rules.
The invoice defects we find in ERPNext reviews are usually not wrong tax. They are a Rule 46 field nobody knew was required. I lead ERPNext and Frappe programmes at MithTech, a team of Frappe specialists in Bengaluru. The templates below are the layout we use for clients, without the branding.
Where do you get the templates?
Three files, every Rule 46 field placed, no sign-up. The Excel version computes taxable value, CGST/SGST/IGST splits and the grand total for you.
Download
Template Downloads
Free GST invoice templates for 2026 — Excel with live formulas, an editable Word layout, and a print-ready PDF, each with all mandatory fields and an IRN/QR placeholder.
Every mandatory field, itemised
The GST invoice format is not a design question — it is a checklist in Rule 46 of the CGST Rules. The table is the whole rule in one scan:
17 rows
| Field | Clause | Applies to |
|---|---|---|
| Supplier name, address, GSTIN | 46(a) | Every invoice |
| Serial number — consecutive, unique per FY, ≤16 chars, alphanumeric + "-" "/" | 46(b) | Every invoice |
| Date of issue | 46(c) | Every invoice |
| Recipient name, address, GSTIN | 46(d) | Registered (B2B) buyers |
| Recipient name, address, delivery address, state and code | 46(e) | Unregistered buyers, taxable value ₹50,000 or more |
| HSN / SAC code | 46(g) | 4 digits up to ₹5 crore preceding-year turnover (B2B); 6 digits above |
| Description of goods / services | 46(h) | Every invoice |
| Quantity + unit (UQC) | 46(i) | Goods |
| Total value | 46(j) | Every invoice |
| Taxable value after discount | 46(k) | Every invoice |
| Tax rate and amount — CGST, SGST/UTGST, IGST, cess shown separately | 46(l), 46(m) | Every taxable invoice |
| Place of supply + state name | 46(n) | Inter-state supplies |
| Delivery address, if different | 46(o) | Where it differs |
| Reverse-charge statement | 46(p) | RCM supplies |
| Signature / digital signature | 46(q) | Not needed on an electronic invoice (proviso to Rule 46) |
| Export / SEZ endorsement wording | 46, proviso | Exports and SEZ supplies |
| IRN + signed QR code | 48(4) | e-invoice-mandated businesses |
Pick your invoice type below and the checker collapses that table to exactly what your document needs:
Interactive
Mandatory Field Checker
Choose B2B, B2C, export, SEZ or reverse-charge — see the exact Rule 46 fields your invoice must carry, with clause references.
What are the serial number rules?
Rule 46(b) is the clause businesses break most often without noticing. The serial number must be consecutive, unique for the financial year, 16 characters or fewer, and use only letters, numerals, hyphen and slash. Count yours: INV/2026-27/KA/00001 is 20 characters, so it fails on length before anyone checks uniqueness. A compact series such as SINV-2627-00001 (15 characters) fixes it and leaves room for 99,999 invoices. How ERPNext's counter behaves at the new financial year is in our April 2026 GST changes post. In short, Frappe keys the counter on the series prefix, so a new prefix starts again at 1.
How many HSN digits do you need?
How many digits you print depends on your aggregate turnover in the preceding financial year, under Notification 78/2020-Central Tax (in force from 1 April 2021):
Calculator
HSN Digit Picker
Enter your AATO and invoice type — get the 4-digit or 6-digit HSN verdict under Notification 78/2020.
In ERPNext the HSN travels with the item, not the invoice. india_compliance adds gst_hsn_code to Item and fetches it onto every invoice line (custom_fields.py:686, fetched from item_code.gst_hsn_code). Fix the master once and every future document inherits it. An item master with blank or 2-digit HSNs is a common reason GSTR-1 HSN summaries fail validation.
Exports, SEZ, reverse charge and bills of supply
Four variants change the format, and the checker above handles each. The details worth stating in prose:
- Exports and SEZ supplies carry an endorsement in fixed wording. With IGST: "SUPPLY MEANT FOR EXPORT/SUPPLY TO SEZ UNIT OR SEZ DEVELOPER FOR AUTHORISED OPERATIONS ON PAYMENT OF INTEGRATED TAX". Under LUT: "…UNDER BOND OR LETTER OF UNDERTAKING WITHOUT PAYMENT OF INTEGRATED TAX". An LUT is valid for one financial year, so it is renewed before the first zero-rated invoice of each year; see the FY cutover post.
- Reverse charge invoices must say so on their face (Rule 46(p)). In ERPNext this is the
is_reverse_chargeflag, and the print format below prints the statement from it. - Bills of supply replace tax invoices for exempt supplies and composition dealers. Same skeleton, no tax columns. Composition dealers add "composition taxable person, not eligible to collect tax on supplies".
- e-Invoices additionally carry the IRN and the IRP's signed QR. Whether that applies to you is a turnover question — the ₹5 crore rule and its exemptions are covered in our e-invoice guide.
The ERPNext print format
If you run ERPNext, the Excel and Word files are the wrong tool: the invoice should render from live data. The India Compliance app (Resilient Tech's GST app for ERPNext) already ships stock formats, GST Tax Invoice, e-Invoice and GST POS Invoice (india_compliance/gst_india/print_format/, checked at v16.6.0). Use them if you want no upkeep. The custom format below is for when you want your own branding and layout without losing a required field.
Code recipe
ERPNext Print Format
A complete, Rule 46-compliant Jinja print format for Sales Invoice — plus the signed e-invoice QR block, a five-step install, and optional print CSS.
Every field it reads exists in India Compliance. company_gstin, billing_address_gstin, place_of_supply and is_reverse_charge come from india_compliance's custom fields. Per-item taxable_value (custom_fields.py:710) and gst_hsn_code (:686) carry the line-level compliance data, and irn (:1433) feeds the e-invoice row. The QR block uses the exact idiom of the stock e-Invoice format (e_invoice.html, lines 7–93). It fetches the signed payload from the e-Invoice Log and renders it through get_qr_code(), which india_compliance whitelists for print Jinja.
Design once, lock it
Invoice formats drift. Someone adds a marketing tagline. Someone else deletes the "reverse charge" line because it "never applies to us". Months later an auditor finds a quarter of faulty prints. What prevents it:
- Accounts owns the format, not sales and not the designer. Layout requests route through whoever answers to the auditor.
- The format lives in git. Print Formats are database records — export them as fixtures from a small custom app (
bench export-fixtures). Changes become commits with authors and dates instead of anonymous edits. - One format per document variant, not one per person's taste. Tax invoice, bill of supply, export invoice — three formats, three names, defaults set per use, no "final-v2-new".
0 of 5 steps done
Tick a step’s number when it is done; the ticks stay on this device.
Adopt a format — stock or the one above
Zero-maintenance: india_compliance's stock GST Tax Invoice. Branded: the custom Jinja format from the recipe, installed as a new Print Format with Custom Format on.
Verify masters before the first print
Address GSTINs, item HSN digit-length, GST Settings applicability. The pre-flight callout above is the three-line audit.
Print every variant you actually issue
Intra-state, inter-state, export under LUT, reverse charge. Check each against the field checker — variants fail individually, not together.
Set defaults and remove the alternatives
Default the format on Print Settings (or per customer where needed), and disable retired formats so nobody prints the 2023 layout by accident.
Export as fixtures
bench --site yoursite export-fixtures with Print Format in a custom app's fixtures list. The format now migrates, moves and rolls back with git.
What should your format policy cover?
Invoice Format Policy (draft — for CA / auditor review): The company maintains exactly three sales print formats — Tax Invoice, Bill of Supply, Export Invoice — owned by the finance controller. Format changes are made only via fixture-tracked commits, reviewed by accounts before deployment. Serial series are 16 characters or fewer, FY-prefixed, and created before each financial year per the FY-cutover runbook. Item masters are audited quarterly for HSN digit-length against current AATO; address masters are audited for GSTINs on every new B2B customer. Any invoice printed on a non-standard format is treated as a compliance incident, not a formatting preference. Ratify with your CA — businesses issuing self-billed or ISD documents need two more formats and matching rules.
Should you fix the format now, or at the next audit?
| Fix this week | Genuinely fine as-is |
|---|---|
| Serial numbers over 16 characters, or repeating across FYs | Series like SINV-2627-00001 — compliant with headroom |
| B2B prints showing 'Unregistered' because address GSTINs are blank | GSTINs maintained on every registered customer's address |
| 4-digit HSNs after crossing ₹5 crore AATO | 6-digit HSNs on item masters, verified this FY |
| e-invoice business printing invoices without IRN + signed QR | QR rendered from the e-Invoice Log on every applicable print |
Common questions teams ask about the format
What details are mandatory on a GST invoice?
Rule 46 lists the contents in clauses (a) to (q). The core set: supplier name, address and GSTIN, a compliant serial number and date, recipient details (with GSTIN for B2B), HSN/SAC codes, description, quantity and unit. Then the money fields: total and taxable values, with tax shown separately by type and rate. Finally the conditionals — place of supply for inter-state sales, reverse-charge status, and a signature, which an electronic invoice doesn't need. The table and checker in this post map each to its clause.
Is there a government-prescribed GST invoice design?
No. GST law prescribes content, not layout — any design works if every Rule 46 field is present and legible. That is why the templates here focus on field completeness first and styling second.
Can I issue a handwritten GST invoice?
Yes. The rules require the mandatory fields, serial discipline and copies (triplicate for goods, duplicate for services, Rule 48), not software. A business covered by e-invoicing (aggregate turnover over ₹5 crore in any year from 2017-18) can't stay handwritten for B2B invoices, because each needs an IRN from the IRP.
How long can a GST invoice number be?
Sixteen characters maximum, using letters, numerals, hyphen and slash only. It must be consecutive and unique within the financial year. Longer series — common in multi-branch formats — are non-compliant even when everything else is perfect.
When do I need 6-digit HSN codes?
When aggregate turnover in the preceding financial year was more than ₹5 crore: 6 digits on every invoice, B2B and B2C. Up to ₹5 crore, 4 digits are mandatory on B2B invoices and optional on B2C. Notification 90/2020-Central Tax requires 8 digits for 49 specified chemicals.
What happens if my invoice format is missing a mandatory field?
The document risks not being a valid tax invoice, which puts your buyer's input tax credit at risk. Penalties depend on the defect: section 122 covers an incorrect or false invoice, and section 125 sets a general penalty of up to ₹25,000 where no other penalty applies. Ask your CA which applies to your case. A wrong template repeats the defect on every invoice until someone notices.
Does ERPNext come with a GST invoice format built in?
Through the India Compliance app, yes: it ships stock GST Tax Invoice, e-Invoice and GST POS Invoice print formats that cover Rule 46. Plain ERPNext without the app has no GST format. The custom format in this post is for businesses that want their own branding and layout while keeping every required field.
Which ERPNext version does this post apply to?
Field names and the QR mechanism are checked against ERPNext v16.28.0 with India Compliance v16.6.0. The same fields exist in v15. Rule 46 itself doesn't depend on software: the checklist applies to whatever you print from.
What related issues might you hit?
- GST changes from 1 April 2026 — the fresh-series requirement, LUT renewal and the rest of the FY cutover this format plugs into.
- The e-invoice limit and who's exempt — whether the IRN + QR row applies to you at all.
- The e-invoice IRP round-trip in ERPNext — how the signed QR this format prints actually gets generated.
What is the bottom line?
Rule 46 is a fixed checklist, and every field on it is in the templates and print format above. What keeps invoices compliant is ownership: one format, one owner, version-controlled, with masters checked so fields never print blank. Download the file that fits, or let ERPNext render it from live data.
Comments & ratings
No comments yet. Start a new discussion.
Manoj · Published on 6 August 2026
Worked with us? Leave a Google review