Get Invoice Count

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

Request Params

| Key | Datatype | Required | Description | | type_of_goods | string | | E.g. imports, inward_supplies and others |

HEADERS

| Key | Datatype | Required | Description | | x-api-key | string | | Public key required to authorize API access. | | x-api-version | string | | | | authorization | string | | |

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}"