--- swagger: "2.0" info: x-ibm-name: gst-transaction-listing-submission-production title: GST Transaction Listing Submission version: 1.0.3 description: This API can be used to submit GST Transaction Listing. schemes: - https basePath: /gst consumes: - application/json produces: - application/json securityDefinitions: clientSecretHeader (API Key): type: apiKey description: "" in: header name: X-IBM-Client-Secret Client ID: type: apiKey in: header name: X-IBM-Client-Id security: - Client ID: [] clientSecretHeader (API Key): [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /submitTransactionListing: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/Response' parameters: - $ref: '#/parameters/access_token' definitions: Request: description: "" type: object properties: filingInfo: type: object properties: taxRefNo: type: string gstRegNo: type: string dtPeriodStart: type: string dtPeriodEnd: type: string data: type: object properties: identifier: type: string currentChunk: type: number totalChunks: type: number message: type: string dtIAFCreation: type: string iafVersion: type: string example: "{\r\n \"filingInfo\": {\r\n \"taxRefNo\": \"199000000A\",\r\n \"gstRegNo\": \"MX0199000G\",\r\n \"dtPeriodStart\": \"2017-01-01\",\r\n \"dtPeriodEnd\": \"2017-12-31\"\r\n },\r\n \"data\": {\r\n \"identifier\": \"390b25fa-4427-4b10-9ae2-34d6e0cd91a1\",\r\n \ \"currentChunk\": 7,\r\n \"totalChunks\": 10,\r\n \"message\": \"dG9rZW5OYW1lIjogImFjY2Vzc190b2tlbiIsICJ0b2tlbl90eXBlIjogIkJlYXJlciIsICJhdXRoR3JhbnRJZCIsICJob3VzaW5ndHlI4ZDRkNTEwNC0yMDYtYTA5Mi0yYmU3YzZlNzkzNDMiLCAiYXVkIjogIm15aW5mbyIxNTA1ODkwNzUxLCAic2NvcGUiOiBbICJlZHVsZXZlbCIsICJob3VzaW5ndHlwZSIsICJyYWNlIiwgInJlZ2FkZCIsICJzZXgiLCAiaGRiddG9rZW5OYW1lIjogImFjY2Vzc190b2tlbiIsICJ0b2tlbl90eXBlIjogIkJlYXJlciIsICJhdXRoR3JhbnRJZCI6ICI4ZDRkNTEwNC0yMmMxLTRkZ5ndHl2Vzc190b2tlbiIsICJ0b2tlbl90eXBlIjogIkJlYXJlciIsICJhdXRoR3JhbnRJZCI6ICI4ZDRkNTEwNC0sICJyYWNlIiwgInJlZ5Mi0yYmU3YzZlNzkzNDMiLCAiYXVkIjogIm15aW5mbyIsICJuYmYiOiAxNTA1ODkwNzUxLCAic2NvcGUiOiBbICJlZHVsZXZlbCIsICJob3VzaW5ndHlwZSIsICJyYWNlIiwgInJlZ2FkZCIsICJzZXgiLCAiaGRiddG9rZW5OYW1lIjogImFjY2Vzc190b2tlbiIsICJ0b2tlbl90eXBlIjogIkJlYXJlciIsICJhdXRoR3JhbnRJZCI6ICI4ZDRkNTEwNC0yMmMxLTRkZDYtYTA5Mi0yYmU3YzZlNzkzNDMiLCAiYXVkIjogIm15aW5mbyIsICJuYmYiOiAxNTA1ODkwNzUxLCAic2NvcGUiOiBbICJlZHVsZXZlbCIsICJob3VzaW5ndHlwZSIsICJyYWNlIiwgInJlZ2FkZCIsICJzZXgiLCAiaGRid\",\r\n \ \"dtIAFCreation\": \"2018-01-31\",\r\n \"iafVersion\": \"IAFv1.0.0\"\r\n}\r\n}\r\n" Response: description: "" type: object properties: returnCode: type: integer format: int32 data: type: object properties: identifier: type: string currentChunk: type: number totalChunks: type: number taxRefNo: type: string gstRegNo: type: string companyName: type: string dtPeriodStart: type: string dtPeriodEnd: type: string declarantID: type: string dtSubmission: type: string info: type: object properties: messageCode: type: number message: type: string fieldInfoList: type: array items: properties: recordID: type: number field: type: string message: type: string type: object example: "{\r\n \"returnCode\": 10,\r\n \"data\": {\r\n \"identifier\": \"390b25fa-4427-4b10-9ae2-34d6e0cd91a1\",\r\n \ \"currentChunk\": 7,\r\n \"totalChunks\": 10,\r\n\"taxRefNo\": \"190000000A\",\r\n\"gstRegNo\": \"MX0199000G\",\r\n\"companyName\": \"ABC PTE LTD\",\r\n \"dtPeriodStart\": \"2017-01-01\",\r\n \"dtPeriodEnd\": \"2017-12-31\",\r\n\"declarantID\": \"SXXXX567Z\",\r\n\"dtSubmission\": \"2018-01-02T20:18:25\"\r\n },\r\n\r\n\"info\": {\r\n\"messageCode\": 850301,\r\n\"message\": \"Arguments Error\",\r\n\"fieldInfoList\": [\r\n{\r\n\"recordID\": 2457,\r\n\"field\": \"PurchaseTable.PurchaseValueSGD\",\r\n\"message\": \"Value should not be 0\"\r\n},\r\n{\r\n\"recordID\": 7855,\r\n\"field\": \"SupplyTable.SupplyFCY\",\r\n\"message\": \"Value should be 0\"\r\n}\r\n]\r\n}\r\n}\r\n" tags: [] parameters: access_token: name: access_token type: string required: false in: header description: eyAidHlwIjogIkpXVCIsICJhbGciOiAiUlMyNTYiIH0.eyAic3ViIjogIlM5ODEyMzgxRCIsICJhdWRpdFRyYWNraW5nSWQiOiAiZjU0Njc3MGQtOTI4Ni00ODNlLTk0YzktZTllNDZlMTMwMzFiIiwgImlzcyI6ICJodHRwOi8vc3RnLWF1dGguYXBwcy5lLm5lY3Rhci5nb3Yuc2c6ODAvY29uc2VudC9vYXV0aDIiLCAidG9rZW5OYW1lIjogImFjY2Vzc190b2tlbiIsICJ0b2tlbl90eXBlIjogIkJlYXJlciIsICJhdXRoR3JhbnRJZCI6ICI4ZDRkNTEwNC0yMmMxLTRkZDYtYTA5Mi0yYmU3YzZlNzkzNDMiLCAiYXVkIjogIm15aW5mbyIsICJuYmYiOiAxNTA1ODkwNzUxLCAic2NvcGUiOiBbICJlZHVsZXZlbCIsICJob3VzaW5ndHlwZSIsICJyYWNlIiwgInJlZ2FkZCIsICJzZXgiLCAiaGRidHlwZSIsICJtb2JpbGVubyIsICJjcGZiYWxhbmNlcyIsICJoYW55dXBpbnlpbm5hbWUiLCAibWFycmllZG5hbWUiLCAiaGFueXVwaW55aW5hbGlhc25hbWUiLCAiYXNzZXNzYWJsZWluY29tZSIsICJtYXJpdGFsIiwgImFsaWFzbmFtZSIsICJuYXRpb25hbGl0eSIsICJkb2IiLCAibmFtZSIsICJjcGZjb250cmlidXRpb25zIiwgImVtYWlsIiBdLCAicmVhbG0iOiAiL215aW5mbyIsICJleHAiOiAxNTA1ODk0MzUxLCAiaWF0IjogMTUwNTg5MDc1MSwgImV4cGlyZXNfaW4iOiAzNjAwMDAwLCAianRpIjogIjI2MmM3ODk5LWY4YmQtNDVlOC05Mzc1LWRmYTY5YWUwNTA3YSIgfQ.maD5lnrRA84hm2Lz5gdUlM6ZVSsYxYlWodtMTesleDXJrD3hDeUVbmHGumeH4XogtmYacCWKh3geY5iItK4WLr_ft5oFzvXilWrud7zahFOR5QuOxhALzl8d1erDN4jCQfbT6xq98B7nRCG9JAB1qvEvnSGQLGSWxH3j4IxE5Jp5iP-3AzshXub-8JukAqnWZLiQsoJCUu8GBg0RfG85wRKwImPmnPyCoAwqTv2MlqhZQr5oXkkeRrqITkZQME3sFiqZmnExjHcml8Y__5h3FNvJSFdnnZSDW0471wBpYM9-jK7WdBR9rKS68sxdNa85y-TQ7YXcb5AHYPro9GGY6w x-ibm-endpoints: - endpointUrl: https://apiservices.iras.gov.sg/iras/prod description: Custom Gateway API Endpoint type: - production - development ...