Test Cases

This page serves as a repository of test cases for the GST APIs. The test environment can be used to simulate workflows and test out integrations before going live. To hit the test environment, import our comprehensive Postman collections and hit the APIs with the test environment host URL.


Endpoints


Compliance API

Search GSTIN

Run in PostmanResponseRemarks
Test request200Success response
Test request200Success response
Test request200No records found
Test request422Invalid GSTIN pattern

Track GST Returns

Run in PostmanResponseRemarks
Test request200Success response
Test request200Select valid FY
Test request200No Record found
Test request422Invalid GSTIN pattern

Search GSTIN by PAN and State code

Run in PostmanResponseRemarks
Test request200Success response
Test request200No records found

Taxpayer Authentication (Generate OTP)

Run in PostmanResponseRemarks
Test request200Success response

Taxpayer Authentication (Verify OTP)

Run in PostmanResponseRemarks
Test request200Success response

Save GSTR-1

Run in PostmanResponseRemarks
Test request200Success response

e-Invoice Authentication

Run in PostmanResponseRemarks
Test request200Authenticated
Test request200Incorrect password
Test request200Incorrect user id/User does not exists
Test request200Invalid GSTIN for this user

Generate e-Invoice

Run in PostmanResponseRemarks
Test request200e-Invoice generated
Test request200e-Invoice with E-Way Bill generated
Test request200Duplicate IRN
Test request200Supplier state code does not match
Test request200IRN already generated and cancelled

Get e-Invoice by IRN

Run in PostmanResponseRemarks
Test request200e-Invoice details
Test request200e-Invoice generated more than 2 days ago
Test request200Cancelled IRN details
Test request200IRN data not available

Get e-Invoice by document data

Run in PostmanResponseRemarks
Test request200e-Invoice details
Test request200Cancelled e-Invoice details
Test request200IRN not found

Cancel e-Invoice

Run in PostmanResponseRemarks
Test request200e-Invoice cancelled
Test request200e-Invoice more than 24 hrs old
Test request200Cannot be cancelled as E-Way bill is active

Generate E-Way Bill by IRN

Run in PostmanResponseRemarks
Test request200E-Way Bill generated
Test request200E-Way Bill already generated
Test request200E-Way Bill cannot be generated for services
Test request200Distance too high
Test request200Regular vehicle not valid in ship mode

Get E-Way Bill by IRN

Run in PostmanResponseRemarks
Test request200Success response

Search GSTIN Details (e-Invoice)

Run in PostmanResponseRemarks
Test request200Success response
Test request200Data not available