gst-gstin-validator

Validate GSTIN format, structure, and Luhn Mod 36 checksum offline.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/goyal-sidhant/GST-Refunds---6Statements --skill gst-gstin-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gst-gstin-validator
Source: https://github.com/goyal-sidhant/GST-Refunds---6Statements/tree/main/.claude/skills/gst-gstin-validator
Command: npx skills add https://github.com/goyal-sidhant/GST-Refunds---6Statements --skill gst-gstin-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires re, string, fractions, and includes scripts (resource) components.

What problem does it solve?

This Skill enables offline structural validation of GSTINs, ensuring accurate and secure GSTIN entries.

Core Features & Use Cases

  • Offline GSTIN Validation: Checks the format, structure, and checksum of GSTINs.
  • Special Registration Detection: Identifies non-PAN-based GSTIN types like UIN, NRTP, OIDAR, etc.
  • Use Case: When processing invoices or entering GSTINs in forms, this Skill ensures the GSTIN's integrity before submission.

Quick Start

Use the 'gst-gstin-validator' skill to validate the GSTIN '27AAPFU0939F1ZV'.

Frequently Asked Questions about gst-gstin-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a GSTIN format and checksum offline in Python?

This Skill validates GSTIN format, structure, and checksum offline using Python regex matching and Luhn Mod 36 computation. It ensures 15-character alphanumeric entries are accurate before submission.

What is the Luhn Mod 36 checksum and how does it work for GSTIN validation?

The Luhn Mod 36 checksum is a mathematical formula used to verify the integrity of alphanumeric strings. This Skill applies the computation to validate the final character of a GSTIN against its preceding 14 characters.

Can I use Python to identify non-PAN-based GSTIN special registration types?

Yes, you can use Python to identify non-PAN-based GSTIN special registration types. This Skill detects specific formats for entities like UIN, NRTP, and OIDAR during the structural validation process.

Does Python regex support offline structural validation for 15-character GSTINs?

Python regex fully supports offline structural validation for 15-character GSTINs. This Skill uses the re module to match the exact alphanumeric structure and the fractions module to assist with checksum computation.

Why does my GSTIN validation fail on special registration types like UIN or OIDAR?

GSTIN validation fails on special registration types because they follow non-PAN-based structural rules. This Skill identifies special formats like UIN, NRTP, and OIDAR during validation to prevent false negative checksum errors.