Get Invoice Count

GET {{sandbox_host}}/gst/compliance/tax-payer/invoices/count?type_of_goods={{type_of_goods}}

Request Params

KeyDatatypeRequiredDescription
type_of_goodsstringE.g. imports, inward_supplies and others

HEADERS

KeyDatatypeRequiredDescription
x-api-keystringPublic key required to authorize API access.
x-api-versionstring
authorizationstring

RESPONSES

status: OK

"{\n    \"transaction_id\": \"{{$randomUUID}}000\",\n    \"code\": 200,\n    \"data\": {\n        \"data\": {\n            \"all_oth\": {\n                \"b2bcn\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"b2bdn\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"b2ba\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"b2b\": {\n                    \"noaction\": 11,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 1\n                },\n                \"ecom\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"ttl_cnt\": 12,\n                \"ecoma\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"b2bdna\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                },\n                \"b2bcna\": {\n                    \"noaction\": 0,\n                    \"reject\": 0,\n                    \"pending\": 0,\n                    \"accept\": 0\n                }\n            }\n        },\n        \"status_cd\": \"1\"\n    },\n    \"timestamp\": {{$timestamp}}000\n}"