validate_gstin
Validate an Indian GSTIN (15-char Goods & Services Tax Identification Number). Checks length, character set, state code, embedded PAN format, and the GSTN mod-36 check character. Returns {valid, state, state_code, pan, entity_code, check_char, error?}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gstin | Yes | 15-char GSTIN, e.g. '27AAPFU0939F1ZV'. Case-insensitive; surrounding whitespace is trimmed. |