---
title: GST Certificate Extraction API
slug: v2/4nBj-gst-certificate-extraction-api
description: Learn how to use an API to extract data from GST registration certificates with this informative document. Discover the authentication process using login access tokens and understand how to submit a valid GST certificate in PDF format. Explore the API re
createdAt: 2022-09-15T06:44:33.000Z
---

## Introduction

Every taxpayer who has successfully registered under GST is issued a GST registration certificate in form GST REG-06. The registration certificate is available for downloading only on the [GST Portal,](https://cleartax.in/s/cleartax-guide-on-gst-portal) and the government does not issue any physical certificate.

**The following information will be extracted :**

- Registration Status
- CST Status
- PAN
- Dealer's Name
- Dealer's Address
- Registration Date
- Cancellation Date

## How to call the API

You will need to [login](https://docs.signzy.com/sandboxapis) before sending an Extraction request for a GSTN certificate. You are required to pass the access token received from the login call, as an authorization header in the Extraction request apart from the JSON body parameters.

## API Input Guidelines

Need to provide a valid GST certificate in PDF format

### Sample CURL

:::ApiMethodV2
```json
{
  "tab": "examples",
  "url": "https://production.signzy.tech/api/v2/patrons/...patronID.../gstextractions",
  "name": "GST Certificate data extraction",
  "method": "POST",
  "request": {
    "pathParameters": [],
    "queryParameters": [],
    "headerParameters": [
      {
        "kind": "required",
        "name": "Authorization",
        "type": "String",
        "children": [],
        "description": "access token returned as id field of login request"
      },
      {
        "kind": "required",
        "name": "Content-Type",
        "type": "String",
        "children": [],
        "description": "application/json"
      }
    ],
    "bodyDataParameters": [
      {
        "kind": "required",
        "name": "essentials",
        "type": "Object",
        "children": [
          {
            "kind": "required",
            "name": "essentials.files",
            "type": "string",
            "description": "URL that contains the GST certificate in PDF format"
          }
        ],
        "description": "Contains essential input data"
      }
    ],
    "formDataParameters": []
  },
  "results": {
    "languages": [
      {
        "id": "D2hwJSFSD9dLpnNu2WzoB",
        "code": "{\n    \"essentials\": {\n        \"files\": [\n            \"<GST certificate pdf URL>\"\n        ]\n    },\n    \"id\": \"<ID>\",\n    \"patronId\": \"<Patron ID>\",\n    \"result\": {\n        \"gstDetails\": {\n            \"addressOfPrincipalPlaceOfBusiness\": {\n                \"address\": \"<Address>\",\n                \"splitAddress\": {\n                    \"address\": \"<Address>\",\n                    \"id\": 63,\n                    \"result\": {\n                        \"splitAddress\": {\n                            \"district\": [\n                                \"<District>\"\n                            ],\n                            \"state\": [\n                                [\n                                    \"<State Name>\",\n                                    \"<State Code>\"\n                                ]\n                            ],\n                            \"city\": [\n                                \"<City>\"\n                            ],\n                            \"pincode\": \"<Pin Code>\",\n                            \"country\": [\n                                \"IN\",\n                                \"IND\",\n                                \"INDIA\"\n                            ],\n                            \"addressLine\": \"<Address>\"\n                        }\n                    }\n                }\n            },\n            \"buisnessPlaces\": [\n                {\n                    \"address\": \"\",\n                    \"splitAddress\": {\n                        \"address\": \"\",\n                        \"result\": {\n                            \"splitAddress\": {\n                                \"district\": [],\n                                \"state\": [\n                                    []\n                                ],\n                                \"city\": [],\n                                \"pincode\": \"\",\n                                \"country\": [],\n                                \"addressLine\": \"\"\n                            }\n                        }\n                    }\n                }\n            ],\n            \"constitutionOfBusiness\": \"<Constitution of Business>\",\n            \"dateOfIssue\": \"This is a system generated digitally signed Registration Certificate issued based on the approval of application granted on 28/03/2022 by the jurisdictional authority.\",\n            \"dateOfLiability\": \"\",\n            \"designation\": \"State Tax Officer\",\n            \"directorInfo\": [\n                {\n                    \"resident\": \"Maharashtra\",\n                    \"photo\": \"<Image of Director>\",\n                    \"designation\": \"PROPRIETOR\",\n                    \"name\": \"<Directors Name>\"\n                }\n            ],\n            \"gstNumber\": \"<GST Number>\",\n            \"jurisdictionalOffice\": \"<Jurisdiction>\",\n            \"legalName\": \"<Legal name to which GSTN is assigned>\",\n            \"name\": \"<Name>\",\n            \"registrationType\": \"Regular\",\n            \"tradeName\": \"<Registered Trade name>\",\n            \"validFrom\": \"\",\n            \"validTo\": \"NA\"\n        },\n        \"dscDetails\": {\n            \"isSigned\": \"yes\",\n            \"hashcode\": <Hash Code eg:878274034>,\n            \"name\": \"DS GOODS AND SERVICES TAX NETWORK(4)\",\n            \"signDate\": \"28/03/2022\",\n            \"signTime\": \"12:45:39\",\n            \"signatureDetails\": {\n                \"documentRevision\": 1,\n                \"doesSignatureCoversFullDocument\": true,\n                \"totalDocumentRevisions\": 1,\n                \"certificateInfo\": [\n                    {\n                        \"certificateNumber\": 0,\n                        \"subject\": \"C=IN,O=GOODS AND SERVICES TAX NETWORK,OU=SOFTWARE DEVELOPMENT,PostalCode=110037,ST=DELHI,STREET=SOUTH WEST DELHI,2.5.4.51=GSTN\\\\\\\\, WORLD MARK 1 EAST WING 4TH FLOOR AEROCITY NEW DELHI,SERIALNUMBER=881a766182ed5741334b31cd26daa7485a67ff6d2e653983499fbde55482dc20,CN=DS GOODS AND SERVICES TAX NETWORK(4)\",\n                        \"certificateValidity\": \"the certificate is still valid\",\n                        \"certificateTimeValidity\": \"the certificate was valid at the time of signing\",\n                        \"validFrom\": \"2020-10-23 13:16:34.00\",\n                        \"issuer\": \"C=IN,O=eMudhra Consumer Services Limited,OU=Certifying Authority,CN=e-Mudhra Sub CA Class 2 for Document Signer 2014\",\n                        \"validTo\": \"2022-10-23 13:16:34.00\"\n                    },\n                    {\n                        \"certificateNumber\": 1,\n                        \"subject\": \"C=IN,O=eMudhra Consumer Services Limited,OU=Certifying Authority,CN=e-Mudhra Sub CA Class 2 for Document Signer 2014\",\n                        \"certificateValidity\": \"the certificate is still valid\",\n                        \"certificateTimeValidity\": \"the certificate was valid at the time of signing\",\n                        \"validFrom\": \"2014-10-24 12:30:00.00\",\n                        \"issuer\": \"C=IN,O=eMudhra Consumer Services Ltd.,OU=Certifying Authority,PostalCode=560103,ST=Karnataka,STREET=Bangalore,2.5.4.51=3rd Floor\\\\\\\\,Sai Arcade,CN=e-Mudhra CA 2014\",\n                        \"validTo\": \"2024-03-04 12:30:00.00\"\n                    },\n                    {\n                        \"certificateNumber\": 2,\n                        \"subject\": \"C=IN,O=eMudhra Consumer Services Ltd.,OU=Certifying Authority,PostalCode=560103,ST=Karnataka,STREET=Bangalore,2.5.4.51=3rd Floor\\\\\\\\,Sai Arcade,CN=e-Mudhra CA 2014\",\n                        \"certificateValidity\": \"the certificate is still valid\",\n                        \"certificateTimeValidity\": \"the certificate was valid at the time of signing\",\n                        \"validFrom\": \"2014-03-05 10:52:57.00\",\n                        \"issuer\": \"C=IN,O=India PKI,CN=CCA India 2014\",\n                        \"validTo\": \"2024-03-05 06:30:00.00\"\n                    }\n                ],\n                \"IntegrityCheck\": true\n            }\n        }\n    }\n}",
        "language": "200",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "D2hwJSFSD9dLpnNu2WzoB"
  },
  "examples": {
    "languages": [
      {
        "id": "2C9ydJmW95ak8CwnT16J5",
        "code": "curl --location --request POST '<https://preproduction.signzy.tech/api/v2/patrons/..patronId../gstextractions'> \\\n--header 'Authorization: <token>' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"essentials\": {\n        \"files\": [\n            \"<URL of PDF>\"\n        ]\n    }\n}'",
        "language": "curl",
        "customLabel": "Preproduction"
      },
      {
        "id": "8GwLzV8EOdObiy833jeP3",
        "code": "curl --location --request POST '<https://signzy.tech/api/v2/patrons/..patronId../gstextractions'> \\\r\n--header 'Authorization: <token>' \\\r\n--header 'Content-Type: application/json' \\\r\n--data-raw '{\r\n    \"essentials\": {\r\n        \"files\": [\r\n            \"<URL of PDF>\"\r\n        ]\r\n    }\r\n}'",
        "language": "curl",
        "customLabel": "Production"
      }
    ],
    "selectedLanguageId": "8GwLzV8EOdObiy833jeP3"
  },
  "description": "",
  "currentNewParameter": {
    "label": "Body Parameter",
    "value": "bodyDataParameters"
  },
  "autoGeneratedAnchorSlug": "gst-certificate-data-extraction",
  "legacyHash": "FvVQJCCv7xkpMVHvPU9-D"
}
```
:::

### Response Parameters

| **PARAMETER NAME**                               | **DESCRIPTION**                                                                                                                                                                                                                                     |
| ------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| essentials                                       | This parameter contains the essential data for generating output.                                                                                                                                                                                   |
| essentials.files                                 | This parameter contains the URL of the uploaded image for GST Certificate.                                                                                                                                                                          |
| id                                               | The access token generated during login request is held here.                                                                                                                                                                                       |
| patronId                                         | This parameter is returned as userId parameter of login request.                                                                                                                                                                                    |
| result                                           | The final response parameters to be displayed are contained here.                                                                                                                                                                                   |
| result.gstDetails                                | The GST Certificate details are contained in this parameter.                                                                                                                                                                                        |
| gstDetails.addressOfPrincipalPlaceOfBusiness     | The primary address of the principal place of business is displayed by this parameter.                                                                                                                                                              |
| gstDetails.address                               | All the addresses of the primary establishment of business are shown by this parameter in detail.                                                                                                                                                   |
| gstDetails.splitAddress                          | This parameter distinguishes the various parts of the address of the primary business establishment into separate categories like district, state, city, pincode and country. For the country category, acceptable values are “IN”,”IND”and”INDIA”. |
| splitAddress.addressLine                         | The first line of the registered address is displayed by this parameter.                                                                                                                                                                            |
| result.businessPlaces                            | This parameter shows the addresses of the other business places (like branch offices).                                                                                                                                                              |
| businessPlaces.address                           | The addresses of the business places (multiple if more than one address) are shown in this parameter.                                                                                                                                               |
| businessPlaces.splitAddress                      | This parameter distinguishes the various parts of the address of the business places into separate categories like district, state, city, pincode and country. For the country category, acceptable values are “IN”,”IND”and”INDIA”.                |
| splitAddress.addressLine                         | The first line of the address of business place is displayed by this parameter.                                                                                                                                                                     |
| result.constitutionOfBusiness                    | This parameter determines whether the GST Certificate has been issued to a public or private limited company.                                                                                                                                       |
| result.dateOfIssue                               | The date of issue of the GST Certificate.                                                                                                                                                                                                           |
| result.dateOfLiability                           | The date of liability that is recorded for the uploaded GST Certificate.                                                                                                                                                                            |
| result.directorInfo                              | The director information of the organization to which the GST Certificate has been issued.                                                                                                                                                          |
| directorInfo.photo                               | The image URL of the director photo.                                                                                                                                                                                                                |
| directorInfo.resident                            | The residential address of the director.                                                                                                                                                                                                            |
| directorInfo.name                                | The name of the director as registered with the GST Certificate.                                                                                                                                                                                    |
| directorInfo.designation                         | The specific designation that is assigned to the director is displayed by this parameter.                                                                                                                                                           |
| result.gstNumber                                 | The GST Number as available on the GST Certificate.                                                                                                                                                                                                 |
| result.jurisdictionalOffice                      | This parameter contains the details, if any, about the jurisdictional office of the company/organization.                                                                                                                                           |
| result.legalName                                 | The legal/official name of the company as registered with the GSTIN.                                                                                                                                                                                |
| result.name                                      | The common name of the company, especially if it is different from the legal name, is displayed here.                                                                                                                                               |
| result.registrationType                          | The type of registration done for the company under GST.                                                                                                                                                                                            |
| result.tradeName                                 | The name of the trade company is displayed here.(If different from name or legal name.)                                                                                                                                                             |
| result.validFrom                                 | The date from which the GST Certificate is valid.                                                                                                                                                                                                   |
| result.validTo                                   | The date upto which the GST Certificate is valid.                                                                                                                                                                                                   |
| result.dscDetails                                | This parameter contains the details about the digital GST certificate for authenticity.                                                                                                                                                             |
| dscDetails.isSigned                              | This parameter checks whether the certificate is signed or not.                                                                                                                                                                                     |
| dscDetails.hashCode                              | The hash code that is attached to the digital certificate is displayed by this parameter.                                                                                                                                                           |
| dscDetails.name                                  | The name on the GST Certificate.                                                                                                                                                                                                                    |
| dscDetails.signDate                              | The date of signature as available on the GST Certificate is verified and displayed by this parameter.                                                                                                                                              |
| dscDetails.signTime                              | The time of signature as available on the GST Certificate is verified and displayed by this parameter.                                                                                                                                              |
| dscDetails.signatureDetails                      | The parameter verifies and displays the details of the available signature on the GST Certificate.                                                                                                                                                  |
| signatureDetails.documentRevision                | This parameter displays the number of times the signature on the document has been revised or changed.                                                                                                                                              |
| signatureDetails.doesSignatureCoversFullDocument | This parameter verifies whether the signature covers the full length of the GST Certificate.                                                                                                                                                        |
| signatureDetails.totalDocumentRevisions          | This shows the total count of document revisions made.                                                                                                                                                                                              |
| signatureDetails.certificateInfo                 | This parameter shows even more details about the GST Certificate regarding validity of the document.                                                                                                                                                |
| certificateInfo.certificateNumber                | The certificate number as available on the uploaded GST Certificate is shown here.                                                                                                                                                                  |
| certificateInfo.subject                          | The subject of the certificate is displayed by this parameter.                                                                                                                                                                                      |
| certificateInfo.certificateValidity              | The validity of the certificate is verified and displayed by this parameter.                                                                                                                                                                        |
| certificateInfo.certificateTimeValidity          | The time validity of the GST Certificate is verified and displayed by this parameter.                                                                                                                                                               |
| certificateInfo.validFrom                        | The date from which the digital certificate is valid.                                                                                                                                                                                               |
| certificateInfo.issuer                           | The issuing authority of the certificate is displayed here.                                                                                                                                                                                         |
| certificateInfo.validTo                          | The date up to which the digital certificate is valid.                                                                                                                                                                                              |
| result.integrityCheck                            | The integrity check status of the certificate is displayed by this parameter.                                                                                                                                                                       |



:::hint{type="info"}
### Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.


You can reach out to us at [help@signzy.com](#).
:::

