What a GSTIN encodes
A GSTIN is 15 characters: 2 digits for the state code, the 10-character PAN, 1 character for the registration number in that state, the letter Z, and 1 check character. The example 27AAPFU0939F1ZV decodes to state 27 (Maharashtra), PAN AAPFU0939F, registration 1, and check digit V.
The 4th character of the PAN names the taxpayer: P for an individual, C for a company, F for a firm or LLP, H for an HUF, and so on.