SAP

SAP Tax Numbers API

Business partner tax identification numbers

OpenAPI Specification

sap-tax-numbers-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: SAP AI Core Addresses Tax Numbers API
  description: REST API for deploying, managing, and consuming AI models and workflows on SAP Business Technology Platform. Provides endpoints for scenario management, execution orchestration, model serving, and artifact tracking.
  version: '2.0'
  contact:
    name: SAP Support
    url: https://support.sap.com/
  termsOfService: https://www.sap.com/about/legal/terms-of-use.html
servers:
- url: https://api.ai.{region}.cfapps.{landscape}.hana.ondemand.com/v2
  description: SAP AI Core Production
  variables:
    region:
      description: SAP BTP region
      default: eu10
    landscape:
      description: SAP BTP landscape
      default: hana
security:
- oauth2: []
tags:
- name: Tax Numbers
  description: Business partner tax identification numbers
paths:
  /A_BusinessPartnerTaxNumber:
    get:
      operationId: listBusinessPartnerTaxNumbers
      summary: Sap List Tax Numbers
      description: Retrieves tax identification numbers for business partners.
      tags:
      - Tax Numbers
      parameters:
      - $ref: '#/components/parameters/Top'
      - $ref: '#/components/parameters/Filter'
      responses:
        '200':
          description: Collection of tax numbers
          content:
            application/json:
              schema:
                type: object
                properties:
                  d:
                    type: object
                    properties:
                      results:
                        type: array
                        items:
                          $ref: '#/components/schemas/BusinessPartnerTaxNumber'
              examples:
                Listbusinesspartnertaxnumbers200Example:
                  summary: Default listBusinessPartnerTaxNumbers 200 response
                  x-microcks-default: true
                  value:
                    d:
                      results:
                      - BusinessPartner: example_value
                        BPTaxType: example_value
                        BPTaxNumber: example_value
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  parameters:
    Filter:
      name: $filter
      in: query
      description: OData filter expression
      schema:
        type: string
    Top:
      name: $top
      in: query
      description: Maximum number of entries to return
      schema:
        type: integer
        minimum: 1
  schemas:
    BusinessPartnerTaxNumber:
      type: object
      properties:
        BusinessPartner:
          type: string
          description: Business partner number
          example: example_value
        BPTaxType:
          type: string
          description: Tax number category
          example: example_value
        BPTaxNumber:
          type: string
          description: Tax identification number
          example: example_value
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://{subdomain}.authentication.{region}.hana.ondemand.com/oauth/token
          scopes: {}
externalDocs:
  description: SAP AI Core API Reference
  url: https://api.sap.com/api/AI_CORE_API/resource