Schema#
Payloads#
Sample erroneous payload
{
"error": {
"message": "some-error-message",
"type": "some-error-type",
"args": {}
}
}
Sample successful payload
{
"status": "1",
"data": "success-data",
"errorDetails": null,
"infoDetails": "some-information"
}
Sample Failure Payloads
Failure
{
"status": "0",
"data": null,
"errorDetails": "some-error-details",
"infoDetails": "some-information"
}
Patterns and Formats#
Regex for GSTIN
([0-9]{2}[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}[1-9A-Za-z]{1}[Zz1-9A-Ja-j]{1}[0-9a-zA-Z]{1})|([0-9]{4}[A-Z]{3}[0-9]{5}[UO]{1}[N][A-Z0-9]{1})|([0-9]{2}[a-zA-Z]{4}[0-9]{5}[a-zA-Z]{1}[0-9]{1}[Z]{1}[0-9]{1})|([0-9]{4}[a-zA-Z]{3}[0-9]{5}[N][R][0-9a-zA-Z]{1})|([0-9]{2}[a-zA-Z]{4}[a-zA-Z0-9]{1}[0-9]{4}[a-zA-Z]{1}[1-9A-Za-z]{1}[D]{1}[0-9a-zA-Z]{1})|([0-9]{2}[a-zA-Z]{5}[0-9]{4}[a-zA-Z]{1}[1-9A-Za-z]{1}[C]{1}[0-9a-zA-Z]{1})|([9][9][0-9]{2}[a-zA-Z]{3}[0-9]{5}[O][S][0-9a-zA-Z]{1})
source: https://developer.gst.gov.in/apiportal/taxpayer/returns
Last update: May 25, 2022