extract_pan
Extract the 10-character PAN embedded in a GSTIN (positions 3-12, 1-indexed). Throws if the GSTIN is the wrong length or the embedded PAN is malformed. Does NOT verify the check character — use validate_gstin for that.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gstin | Yes | 15-char GSTIN. |