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 Auth: Generate OTP

Run in PostmanResponseRemarks
Test request200Success response

Taxpayer Auth: Verify OTP

Run in PostmanResponseRemarks
Test request200Success response

Refresh Taxpayer Access Token

Run in PostmanResponseRemarks
Test request200Success response

Taxpayer Logout

Run in PostmanResponseRemarks
Test request200Success response

Generate EVC OTP

Run in PostmanResponseRemarks
Test request200Success response
Test request200Not authorized signatory

Get GSTR-1 Documents

Document typeRun in PostmanResponseRemarks
ATTest request200No data found
ATATest request200No data found
B2BTest request200200 Success
B2BTest request200Filtered by counterparty GSTIN
B2BTest request200No data found
B2BATest request200No data found
B2CLTest request200No data found
B2CLATest request200No data found
B2CSTest request200200 Sucess
B2CSTest request200No data found
B2CSATest request200200 Success
B2CSATest request200No data found
CDNRTest request200No data found
CDNRATest request200No data found
CDNURTest request200No data found
CDNURATest request200No data found
Documents issuedTest request200200 Success
Documents issuedTest request200No data found
EXPTest request200No data found
EXPATest request200No data found
NIL SuppliesTest request200200 Success
NIL SuppliesTest request200No data found
HSN SummaryTest request200200 Success
HSN SummaryTest request200No data found

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