Ritesh Kumar Giri
November 28, 2026
7 min read

WooCommerce GST Invoice Setup in India and Common Fixes

Fix missing GSTIN or HSN codes and incorrect CGST, SGST or IGST on WooCommerce invoices. Check tax settings, product data and PDF output in order.

WooCommerce GST Invoice Setup in India and Common Fixes

Introduction

If a WooCommerce GST invoice shows the wrong tax split, start with the address and tax rules used at checkout. If the order tax is correct and the PDF is missing the GSTIN or HSN code, check where the invoice extension reads those fields. Compare one test order with its PDF before changing either setup.

Confirm your GST treatment with your accountant before applying these settings to live orders. Ask them to confirm the supplier registration, place-of-supply rules, product classifications, rates and invoice particulars for the orders you handle. The checks below are for domestic sales of physical goods.

Step 1. Establish what the invoice should show

Start with an order that reproduces the problem. Record the supplier registration used for the sale, whether the buyer is GST-registered, the billing and delivery states, and the state recorded on the invoice. Ask your accountant to confirm the expected place of supply and tax split for that order. This gives you a result to compare against before touching the tax table.

For a typical taxable sale within the same state, the expected components are central GST (CGST) and state GST (SGST). For a typical taxable sale between states, the expected component is integrated GST (IGST). That comparison uses the supplier's location and the legal place of supply. Section 10(1)(ca) of the IGST Act covers supplies of goods to unregistered buyers and uses the buyer's address recorded on the invoice, with a fallback to the supplier's location if the address is absent. Flag orders with different billing and delivery details for accountant review before choosing an address rule for the whole store. IGST Act, sections 7, 8 and 10

Step 2. Check which address WooCommerce uses

In WordPress, open WooCommerce → Settings → General. If the Tax tab is missing, check Enable tax rates and calculations and save. Go to WooCommerce → Settings → Tax → Tax options and inspect Calculate tax based on. Compare the selected option with the address your accountant confirmed. With Shop base address, WooCommerce uses your store location even when the customer enters a different delivery state.

For a test where the customer's shipping address represents the confirmed place of supply, try Customer shipping address on a staging copy. Enter the full address at checkout before judging the result. Repeat the test with different billing and delivery states if your customers can enter both. If your store needs different rules depending on the order, document the cases before changing the global setting. WooCommerce tax options

Step 3. Check the product class and matching tax rows

For a simple product, edit the product and open Product data → General. Review Tax status and Tax class. Compare the assigned class with the accountant-approved product mapping. If just one product shows the wrong tax split, test it by itself before changing the rates used by the rest of the catalogue. WooCommerce product editor

In WooCommerce → Settings → Tax, open the rate table for that class, such as Standard rates. Inspect the matching country and state entries, including any wildcard rows. WooCommerce applies the first matching rate at each priority. If CGST and SGST should both apply to the same taxable amount, give the two matching rows different priorities and leave Compound off. Check that the IGST rows cannot also match those orders. A broad IGST row can overlap a state-specific rule, so verify the result with a new checkout.

Set Display tax totals to Itemized on staging to see the individual tax labels in the cart and checkout. Compare both the names and the amounts with your expected result. If the difference appears only once delivery is added, check Shipping tax class and the Shipping checkbox on the relevant rate rows. WooCommerce rate tables and priorities

Step 4. Trace the GSTIN and HSN through to the PDF

Open the order and download its invoice. Check the supplier name, address and GSTIN against the registration used for the sale. For a registered buyer, trace the GSTIN from the buyer details captured for the order through to the invoice. For a missing HSN, first check the product data and then check whether the invoice template reads the field that holds the code. Test two products with different codes in one order so you can spot a template that repeats a single code on every line.

For an HSN lookup, go to the GST Portal and open Services → User Services → Search HSN Code. Search by HSN or Description and take the proposed code to your accountant for confirmation. Also confirm how many digits your invoice must show. GST Portal HSN search advisory

If you use the PDF Invoices extension documented by WooCommerce, open WooCommerce → PDF Invoices to review its settings. Its documentation describes template customisation for additional fields. If the correct values are already captured and the PDF still omits them, give your developer the order fields to map and a sample of the expected output. Compare the result with the applicable invoice particulars under Rule 46, including the invoice number and date, relevant identifiers, item details, tax amounts and the place-of-supply state for interstate sales. WooCommerce PDF Invoices documentation · CBIC CGST Rules, Rule 46

Free quote · reply within 24 hours

Stuck with a slow or broken WordPress site?

Tell us what's wrong. You get a fixed written quote to fix it, or rebuild it, within 24 hours.

WhatsApp us

Step 5. Run the same checks on new orders

Place one staging order for each tax split your accountant approved. Add a registered-buyer order with a GSTIN and test the full path through checkout, the saved order and the customer-facing PDF. Use test customer details. If you sell products in several tax classes, add a mixed basket and check the tax and HSN on each line. Keep the expected result beside the actual result so you can tell whether a later change affected tax calculation or PDF output.

When to call a developer

Bring in a developer if several supplier GSTINs can issue invoices from the same store, if the tax address has to change according to the order, or if the order is correct and the PDF cannot read the GSTIN or HSN. Share a redacted test invoice, the expected tax split, the product's tax class and the invoice extension name. For invoices already issued, ask your accountant how to handle corrections before changing saved documents.

See our WooCommerce payment integration service. If checkout and invoicing are correct and you're tracing a paid order stuck at pending, see Razorpay payment successful but WooCommerce order pending.

FAQs

Why does my PDF show IGST and CGST on the same order?

Start with the order tax lines. If both components are already there, inspect the address used for calculation and check for overlapping state and wildcard rows. If the order shows only the expected tax, check how the PDF labels each line.

Why is one of CGST or SGST missing?

Check whether the two rows match the same address and have the same priority. WooCommerce picks the first matching rate at a given priority. Give the two applicable rows distinct priorities and verify both amounts in a fresh test.

Which GSTIN should I put on the invoice?

Use the supplier GSTIN for the registration that made the sale. Rule 46 also calls for the registered recipient's identification details where applicable. Ask your accountant to resolve which supplier registration applies if you sell through multiple registrations.

Does the tax class determine the HSN code?

Check the two values separately. The tax class selects the WooCommerce rate table. For the HSN printed on the invoice, confirm the classification with your accountant and check how the invoice extension reads the code for each product.

The checkout tax is correct. Why is the PDF wrong?

Compare the saved order and the PDF for the same test purchase. If the saved values match your expected result, check the invoice extension's field mapping and template. Review checkout rules if the saved order itself shows a discrepancy.

Conclusion

Message us on WhatsApp at +91 73482 28167 and you get a fixed written quote within one working day.

Free quote · reply within 24 hours

Want a fixed price for your project?

Tell us what's wrong. You get a fixed written quote to fix it, or rebuild it, within 24 hours.

WhatsApp us

Keep reading on WordPress & WooCommerce