Get Invoices

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

Request Params

| Key | Datatype | Required | Description | | section | string | | E.g. B2B, B2BA, CN, etc. | | status | string | | Optional. Get invoices for a specific status. E.g. accepted, rejected, pending, no_action_taken |

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            \"b2b\": [\n                {\n                    \"samt\": 10883.91,\n                    \"val\": 142700,\n                    \"txval\": 120932.18,\n                    \"rtnprd\": \"112024\",\n                    \"camt\": 10883.91,\n                    \"cess\": 0,\n                    \"inum\": \"AO2SA2425002517\",\n                    \"srcfilstatus\": \"Not Filed\",\n                    \"iamt\": 0,\n                    \"stin\": \"24ABCCU0123M1YZ\",\n                    \"srcform\": \"R1\",\n                    \"inv_typ\": \"R\",\n                    \"pos\": \"24\",\n                    \"idt\": \"05-11-2024\",\n                    \"action\": \"A\",\n                    \"ispendactblocked\": \"N\",\n                    \"hash\": \"dbd0f1c65631f9fdbfd3ab8d56c2949c3354b688ea53dee44e42768c07b676e2\"\n                }\n            ]\n        },\n        \"status_cd\": \"1\"\n    },\n    \"timestamp\": {{$timestamp}}000\n}"