openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /idoc/BUPA_FS_CHANGEREPORTING01/BUPA_FS_CHANGEREPORTING:
    post:
      summary: Change Regulatory Reporting Data for a Business Partner
      operationId: /idoc/BUPA_FS_CHANGEREPORTING01/BUPA_FS_CHANGEREPORTING
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                EDI_DC40:
                  properties:
                    TABNAM:
                      type: string
                      maxLength: 10
                      description: Name of Table Structure
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    DOCNUM:
                      type: string
                      maxLength: 16
                      description: IDoc number
                    DOCREL:
                      type: string
                      maxLength: 4
                      description: SAP Release for IDoc
                    STATUS:
                      type: string
                      maxLength: 2
                      description: Status of IDoc
                    DIRECT:
                      type: string
                      maxLength: 1
                      description: 'Direction enumValues: 1=Outbound, 2=Inbound'
                      enum:
                      - '1'
                      - '2'
                    OUTMOD:
                      type: string
                      maxLength: 1
                      description: 'Output mode enumValues: 1=Transfer IDoc immediately and start external subsystem, 2=Transfer IDoc immediately, 3=Collect IDocs, transfer and start external subsystem, 4=Collect IDocs and transfer'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                      - '4'
                    EXPRSS:
                      type: string
                      maxLength: 1
                      description: 'Overriding in inbound processing enumValues: ""=No overriding, X=Overriding'
                      enum:
                      - ''
                      - X
                    TEST:
                      type: string
                      maxLength: 1
                      description: 'Test flag enumValues: ""=IDoc contains a productive message, X=IDoc contains a test message'
                      enum:
                      - ''
                      - X
                    IDOCTYP:
                      type: string
                      maxLength: 30
                      description: Name of basic type
                    CIMTYP:
                      type: string
                      maxLength: 30
                      description: Extension (defined by customer)
                    MESTYP:
                      type: string
                      maxLength: 30
                      description: Message type
                    MESCOD:
                      type: string
                      maxLength: 3
                      description: Message code
                    MESFCT:
                      type: string
                      maxLength: 3
                      description: Message Function
                    STD:
                      type: string
                      maxLength: 1
                      description: EDI standard, flag
                    STDVRS:
                      type: string
                      maxLength: 6
                      description: EDI standard, version and release
                    STDMES:
                      type: string
                      maxLength: 6
                      description: EDI message type
                    SNDPOR:
                      type: string
                      maxLength: 10
                      description: Sender port (SAP System, external subsystem)
                    SNDPRT:
                      type: string
                      maxLength: 2
                      description: Partner type of sender
                    SNDPFC:
                      type: string
                      maxLength: 2
                      description: Partner Function of Sender
                    SNDPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Sender
                    SNDSAD:
                      type: string
                      maxLength: 21
                      description: Sender address (SADR)
                    SNDLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of sender
                    RCVPOR:
                      type: string
                      maxLength: 10
                      description: Receiver port
                    RCVPRT:
                      type: string
                      maxLength: 2
                      description: Partner Type of Receiver
                    RCVPFC:
                      type: string
                      maxLength: 2
                      description: Partner function of recipient
                    RCVPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Receiver
                    RCVSAD:
                      type: string
                      maxLength: 21
                      description: Recipient address (SADR)
                    RCVLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of recipient
                    CREDAT:
                      type: string
                      format: date
                      maxLength: 8
                      description: Created on
                    CRETIM:
                      type: string
                      maxLength: 6
                      description: Created at
                    REFINT:
                      type: string
                      maxLength: 14
                      description: Transmission file (EDI Interchange)
                    REFGRP:
                      type: string
                      maxLength: 14
                      description: Message group (EDI Message Group)
                    REFMES:
                      type: string
                      maxLength: 14
                      description: Message (EDI Message)
                    ARCKEY:
                      type: string
                      maxLength: 70
                      description: Key for external message archive
                    SERIAL:
                      type: string
                      maxLength: 20
                      description: Serialization
                E1BUPA_FS_CHANGEREPORTING:
                  type: array
                  items:
                    properties:
                      BUSINESSPARTNER:
                        type: string
                        maxLength: 10
                        description: Business Partner Number
                      TESTRUN:
                        type: string
                        maxLength: 1
                        description: 'Switch to Simulation Session for Write BAPIs: ""=Not set,X=Set'
                        enum:
                        - ''
                        - X
                      E1BP_STR_BUPA_FS_CHANGE_DOC:
                        type: array
                        items:
                          properties:
                            CHANGE_DOCU:
                              type: string
                              maxLength: 1
                              description: 'Generate Change Documents: X=TRUE,""=FALSE'
                              enum:
                              - X
                              - ''
                      E1BP_STR_BUSISB990_GEN:
                        type: array
                        items:
                          properties:
                            IDATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: DB Field Contents Must Be Valid at This Date
                            TECH_DATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: Consider Database Changes up to This Date Limit Only
                      E1BP_STR_BUPA_FS_REPORT:
                        type: array
                        items:
                          properties:
                            NONRESIDENT:
                              type: string
                              maxLength: 1
                              description: 'Non-Resident According to Paragraph 4 AWG: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            NONRESIDENT_DATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: Start of Non-Residency According to Paragraph 4 AWG
                            REPORTING_RELEVANT:
                              type: string
                              maxLength: 1
                              description: 'Recipient of Multimillion Loan According to Paragraph 14 GBA: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            BORROWER_NR:
                              type: string
                              maxLength: 8
                              description: Borrower Number for Reporting a Loan According to GBA
                            BORROWER_UNIT:
                              type: string
                              maxLength: 8
                              description: Borrower Entity No. for Reporting a Loan According to GBA
                            CREDIT_STANDING_REVIEW:
                              type: string
                              maxLength: 2
                              description: Credit Standing Review According to Paragraph 18 GBA
                            CREDIT_STANDING_REVIEW_DATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: Date of Credit Standing Review According to Paragraph 18 GBA
                            CREDIT_NOTIFICATION:
                              type: string
                              maxLength: 2
                              description: Loan to Manager According to Paragraph 15 German Banking Act
                            COMPANY_RELATIONSHIP:
                              type: string
                              maxLength: 1
                              description: 'Organization Relationship: 1=Affiliated Company,2=Shareholding,3=Other,4=Holding'
                              enum:
                              - '1'
                              - '2'
                              - '3'
                              - '4'
                            NAT_BANK_ID_AUSTRIA:
                              type: string
                              maxLength: 11
                              description: (OeNB) Ident Number
                            NAT_BANK_GROUP_ID_AUSTRIA:
                              type: string
                              maxLength: 2
                              description: Target Group According to OeNB
                            ID_EXTERN_AUSTRIA:
                              type: string
                              maxLength: 1
                              description: 'Assign (OeNB) Ident Number: 0=No,1=Yes'
                              enum:
                              - '0'
                              - '1'
                            BANK_CODE_AUSTRIA:
                              type: string
                              maxLength: 7
                              description: Institute Number According to OeNB
                            REPORTING_RELEVANT_BANK_AT:
                              type: string
                              maxLength: 1
                              description: 'Institute Subject to Austrian Reg. Reporting Requirements: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            ENTITY_REPORT:
                              type: string
                              maxLength: 2
                              description: 'Legal Entity for Business Partner: 01=Fed. Rep. Germany, States, Local Govmts and Loc. Authorities,02=Partner States, Reg. Govmt, Local Authorities in EC/EEA (0%),03=International Organizations with FRG as Full Member,04=Other Regional Governmnts, Local Authorities in EC/EEA (20%),05=Public Credit Institution,06=Private Credit Institution,07=Private Companies (Except Credit Institutions),08=Other'
                              enum:
                              - '01'
                              - '02'
                              - '03'
                              - '04'
                              - '05'
                              - '06'
                              - '07'
                              - '08'
                            ENTITY_QUOTA:
                              type: string
                              maxLength: 1
                              description: 'Business Partner Acc. to Para. 3 Section 2 German Asset Reg.: 1=BP According to Para. 3, Subp. 2 a - German Asset Regulation,2=BP According to Para. 3, Subp. 2 b - German Asset Regulation,3=BP According to Para. 3, Subp. 2 c - German Asset Regulation,4=BP According to Para. 3, Subp. 2 d - German Asset Regulation'
                              enum:
                              - '1'
                              - '2'
                              - '3'
                              - '4'
                            DEBTOR_GROUP:
                              type: string
                              maxLength: 1
                              description: 'Debtor Group According to German Law (BerVersV, Template 5): 1=Corporations and Institutions Under Public Law,2=Companies Under Private Law,3=Employees,4=Other Persons'
                              enum:
                              - '1'
                              - '2'
                              - '3'
                              - '4'
                            RISK_GROUP:
                              type: string
                              maxLength: 1
                              description: 'Risk Group: 0=No Risk Group,1=Credits Without Discernible Risk,2=Credits with Increased, Latent Risk,3=Value-Adjusted Credits'
                              enum:
                              - '0'
                              - '1'
                              - '2'
                              - '3'
                            CLASSIFICATION_DATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: Date of Risk Grouping
                            COMBINE_TIE:
                              type: string
                              maxLength: 1
                              description: 'Group Affiliation Exists: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            MFI:
                              type: string
                              maxLength: 1
                              description: 'Monetary Financial Institution: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            LEGAL_RELEVANT:
                              type: string
                              maxLength: 1
                              description: 'Obligation to Submit to Credit Standing Review - Para.18 GBA: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            LARGE_CREDIT_CHECK:
                              type: string
                              maxLength: 1
                              description: 'Large-Scale Loan Monitoring According to Paragraph 13b GBA: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            CREDITING_RELIEF:
                              type: string
                              maxLength: 1
                              description: 'Crediting Relief in Accordance with §13/3 GBA: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            PAR1_ABS1_REL:
                              type: string
                              maxLength: 1
                              description: 'Authorized Acc. to Para. 1/1 No. 20b German Asset Regulation: X=Yes,""=No'
                              enum:
                              - X
                              - ''
                            LZB_COUNTRY_KEY:
                              type: string
                              maxLength: 4
                              description: Numeric Code for German Federal Bank Country Indicator
                      E1BP_STR_BUPA_FS_REPORT_X:
                        type: array
                        items:
                          properties:
                            NONRESIDENT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            NONRESIDENT_DATE:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            REPORTING_RELEVANT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            BORROWER_NR:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            BORROWER_UNIT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            CREDIT_STANDING_REVIEW:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            CREDIT_STANDING_REVIEW_DATE:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            CREDIT_NOTIFICATION:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            COMPANY_RELATIONSHIP:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            NAT_BANK_ID_AUSTRIA:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            NAT_BANK_GROUP_ID_AUSTRIA:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            ID_EXTERN_AUSTRIA:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            BANK_CODE_AUSTRIA:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            REPORTING_RELEVANT_BANK_AT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            ENTITY_REPORT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            ENTITY_QUOTA:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            DEBTOR_GROUP:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            RISK_GROUP:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            CLASSIFICATION_DATE:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            COMBINE_TIE:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            MFI:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            LEGAL_RELEVANT:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            LARGE_CREDIT_CHECK:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            CREDITING_RELIEF:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            PAR1_ABS1_REL:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                            LZB_COUNTRY_KEY:
                              type: string
                              maxLength: 1
                              description: 'Updated information in related user data field: X=Update for the field,""=No update for the field'
                              enum:
                              - X
                              - ''
                    required:
                    - E1BUPA_FS_CHANGEREPORTING
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  TID:
                    type: string
                    description: tid
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
