--- swagger: "2.0" info: x-ibm-name: aisubmission title: Submission of Employment Income Records version: 1.0.2 description: This API allows payroll software developers to incorporate within their payroll software the feature for employers to validate and submit employment income information (IR8A, IR8S, Appendix 8A and Appendix 8B) to IRAS directly. schemes: - https basePath: /AISubmission securityDefinitions: clientIdHeader: type: apiKey in: header name: X-IBM-Client-Id clientSecretHeader: type: apiKey in: header name: X-IBM-Client-Secret security: - clientSecretHeader: [] clientIdHeader: [] x-ibm-configuration: testable: false enforced: true phase: realized paths: /submit: post: responses: 200: description: 200 OK schema: type: object parameters: - name: AISApiSubmission required: true in: body schema: $ref: '#/definitions/AISApiSubmission' definitions: AISApiSubmission: properties: clientID: type: string description: Client ID inputType: type: string description: XML or TEXT indicator a8bInput: type: string description: a8a XML or TEXT string a8aInput: type: string description: a8a XML or TEXT string ir8sInput: type: string description: ir8s XML or TEXT string ir8aInput: type: string description: ir8a XML or TEXT string userIDType: type: string description: User ID Type userID: type: string description: User ID bypass: type: boolean description: Bypass Indicator validateOnly: type: boolean example: false description: Validate Only Indicator additionalProperties: false AISApiResponse: properties: output: type: string a8b: $ref: '#/definitions/ApiAISFormResponse' a8a: $ref: '#/definitions/ApiAISFormResponse' ir8s: $ref: '#/definitions/ApiAISFormResponse' ir8a: $ref: '#/definitions/ApiAISFormResponse' msgError: type: string statusCode: type: string additionalProperties: false ApiAISFormResponse: properties: warning: items: type: string type: array error: items: type: string type: array output: type: string additionalProperties: true ApiErrorDetails: properties: error: type: string recordIdentifier: type: string recordField: type: string recordType: type: string additionalProperties: true tags: [] x-ibm-endpoints: - endpointUrl: https://apiservices.iras.gov.sg/iras/prod description: Custom Gateway API Endpoint type: - production - development ...