Technical

Indian GST in Odoo: Localisation, GSTIN, Taxes, HSN and GSTR Setup

A step-by-step guide to setting up Indian GST in Odoo: the Indian localisation, GSTIN on company and partners, CGST/SGST/IGST taxes, inter-state fiscal positions, HSN codes and GSTR reports.

Kalvyai Engineering · · Updated · 7 min read

Indian GST in Odoo: Localisation, GSTIN, Taxes, HSN and GSTR Setup (cover)
On this page

Most GST problems in Odoo come from setup, not from Odoo itself. Common examples are a missing state on a customer, a GSTIN in the wrong field, or a product with no HSN code. Once invoices are posted with wrong taxes, fixing them means credit notes and amended returns.

This guide walks through the setup in the order we use on client projects. It covers the Indian localisation, GSTIN, CGST/SGST/IGST taxes, inter-state fiscal positions, HSN codes and the GSTR reports.

Odoo's Indian localisation has changed a lot between versions. Field labels, menu paths and which reports are available depend on your Odoo version and on whether you run Community or Enterprise. Where a detail depends on your version, we mark it so you can check it in your own database.

What the Indian localisation gives you

The base module is Indian - Accounting (technical name l10n_in). When you install it, or pick India as the company's fiscal country on a new database, you get:

  • An Indian chart of accounts.
  • GST taxes, split into CGST, SGST and IGST components.
  • Fiscal positions for intra-state, inter-state and export or SEZ sales.
  • GST fields on partners, products and invoices, including GST treatment, HSN/SAC code and place of supply.
  • Indian invoice layouts that show GSTIN, HSN and the tax split.

Other modules add e-invoicing, e-way bills and the GSTR return reports. Several of these are Enterprise-only.

Step 1: Install the localisation

  1. Go to Apps, remove the "Apps" filter and search for l10n_in.
  2. Install Indian - Accounting.
  3. In accounting settings, confirm the fiscal localisation package is set to India.
  4. If the company already has a different chart of accounts with posted entries, stop here. Switching charts on a live company is not a simple toggle. Plan a migration, or create a new company for the Indian entity.

Step 2: Set up the company GSTIN and state

Odoo decides between CGST+SGST and IGST by comparing the state of your company (or branch) with the place of supply. If the company state is wrong, every invoice will be wrong.

  1. Open Settings > Companies and edit your company.
  2. Fill in the full address. Set State and Country = India.
  3. Enter the GSTIN in the tax ID field. With the Indian localisation it is labelled GSTIN.
  4. Save, then check that the GSTIN passes validation.

A GSTIN has 15 characters:

Plain text
33  AABCK1234F  1  Z  5
|   |           |  |  |
|   |           |  |  check digit
|   |           |  default letter 'Z'
|   |           entity number for the same PAN
|   PAN of the business
state code (33 = Tamil Nadu)

The first two digits must match the state you set on the company. A GSTIN starting with 33 on a company whose state is Karnataka is a common mistake, and it leads to the wrong tax split.

If you have registrations in more than one state, each GSTIN is a separate registration. In Odoo this usually means a separate company or branch for each GSTIN, each with its own state and journals.

Step 3: Set up partners with GSTIN, state and GST treatment

Every customer and vendor needs three things to be right.

State

This is the most important field for tax calculation. A partner with no state can cause Odoo to fall back to the wrong fiscal position.

GSTIN

Enter it in the same tax ID field as on the company. It is required for registered businesses and should be left empty for consumers.

GST treatment

The localisation adds a GST Treatment field to partners. This field drives how invoices are classified in the GSTR reports. The options include:

  • Registered Business - Regular
  • Registered Business - Composition
  • Unregistered Business
  • Consumer
  • Overseas
  • Special Economic Zone
  • Deemed Export
  • UIN Holders

A B2B invoice to a partner marked "Consumer" will land in the B2C section of GSTR-1 instead of B2B. Your customer will then not see the credit in their GSTR-2B.

For imported partners, run a quick audit before go-live. This script uses Odoo's external API to list registered partners with no GSTIN and partners with no state:

Python
import xmlrpc.client

URL = "https://your-odoo.example.com"
DB = "your_db"
USER = "admin@example.com"
KEY = "your_api_key"

common = xmlrpc.client.ServerProxy(f"{URL}/xmlrpc/2/common")
uid = common.authenticate(DB, USER, KEY, {})
models = xmlrpc.client.ServerProxy(f"{URL}/xmlrpc/2/object")

# Registered partners without a GSTIN
missing_gstin = models.execute_kw(
    DB, uid, KEY, "res.partner", "search_read",
    [[
        ("l10n_in_gst_treatment", "in", ["regular", "composition"]),
        ("vat", "=", False),
    ]],
    {"fields": ["name", "l10n_in_gst_treatment"]},
)

# Indian partners without a state
missing_state = models.execute_kw(
    DB, uid, KEY, "res.partner", "search_read",
    [[("country_id.code", "=", "IN"), ("state_id", "=", False)]],
    {"fields": ["name"]},
)

print("Registered without GSTIN:", len(missing_gstin))
print("Indian partners without state:", len(missing_state))

Check the field names and selection values against your version before you run it.

Step 4: Understand the CGST, SGST and IGST taxes

The localisation creates GST taxes as groups. For example, a "GST 18%" tax is a group of two child taxes:

Plain text
GST 18%  (group, used on intra-state sales)
  ├── CGST 9%
  └── SGST 9%

IGST 18% (single tax, used on inter-state sales)

Each component posts to its own account, such as CGST payable, SGST payable and IGST payable. This keeps the ledgers and returns separate.

Practical points:

  1. Set default taxes on products, not on each order line. Put the intra-state GST group on the product's customer taxes and vendor taxes. The fiscal position switches it to IGST when needed.
  2. Archive rates you do not use. The chart may include slabs your business never charges. Archiving them reduces picking mistakes.
  3. Keep rates current. GST rates and slabs are changed by GST Council decisions. When rates change, create or update taxes and update products from the effective date. Do not edit a tax that already has posted entries.
  4. Cess and other levies. If you sell goods that attract compensation cess, check that the cess taxes in the chart match your products.

Step 5: Fiscal positions for inter-state sales

A fiscal position maps one tax to another. For Indian GST, the key mapping replaces each intra-state GST group with the matching IGST rate:

Plain text
Fiscal position: Inter State
  GST 5%   ->  IGST 5%
  GST 18%  ->  IGST 18%
  (one line per rate you use)

The localisation also provides positions for exports and SEZ supplies, where IGST may apply or the supply may be zero-rated under LUT.

How Odoo picks the fiscal position

In recent versions, the Indian localisation sets the fiscal position automatically. It compares the company state with the invoice's Place of Supply, which defaults from the customer's state.

In older versions, or if you build your own positions, you can use the Detect Automatically option with country and state conditions on each fiscal position.

What to check

  1. Open Accounting > Configuration > Fiscal Positions and confirm every GST rate you use has an IGST mapping. A missing line means that rate stays as CGST+SGST on inter-state invoices.
  2. On a test invoice, change the customer to one in another state. Confirm the fiscal position and taxes change.
  3. For deliveries to a different state than the billing address, confirm Place of Supply follows the GST rules for your type of supply. Override it on the invoice where needed.

Step 6: HSN and SAC codes on products

The localisation adds an HSN/SAC Code field on products (l10n_in_hsn_code). The code is printed on invoices and used for the HSN summary in GSTR-1.

  1. Open each product and fill in the HSN code for goods or the SAC code for services.
  2. Use the number of digits your turnover band requires. Some versions include a company setting for the required HSN digit length and warn when a code is too short.
  3. Make sure services carry SAC codes, which start with 99, so they are not reported as goods.

To find products with no code, run this in the same script as above:

Python
no_hsn = models.execute_kw(
    DB, uid, KEY, "product.template", "search_read",
    [[("sale_ok", "=", True), ("l10n_in_hsn_code", "=", False)]],
    {"fields": ["default_code", "name"]},
)
for p in no_hsn:
    print(p["default_code"], p["name"])

For large catalogues, fill codes in a spreadsheet and import them by internal reference. Do not edit thousands of products by hand.

Step 7: Test before going live

Post these test invoices in a staging copy and check the tax lines, journal entries and printed PDF:

  1. B2B sale to a registered customer in your own state. Expect CGST + SGST.
  2. B2B sale to a registered customer in another state. Expect IGST.
  3. B2C sale to a consumer in your state.
  4. Export or SEZ sale, with and without payment of tax.
  5. Vendor bill from an in-state supplier and from an out-of-state supplier.
  6. A credit note against invoice 2.
  7. A service invoice with a SAC code.

Compare each journal entry with what your accountant expects before any real invoice is posted.

The GSTR reports

GSTR-1

GSTR-1 reports outward supplies. It is built from posted customer invoices and credit notes, split into sections such as B2B, B2C, exports, credit/debit notes and the HSN summary. Most section errors come from Step 3 (GST treatment) and Step 6 (HSN codes).

GSTR-3B

GSTR-3B is the monthly summary return of outward tax and input tax credit. It is built from the same posted entries, so it is only as good as the tax setup.

GSTR-2B and ITC reconciliation

GSTR-2B is the auto-drafted statement of input tax credit, based on what your suppliers filed. Matching it against your purchase register catches missing bills, wrong GSTINs and amount differences before you claim ITC.

Edition and version notes

In our experience, the dedicated GST return reports and direct filing integration are part of Odoo Enterprise's Indian reporting modules. Community users usually work from tax reports and custom exports.

If you need GSTR-2B matching, our GSTR-2B Purchase Reconciliation app reconciles GSTR-2B against your Odoo purchase register for ITC reconciliation.

Common mistakes we fix

  • Company state does not match the GSTIN prefix. Every tax split is then wrong.
  • Customers imported without a state. Fiscal positions do not trigger correctly.
  • Registered customers marked as Consumer. Their invoices go to B2C in GSTR-1.
  • Fiscal position missing an IGST line for one rate.
  • Tax rates edited in place after entries were posted, which changes history.
  • Products with no HSN code, or 4-digit codes where more digits are required.

How Kalvyai can help

We set up and audit Indian GST in Odoo. This includes localisation install or migration, cleaning partner and product data, fiscal position checks, and getting GSTR-1, GSTR-3B and GSTR-2B data right. See our Odoo services, browse our apps at store.kalvyai.com, or contact us to review your setup before your next filing.

Share this article

Last updated 28 Nov 2026

  • Odoo
  • GST
  • India
  • Accounting
  • Localisation
  • HSN
  • GSTR

Kalvyai Engineering · Engineering team

The engineers who build, connect and fix business systems at Kalvyai: Odoo, ERPNext, Shopify and AI agents that work inside them with approvals, budgets and an audit trail.

Comments

No comments yet. Questions and corrections are welcome.

Rate this post or leave a comment

Your rating (optional)
Not rated

Comments appear after an editor approves them. See our privacy notice.

Read next

WhatsApp Coexistence for Odoo 19: Setup and User Guide (cover)User guide
Kalvyai EngineeringOdoo

WhatsApp Coexistence for Odoo 19: Setup and User Guide

How to install, connect and use WhatsApp Coexistence for Odoo 19 so your team keeps replying from the WhatsApp Business app while Odoo logs every message on the same number.

7 min read

Newsletter

Get new guides in your inbox.

Practical notes on Odoo, ERPNext, Shopify and AI agents, written by the engineers who build them. No spam, and you can ask to stop at any time.

Prefer a feed? Subscribe by RSS. We use your email only to send new articles. See our privacy policy.