--- swagger: "2.0" info: x-ibm-name: taxtreaty-production title: TaxTreaty Production version: 1.0.0 description: "" schemes: - https basePath: /TaxTreatyRate consumes: - application/json produces: - application/json securityDefinitions: clientSecretHeader (API Key): type: apiKey description: "" in: header name: X-IBM-Client-Secret clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id security: - clientIdHeader: [] clientSecretHeader (API Key): [] x-ibm-configuration: testable: true enforced: true phase: realized paths: /retrieve: post: responses: 200: description: 200 OK schema: $ref: '#/definitions/Response' parameters: - name: body required: false in: body schema: $ref: '#/definitions/Request' definitions: Request: properties: TaxTreatyDtl: type: array description: List items: type: object properties: recordID: type: integer description: Record ID countryCode: type: string description: Country Code natureOfPayment: type: string description: Nature of Payment payeeType: type: string description: Payee Type serviceRenderedPeriodFrom: type: string description: Period From serviceRenderedPeriodTo: type: string description: Period To isAmtDerivedFromSgp: type: string description: Amount from SG additionalProperties: false Response: properties: returnCode: type: integer description: Return Code data: type: object properties: TaxTreatyDtl: type: array items: type: object properties: TaxRate: type: string SubmissionDueDate: type: string recordID: type: string remarks: type: string info: type: object properties: message: type: string description: Generic error message messageCode: type: integer description: Generic error message code fieldInfoList: type: array items: type: object properties: field: type: string description: Field having the error message: type: string description: Type of error faced RecordID: type: integer description: No. tags: [] x-ibm-endpoints: - endpointUrl: https://apiservices.iras.gov.sg/iras/prod description: Custom Gateway API Endpoint type: - production - development ...