openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TAX_NUMBER_CHECK:
    post:
      tags:
      - TSRV
      summary: Check Tax Numbers
      operationId: /rfc/TAX_NUMBER_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COUNTRY:
                  type: string
                  maxLength: 3
                  description: Country Key
                NATURAL_PERSON_FLAG:
                  type: string
                  default: X
                  maxLength: 1
                  description: Natural Person
                REGION:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Region
                STKZU:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Country-Specific Check
                TAX_CODE_1:
                  type: string
                  default: ' '
                  maxLength: 16
                  description: Tax Number 1
                TAX_CODE_2:
                  type: string
                  default: ' '
                  maxLength: 11
                  description: Tax Number 2
                TAX_CODE_3:
                  type: string
                  default: ' '
                  maxLength: 18
                  description: Tax Number 3
                TAX_CODE_4:
                  type: string
                  default: ' '
                  maxLength: 18
                  description: Tax Number 4
                TYPE_OF_TAX_CODE_1:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Tax Number Type
              required:
              - COUNTRY
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
