Tax on invoices
How the app picks CGST and SGST or IGST, fills item rates from HSN codes, and applies reverse charge.
The app runs on Quotation, Sales Order, Delivery Note, Sales Invoice, Purchase Order, Purchase Receipt and Purchase Invoice. On every save it fills the place of supply, picks the taxes template, and stores each item's GST rates and amounts.
How a sale gets its taxes
Place of supply. The app reads it from the customer's GSTIN, as 24-Gujarat. An unregistered customer's place of supply comes from the billing address's state. An Overseas customer shipping outside India gets 96-Other Countries.
Inter-state or not. The supply is inter-state when the place of supply's state number differs from the first two digits of the company GSTIN. An SEZ party's supply is always inter-state.
Template. The app picks the company's taxes template for that case: Output GST In-state for a sale within the state, Output GST Out-state across states, or an RCM template under reverse charge.
Item rates. Each row takes its rates from the item's Item Tax Template, such as GST 18%. The app stores the item's taxable value and its IGST, CGST, SGST and cess rates and amounts.
Cess, exports, SEZ and e-commerce sales are on Cess, exports and ISD.
For purchases the logic mirrors this. The source state is the supplier's GSTIN, and the templates are the Input GST ones.
Worked example
The company is in Gujarat, so its GSTIN starts with 24. Default GST Rate is 18. An item is on GST 18%. Two sales of 10 units at 100 each:
| Customer in Gujarat | Customer in Karnataka | |
|---|---|---|
| Place of supply | 24-Gujarat | 29-Karnataka |
| Supply | Intra-state | Inter-state |
| Template | Output GST In-state | Output GST Out-state |
| Net total | 1,000.00 | 1,000.00 |
| SGST 9% | 90.00 | |
| CGST 9% | 90.00 | |
| IGST 18% | 180.00 | |
| Grand total | 1,180.00 | 1,180.00 |
The tax rows post to Output Tax SGST and Output Tax CGST in the first case and to Output Tax IGST in the second. Charging IGST on the Gujarat sale, or CGST on the Karnataka sale, is refused on save.
HSN and SAC codes
Each Item links to a GST HSN Code. The app ships the government's HSN and SAC master, 18,687 codes. A code can hold Item Tax Templates in its Taxes table, and the app can copy those rows to every Item with that code in one background job.
With Validate HSN/SAC Code on in GST Settings, a sales item without a code, or with fewer digits than Minimum HSN/SAC Code Digits, is refused. Codes starting with 99 are services (SAC).
Reverse charge
| Case | How to turn it on | What happens |
|---|---|---|
| Purchase from an unregistered supplier | Enable Reverse Charge for Purchase from Unregistered Supplier in GST Settings | A purchase whose grand total is above Invoice Value Threshold for Reverse Charge (5,000 by default) gets Is Reverse Charge and the Input GST RCM template |
| Supplier with Reverse Charge Applicable | Tick it on the Supplier | Its purchases get Is Reverse Charge and the RCM template |
| Any other purchase | Tick Is Reverse Charge on the voucher | The RCM template applies |
| Sales | Enable Reverse Charge in Sales Transactions in GST Settings | Is Reverse Charge is allowed on a sale |
Take a purchase of 10,000 within the state from an unregistered supplier at 18%.
Input Tax CGST +900 (Add)
Input Tax SGST +900 (Add)
Input Tax CGST RCM -900 (Deduct)
Input Tax SGST RCM -900 (Deduct)
Grand total 10,000You pay the 1,800 to the government yourself and claim it as input credit. The supplier is paid 10,000.
Invoice numbers
GST allows a document number of at most 16 characters, made of letters, digits, - and /. The app refuses a submit that breaks this. It sets the short series SINV-.YY.-, PINV-.YY.-, DN-.YY.- and PR-.YY.- as the default on the four vouchers.
Printing
Sales Invoice prints with GST Tax Invoice by default. It shows both parties' GSTINs, the place of supply, each item with its HSN or SAC code, the GST breakup table, the e-waybill number and the amount in words in lakh and crore. Purchase Invoice prints with GST Purchase Invoice.