{"id":10560,"date":"2026-05-16T13:30:53","date_gmt":"2026-05-16T05:30:53","guid":{"rendered":"https:\/\/aeosub.com\/gst-report-for-woocommerce\/"},"modified":"2026-05-16T13:30:53","modified_gmt":"2026-05-16T05:30:53","slug":"gst-report-for-woocommerce","status":"publish","type":"post","link":"https:\/\/aeosub.com\/zh\/gst-report-for-woocommerce\/","title":{"rendered":"GST Report for WooCommerce"},"content":{"rendered":"<div class=\"post-img\" style=\"margin-bottom: 25px\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/gst-report-for-woocommerce\/assets\/banner-1544x500.png?rev=3533545\" alt=\"GST Report for WooCommerce\" style=\"width: 100%;height: auto;border-radius: 12px\"><\/div>\n<div class=\"plugin-info-card\" style=\"border: 1px solid #e2e8f0;border-radius: 10px;overflow: hidden;margin-bottom: 30px;font-family: -apple-system, system-ui, sans-serif;background: #fff\">\n<table style=\"width: 100%;border-collapse: collapse;font-size: 14px\">\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 15px 20px;text-align: left;width: 35%;color: #4a5568;background: #fcfcfc\"><img decoding=\"async\" src=\"https:\/\/ps.w.org\/gst-report-for-woocommerce\/assets\/icon-256x256.png?rev=3533545\" style=\"width: 40px;height: 40px;border-radius: 6px;margin-right: 12px;vertical-align: middle\"> Developer<\/th>\n<td style=\"padding: 15px 20px;font-weight: 500\"><a href=\"https:\/\/profiles.wordpress.org\/nitheeshdr\/\" target=\"_blank\" rel=\"noopener\">Setups Works<\/a><\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Version<\/th>\n<td style=\"padding: 12px 20px\">v2.1.0<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Active Installs<\/th>\n<td style=\"padding: 12px 20px\">0 +<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Requires \/ Tested<\/th>\n<td style=\"padding: 12px 20px\">5.9 \/ 6.9.4<\/td>\n<\/tr>\n<tr style=\"border-bottom: 1px solid #edf2f7\">\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Last Updated<\/th>\n<td style=\"padding: 12px 20px\">2026-05-16 4:57am GMT<\/td>\n<\/tr>\n<tr>\n<th style=\"padding: 12px 20px;text-align: left;color: #4a5568;background: #fcfcfc\">Official Link<\/th>\n<td style=\"padding: 12px 20px\"><a href=\"https:\/\/wordpress.org\/plugins\/gst-report-for-woocommerce\/\" target=\"_blank\" style=\"text-decoration: none;color: #4a3bca;font-weight: bold\" rel=\"noopener\">View Details \u2192<\/a><\/td>\n<\/tr>\n<\/table><\/div>\n<div class=\"plugin-short-desc\" style=\"margin: 20px 0;padding: 12px 15px;background: #f9fafb;border-left: 4px solid #4a3bca;border-radius: 6px;font-style: italic;color: #4a5568\">A native PHP GST dashboard for WooCommerce \u2014 CGST\/SGST\/IGST breakdown, Excel export, and PDF tax invoices. No JavaScript frameworks, no REST API.<\/div>\n<p><strong>GST Report for WooCommerce<\/strong> is a lightweight, fast admin dashboard built entirely with native PHP and direct database queries. It generates GST-compliant reports for Indian WooCommerce stores, handles both intra-state (CGST + SGST) and inter-state (IGST) tax calculations across 18% and 5% GST rates, and lets you export to Excel or open a PDF tax invoice in one click \u2014 all without leaving WordPress admin.<\/p>\n<p>Designed for Indian store owners who need to file GSTR-1, GSTR-3B, or provide tax invoices to B2B buyers, without the overhead of a full accounting plugin.<\/p>\n<h4>Key Features<\/h4>\n<ul>\n<li><strong>Setup Wizard<\/strong> \u2014 On first activation, a guided wizard checks your HSN codes, GST tax rates, and PDF Invoices plugin configuration so your dashboard is accurate from day one.<\/li>\n<li><strong>GST Report tab<\/strong> \u2014 Line-item breakdown per order with CGST\/SGST (intra-state) and IGST (inter-state) at 18%, 5%, and 0% rates, with separate columns for each. Cancelled and refunded orders appear as negative entries.<\/li>\n<li><strong>Orders tab<\/strong> \u2014 Card-based order view showing customer name, GSTIN, billing state, order status, and a full per-order GST breakdown (CGST, SGST, IGST).<\/li>\n<li><strong>Products tab<\/strong> \u2014 All published products with thumbnail, SKU, HSN code, price, stock quantity, GST rate, and stock status.<\/li>\n<li><strong>Excel export<\/strong> \u2014 Download the filtered report as a properly formatted <code>.xlsx<\/code> file using a zero-dependency PHP XLSX writer. Includes date, invoice number, DC number, customer, GSTIN, state, HSN, quantity, subtotal, and all GST columns.<\/li>\n<li><strong>PDF invoice<\/strong> \u2014 Opens the WooCommerce PDF Invoices &amp; Packing Slips invoice for any order in a new tab with one click. Access key is read automatically from the order \u2014 no manual configuration needed.<\/li>\n<li><strong>Flexible HSN lookup<\/strong> \u2014 Reads HSN from product meta (<code>hsn<\/code>, <code>_hsn_code<\/code>), product attributes (any attribute whose name contains &#8220;HSN&#8221;), or order-item meta \u2014 whichever is present. Checks variation first, then parent product.<\/li>\n<li><strong>HPOS compatible<\/strong> \u2014 Works with both the classic <code>wp_posts<\/code> order table and WooCommerce High-Performance Order Storage (HPOS\/COT). Detects automatically.<\/li>\n<li><strong>Filtering &amp; search<\/strong> \u2014 Filter by start\/end date, sort newest or oldest, search by order ID or billing email. Paginated at 50 orders per page.<\/li>\n<li><strong>Summary stat cards<\/strong> \u2014 Total orders, total products, revenue, total GST collected, and average order value \u2014 calculated via a single SQL aggregation query (no N+1 queries).<\/li>\n<\/ul>\n<h4>Who Is This For?<\/h4>\n<ul>\n<li>Indian WooCommerce store owners filing GSTR-1 or GSTR-3B returns<\/li>\n<li>Stores selling to GST-registered buyers (B2B) who need tax invoices with GSTIN<\/li>\n<li>Accountants or store managers who need a quick Excel export of GST data for a given period<\/li>\n<li>Stores in Tamil Nadu (TN) needing CGST + SGST split, or any other state needing IGST<\/li>\n<\/ul>\n<h4>How GST Calculation Works<\/h4>\n<p>The plugin uses WooCommerce&#8217;s own tax totals stored against each order line item:<\/p>\n<ul>\n<li><strong>Intra-state (TN):<\/strong> If billing state is Tamil Nadu, tax is split 50\/50 as CGST + SGST.<\/li>\n<li><strong>Inter-state:<\/strong> All other billing states are treated as IGST.<\/li>\n<li><strong>5% GST:<\/strong> Products assigned to a tax class whose name contains <code>5<\/code> (e.g. &#8220;GST 5%&#8221;) are reported under the 5% columns.<\/li>\n<li><strong>18% GST:<\/strong> All other taxed products are reported under the 18% columns.<\/li>\n<li><strong>0% \/ Exempt:<\/strong> Products with no tax are reported under the zero-rated supply column.<\/li>\n<\/ul>\n<h4>Technical Notes<\/h4>\n<ul>\n<li>Pure PHP \u2014 no JavaScript frameworks, no React, no REST API.<\/li>\n<li>All data fetched via <code>WC_Order_Query<\/code> and direct SQL with <code>$wpdb-&gt;prepare()<\/code>.<\/li>\n<li>All <code>$_GET<\/code> input is sanitised with <code>sanitize_key()<\/code>, <code>sanitize_text_field()<\/code>, <code>absint()<\/code>, and <code>wp_unslash()<\/code>.<\/li>\n<li>All output escaped with <code>esc_html()<\/code>, <code>esc_url()<\/code>, <code>esc_attr()<\/code>, <code>wp_kses_post()<\/code>.<\/li>\n<li>Stats query result cached with <code>wp_cache_get\/set<\/code>.<\/li>\n<li>Nonce-protected on all export actions.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>A native PHP GST dashboard for WooCommerce \u2014 CGST\/SGST\/IGST breakdown, Excel export, and PDF tax invoices. No JavaScript frameworks, no REST API.<\/p>","protected":false},"author":1,"featured_media":9317,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[252],"tags":[908,909,910,911,569,555],"class_list":["post-10560","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-trends","tag-gst","tag-india","tag-invoice","tag-tax","tag-woocommerce","tag-wordpress-plugin"],"_links":{"self":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/comments?post=10560"}],"version-history":[{"count":0,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/posts\/10560\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media\/9317"}],"wp:attachment":[{"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/media?parent=10560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/categories?post=10560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aeosub.com\/zh\/wp-json\/wp\/v2\/tags?post=10560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}