A GST-compliant tax invoice without the tax-table guesswork
Indian GST invoicing has strict requirements: both parties’ GSTINs, HSN or SAC codes per line, the correct CGST/SGST or IGST split, and a reverse-charge indicator. This builder collects each field, decides the tax treatment from the place of supply, and produces a clean tax invoice you can file or paste into accounting software.
How it works
The core rule is the place-of-supply test. The builder compares the supplier’s state with the recipient’s state: when they match, the supply is intra-state and each line’s GST is split equally into CGST and SGST; when they differ, the supply is inter-state and the full GST is charged as IGST. Each line’s taxable value is quantity multiplied by rate, and tax is that value multiplied by the chosen GST slab — 0, 5, 12, 18, or 28 percent. The builder then totals the taxable value and each tax head separately and adds them for the grand total. A reverse-charge flag is printed when set, signalling that the recipient bears the GST liability.
Tips and example
Always confirm the recipient’s state from their GSTIN — the first two digits are the state code, and getting it wrong flips your invoice between CGST/SGST and IGST. A ₹50,000 intra-state supply at 18 percent produces ₹4,500 CGST and ₹4,500 SGST for ₹9,000 total tax; the same supply inter-state produces a single ₹9,000 IGST line. Use the correct HSN/SAC code per item, since GST rates are tied to classification. For exports and reverse-charge supplies, set the relevant flag so the invoice states the treatment clearly.