decode_state_code
Decode an Indian GSTIN or two-digit state code to obtain canonical state name, abbreviation, capital, and GST zone. Use to resolve state details for tax, billing, and compliance workflows.
Instructions
Decode Indian GST state code metadata from a code or GSTIN prefix.
Use when you need canonical state name, abbreviation, capital, and GST zone mapping.
Args: value: Two-digit code like 27 or GSTIN like 27AAPFU0939F1ZV.
Returns: Standard envelope containing decoded state metadata.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | 2-digit state code or GSTIN |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||