openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /idoc/ACC_BILLING02/ACC_BILLING:
    post:
      summary: 'Accounting: Post invoice (OAG: LOAD RECEIVABLE)'
      operationId: /idoc/ACC_BILLING02/ACC_BILLING
      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
                E1BPACHE01:
                  type: array
                  items:
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 5
                        description: Reference procedure
                      OBJ_KEY:
                        type: string
                        maxLength: 20
                        description: Object key
                      OBJ_SYS:
                        type: string
                        maxLength: 10
                        description: Logical system of source document
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      HEADER_TXT:
                        type: string
                        maxLength: 25
                        description: Document Header Text
                      OBJ_KEY_R:
                        type: string
                        maxLength: 20
                        description: 'Cancel: object key (AWREF_REV and AWORG_REV)'
                      COMP_CODE:
                        type: string
                        maxLength: 4
                        description: Company Code
                      AC_DOC_NO:
                        type: string
                        maxLength: 10
                        description: Accounting Document Number
                      FISC_YEAR:
                        type: string
                        maxLength: 4
                        description: Fiscal Year
                      DOC_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Document Date in Document
                      PSTNG_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Posting Date in the Document
                      TRANS_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Translation date
                      VALUE_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Value date
                      FIS_PERIOD:
                        type: string
                        maxLength: 2
                        description: Fiscal period
                      DOC_TYPE:
                        type: string
                        maxLength: 2
                        description: Document type
                      REF_DOC_NO:
                        type: string
                        maxLength: 16
                        description: Reference Document Number
                      COMPO_ACC:
                        type: string
                        maxLength: 4
                        description: 'Component in ACC Interface: ACC=Central Functions in FI/CO Interface,COFC=Availability Control,COOI=Commitments Management,COPA=Profitability Analysis,COPC=Profit Center Accounting,CORL=Reconciliation Ledger,COZ=CO Central Modules,EAFM=Enterprise Addon Funds Management,EXTX=Control Interface,FDIS=Cash Management and Forecast,FI=Financial Accounting,FICA=Contract Accounts Receivable,FIFM=Cash Budget Management,FMRE=Funds reservations,FILC=Business Area Consolidation,GL=General
                          Ledger,ISRE=Real Estate Management,JVA=Joint Venture Accounting,MM-1=Logistics: Material Master,PS=Project System,RAIN=Asset Accounting,RK-1=Controlling: Actual Postings,SD=Sales,VV=Financial Assets Management,MMML=Material Ledger Update,FMCO=Cash Budget Management CO,RWEX=Idoc Output, External Accounting,DIAG=Financials Diagnosis Tool,ECCS=Consolidation,GLFL=Flexible General Ledger,ISSR=Insurance Statutory Reporting,ISU=Utilities industry,IST=Telecommunication,GM=Grants
                          Management,IND=Country Version for India,FMBD=Budgetary Ledger,FILA=Lease Accounting,INV=Inventory Accounting,NFSC=Nota Fiscal Brazil,PSCA=Enterprise Addon Funds Management - FICA,BCO=Inventory Controlling,GLJP=Localization Japan,Z=Customer-Specific Components,Z0=Customer-Specific Components,ZC=Customer-Specific Components,ZD=Customer-Specific Components,ZE=Customer-Specific Components,ZF=Customer-Specific Components,ZZ=Customer-Specific Components,ZG=Customer-Specific Components,ZH=Customer-Specific
                          Components,ZI=Customer-Specific Components,ZA=Customer-Specific Components,ZB=Customer-Specific Components,ZJ=Customer-Specific Components,ZK=Customer-Specific Components,ZL=Customer-Specific Components,ZM=Customer-Specific Components,ZN=Customer-Specific Components,ZO=Customer-Specific Components,ZP=Customer-Specific Components,ZQ=Customer-Specific Components,ZR=Customer-Specific Components,ZS=Customer-Specific Components,ZT=Customer-Specific Components,ZU=Customer-Specific
                          Components,ZV=Customer-Specific Components,ZW=Customer-Specific Components,ZX=Customer-Specific Components,ZY=Customer-Specific Components'
                        enum:
                        - ACC
                        - COFC
                        - COOI
                        - COPA
                        - COPC
                        - CORL
                        - COZ
                        - EAFM
                        - EXTX
                        - FDIS
                        - FI
                        - FICA
                        - FIFM
                        - FMRE
                        - FILC
                        - GL
                        - ISRE
                        - JVA
                        - MM-1
                        - PS
                        - RAIN
                        - RK-1
                        - SD
                        - VV
                        - MMML
                        - FMCO
                        - RWEX
                        - DIAG
                        - ECCS
                        - GLFL
                        - ISSR
                        - ISU
                        - IST
                        - GM
                        - IND
                        - FMBD
                        - FILA
                        - INV
                        - NFSC
                        - PSCA
                        - BCO
                        - GLJP
                        - Z
                        - Z0
                        - ZC
                        - ZD
                        - ZE
                        - ZF
                        - ZZ
                        - ZG
                        - ZH
                        - ZI
                        - ZA
                        - ZB
                        - ZJ
                        - ZK
                        - ZL
                        - ZM
                        - ZN
                        - ZO
                        - ZP
                        - ZQ
                        - ZR
                        - ZS
                        - ZT
                        - ZU
                        - ZV
                        - ZW
                        - ZX
                        - ZY
                      REASON_REV:
                        type: string
                        maxLength: 2
                        description: Reason for Reversal
                      REF_DOC_NO_LONG:
                        type: string
                        maxLength: 35
                        description: Reference Document Number (for Dependencies see Long Text)
                E1BPACPA00:
                  type: array
                  items:
                    properties:
                      NAME:
                        type: string
                        maxLength: 35
                        description: Name 1
                      NAME_2:
                        type: string
                        maxLength: 35
                        description: Name 2
                      NAME_3:
                        type: string
                        maxLength: 35
                        description: Name 3
                      NAME_4:
                        type: string
                        maxLength: 35
                        description: Name 4
                      POSTL_CODE:
                        type: string
                        maxLength: 10
                        description: Postal Code
                      CITY:
                        type: string
                        maxLength: 35
                        description: City
                      COUNTRY:
                        type: string
                        maxLength: 3
                        description: Country Key
                      COUNTRY_ISO:
                        type: string
                        maxLength: 2
                        description: Country key in ISO code
                      STREET:
                        type: string
                        maxLength: 35
                        description: House number and street
                      PO_BOX:
                        type: string
                        maxLength: 10
                        description: PO Box
                      POBX_PCD:
                        type: string
                        maxLength: 10
                        description: P.O. Box Postal Code
                      POBK_CURAC:
                        type: string
                        maxLength: 16
                        description: Account Number of Bank Account At Post Office
                      BANK_ACCT:
                        type: string
                        maxLength: 18
                        description: Bank account number
                      BANK_NO:
                        type: string
                        maxLength: 15
                        description: Bank number
                      BANK_CTRY:
                        type: string
                        maxLength: 3
                        description: Bank country key
                      BANK_CTRY_ISO:
                        type: string
                        maxLength: 2
                        description: Bank country key in ISO code
                      TAX_NO_1:
                        type: string
                        maxLength: 16
                        description: Tax Number 1
                      TAX_NO_2:
                        type: string
                        maxLength: 11
                        description: Tax Number 2
                      TAX:
                        type: string
                        maxLength: 1
                        description: 'Liable for VAT: X=Yes,""=No'
                        enum:
                        - X
                        - ''
                      EQUAL_TAX:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Business Partner Subject to Equalization Tax?: ""=Not subject to equalization tax,X=Subject to equalization tax'
                        enum:
                        - ''
                        - X
                      REGION:
                        type: string
                        maxLength: 3
                        description: Region (State, Province, County)
                      CTRL_KEY:
                        type: string
                        maxLength: 2
                        description: Bank Control Key
                      INSTR_KEY:
                        type: string
                        maxLength: 2
                        description: Instruction key for data medium exchange
                      DME_IND:
                        type: string
                        maxLength: 1
                        description: 'Report key for data medium exchange: 1=Single data record not to be forwarded to the Bundesbank,0=Single data record can be forwarded to the Bundesbank,""=Use house bank default value'
                        enum:
                        - '1'
                        - '0'
                        - ''
                      LANGU_ISO:
                        type: string
                        maxLength: 2
                        description: Language according to ISO 639
                E1BPACAR01:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      CUSTOMER:
                        type: string
                        maxLength: 10
                        description: Customer Number 1
                      REF_KEY_1:
                        type: string
                        maxLength: 12
                        description: Business partner reference key
                      REF_KEY_2:
                        type: string
                        maxLength: 12
                        description: Business partner reference key
                      REF_KEY_3:
                        type: string
                        maxLength: 20
                        description: Reference key for line item
                      PMNTTRMS:
                        type: string
                        maxLength: 4
                        description: Terms of payment key
                      BLINE_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Baseline date for due date calculation
                      DSCT_DAYS1:
                        type: number
                        maxLength: 4
                        description: Cash discount days 1
                      DSCT_DAYS2:
                        type: number
                        maxLength: 4
                        description: Cash discount days 2
                      NETTERMS:
                        type: number
                        maxLength: 4
                        description: Net Payment Terms Period
                      DSCT_PCT1:
                        type: number
                        maxLength: 7
                        description: Cash discount percentage 1
                      DSCT_PCT2:
                        type: number
                        maxLength: 7
                        description: Cash Discount Percentage 2
                      PYMT_METH:
                        type: string
                        maxLength: 1
                        description: Payment method
                      DUNN_KEY:
                        type: string
                        maxLength: 1
                        description: Dunning key
                      DUNN_BLOCK:
                        type: string
                        maxLength: 1
                        description: Dunning block
                      PMNT_BLOCK:
                        type: string
                        maxLength: 1
                        description: Payment Block Key
                      VAT_REG_NO:
                        type: string
                        maxLength: 20
                        description: VAT Registration Number
                      ALLOC_NMBR:
                        type: string
                        maxLength: 18
                        description: Assignment number
                      ITEM_TEXT:
                        type: string
                        maxLength: 50
                        description: Item Text
                      PARTNER_BK:
                        type: string
                        maxLength: 4
                        description: Partner bank type
                      GL_ACCOUNT:
                        type: string
                        maxLength: 10
                        description: General Ledger Account
                      SCBANK_IND:
                        type: string
                        maxLength: 3
                        description: State central bank indicator
                      BUSINESSPLACE:
                        type: string
                        maxLength: 4
                        description: Business Place
                      SECTIONCODE:
                        type: string
                        maxLength: 4
                        description: Section Code
                E1BPACGL01:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      GL_ACCOUNT:
                        type: string
                        maxLength: 10
                        description: General Ledger Account
                      STAT_CON:
                        type: string
                        maxLength: 1
                        description: 'Indicator for Statistical Line Items: ""=Not statistical,X=Statistical condition,U=Non-valuated goods receipt,A=FI document header without real line item'
                        enum:
                        - ''
                        - X
                        - U
                        - A
                      REF_KEY_1:
                        type: string
                        maxLength: 12
                        description: Business partner reference key
                      REF_KEY_2:
                        type: string
                        maxLength: 12
                        description: Business partner reference key
                      REF_KEY_3:
                        type: string
                        maxLength: 20
                        description: Reference key for line item
                      TAX_CODE:
                        type: string
                        maxLength: 2
                        description: Tax on sales/purchases code
                      ACCT_KEY:
                        type: string
                        maxLength: 3
                        description: Transaction Key
                      TAXJURCODE:
                        type: string
                        maxLength: 15
                        description: Tax Jurisdiction
                      CSHDIS_IND:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Line item not liable to cash discount?: X=Yes,""=No'
                        enum:
                        - X
                        - ''
                      ALLOC_NMBR:
                        type: string
                        maxLength: 18
                        description: Assignment number
                      ITEM_TEXT:
                        type: string
                        maxLength: 50
                        description: Item Text
                      BUS_AREA:
                        type: string
                        maxLength: 4
                        description: Business Area
                      COSTCENTER:
                        type: string
                        maxLength: 10
                        description: Cost Center
                      ORDERID:
                        type: string
                        maxLength: 12
                        description: Order Number
                      MATERIAL:
                        type: string
                        maxLength: 18
                        description: Material Number
                      QUANTITY:
                        type: string
                        maxLength: 15
                        description: Quantity
                      BASE_UOM:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      BASE_UOM_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      PLANT:
                        type: string
                        maxLength: 4
                        description: Plant
                      PROFIT_CTR:
                        type: string
                        maxLength: 10
                        description: Profit Center
                      PART_PRCTR:
                        type: string
                        maxLength: 10
                        description: Partner Profit Center
                      WBS_ELEMENT:
                        type: string
                        maxLength: 24
                        description: Work Breakdown Structure Element (WBS Element)
                      NETWORK:
                        type: string
                        maxLength: 12
                        description: Network Number for Account Assignment
                      CMMT_ITEM:
                        type: string
                        maxLength: 14
                        description: Commitment Item
                      FUNDS_CTR:
                        type: string
                        maxLength: 16
                        description: Funds Center
                      FUND:
                        type: string
                        maxLength: 10
                        description: Fund
                      SALES_ORD:
                        type: string
                        maxLength: 10
                        description: Sales Order Number
                      S_ORD_ITEM:
                        type: string
                        maxLength: 6
                        description: Item number in Sales Order
                      P_EL_PRCTR:
                        type: string
                        maxLength: 10
                        description: Partner profit center for elimination of internal business
                      BILL_TYPE:
                        type: string
                        maxLength: 4
                        description: Billing Type
                      DISTR_CHAN:
                        type: string
                        maxLength: 2
                        description: Distribution Channel
                      SOLD_TO:
                        type: string
                        maxLength: 10
                        description: Sold-to party
                      DIVISION:
                        type: string
                        maxLength: 2
                        description: Division
                      SALESORG:
                        type: string
                        maxLength: 4
                        description: Sales Organization
                      SALES_OFF:
                        type: string
                        maxLength: 4
                        description: Sales office
                      SALES_GRP:
                        type: string
                        maxLength: 3
                        description: Sales group
                      INV_QTY:
                        type: string
                        maxLength: 15
                        description: Actual billed quantity
                      SALES_UNIT:
                        type: string
                        maxLength: 3
                        description: Sales unit
                      SALES_UNIT_ISO:
                        type: string
                        maxLength: 3
                        description: Sales unit in ISO code
                      INV_QTY_SU:
                        type: string
                        maxLength: 15
                        description: Billing quantity in stockkeeping unit
                      NET_WEIGHT:
                        type: string
                        maxLength: 17
                        description: Net weight
                      GROSS_WT:
                        type: string
                        maxLength: 17
                        description: Gross weight
                      UNIT_OF_WT:
                        type: string
                        maxLength: 3
                        description: Weight Unit
                      UNIT_OF_WT_ISO:
                        type: string
                        maxLength: 3
                        description: Unit of weight in ISO code
                      VOLUME:
                        type: string
                        maxLength: 17
                        description: Volume
                      VOLUMEUNIT:
                        type: string
                        maxLength: 3
                        description: Volume unit
                      VOLUMEUNIT_ISO:
                        type: string
                        maxLength: 3
                        description: Volume unit in ISO code
                      ACTIVITY:
                        type: string
                        maxLength: 4
                        description: Operation/Activity Number
                      MATERIAL_EXTERNAL:
                        type: string
                        maxLength: 40
                        description: Long Material Number for MATERIAL Field
                      MATERIAL_GUID:
                        type: string
                        maxLength: 32
                        description: External GUID for MATERIAL Field
                      MATERIAL_VERSION:
                        type: string
                        maxLength: 10
                        description: Version Number for MATERIAL Field
                      CMMT_ITEM_LONG:
                        type: string
                        maxLength: 24
                        description: Commitment item
                      GRANT_NBR:
                        type: string
                        maxLength: 20
                        description: Grant
                      FUNC_AREA_LONG:
                        type: string
                        maxLength: 16
                        description: Functional Area
                E1BPACTX01:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      GL_ACCOUNT:
                        type: string
                        maxLength: 10
                        description: General Ledger Account
                      TAX_CODE:
                        type: string
                        maxLength: 2
                        description: Tax on sales/purchases code
                      ACCT_KEY:
                        type: string
                        maxLength: 3
                        description: Transaction Key
                      TAXJURCODE:
                        type: string
                        maxLength: 15
                        description: Tax Jurisdiction
                      COND_KEY:
                        type: string
                        maxLength: 4
                        description: Condition type
                      TAX_RATE:
                        type: number
                        maxLength: 9
                        description: Tax rate
                      TAX_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Date for defining tax rates
                      STAT_CON:
                        type: string
                        maxLength: 1
                        description: 'Condition is used for statistics: X=Yes,""=No'
                        enum:
                        - X
                        - ''
                      TAXJURCODE_DEEP:
                        type: string
                        maxLength: 15
                        description: Tax Jurisdiction Code - Jurisdiction for Lowest Level Tax
                      TAXJURCODE_LEVEL:
                        type: string
                        maxLength: 1
                        description: Tax jurisdiction code level
                      NEG_POSTNG:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Negative Posting: X=Yes,""=No'
                        enum:
                        - X
                        - ''
                E1BPACKECR:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      CHARACTER:
                        type: string
                        maxLength: 18
                        description: Characteristic (concrete use ==> EDIMAP)
                E1BPACKEVA:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      CURR_TYPE:
                        type: string
                        maxLength: 2
                        description: 'Currency type and valuation view: 00=Document currency,10=Company code currency,11=Company code currency, group valuation,12=Company code currency, profit center valuation,20=Controlling area currency,30=Group currency,31=Group currency, group valuation,32=Group currency, profit center valuation,40=Hard currency,50=Index-based currency,60=Global company currency,70=Controlling object currency,71=Controlling object currency, group valuation,72=Controlling object
                          currency, profit center valuation,80=Ledger currency,81=Ledger currency, group valuation,82=Ledger currency, profit center valuation,90=Profit center invoice currency,92=Profit center accounting currency, profit center valuation,A0=Financial management area currency,B0=Operating concern currency,B2=Operating concern currency, profit center valuation,C0=Consolidation unit currency,C1=Consolidation unit currency, group valuation,C2=Consolidation unit currency, profit center
                          valuation'
                        enum:
                        - '00'
                        - '10'
                        - '11'
                        - '12'
                        - '20'
                        - '30'
                        - '31'
                        - '32'
                        - '40'
                        - '50'
                        - '60'
                        - '70'
                        - '71'
                        - '72'
                        - '80'
                        - '81'
                        - '82'
                        - '90'
                        - '92'
                        - A0
                        - B0
                        - B2
                        - C0
                        - C1
                        - C2
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      AMT_VALCOM:
                        type: number
                        maxLength: 25
                        description: 'Value components: Currency field'
                      BASE_UOM:
                        type: string
                        maxLength: 3
                        description: Base Unit of Measure
                      BASE_UOM_ISO:
                        type: string
                        maxLength: 3
                        description: Base unit of measure in ISO code
                      QUA_VALCOM:
                        type: string
                        maxLength: 17
                        description: 'Value fields: Quantities'
                E1BPACCR01:
                  type: array
                  items:
                    properties:
                      ITEMNO_ACC:
                        type: string
                        maxLength: 10
                        description: Accounting Document Line Item Number
                      CURR_TYPE:
                        type: string
                        maxLength: 2
                        description: 'Currency type and valuation view: 00=Document currency,10=Company code currency,11=Company code currency, group valuation,12=Company code currency, profit center valuation,20=Controlling area currency,30=Group currency,31=Group currency, group valuation,32=Group currency, profit center valuation,40=Hard currency,50=Index-based currency,60=Global company currency,70=Controlling object currency,71=Controlling object currency, group valuation,72=Controlling object
                          currency, profit center valuation,80=Ledger currency,81=Ledger currency, group valuation,82=Ledger currency, profit center valuation,90=Profit center invoice currency,92=Profit center accounting currency, profit center valuation,A0=Financial management area currency,B0=Operating concern currency,B2=Operating concern currency, profit center valuation,C0=Consolidation unit currency,C1=Consolidation unit currency, group valuation,C2=Consolidation unit currency, profit center
                          valuation'
                        enum:
                        - '00'
                        - '10'
                        - '11'
                        - '12'
                        - '20'
                        - '30'
                        - '31'
                        - '32'
                        - '40'
                        - '50'
                        - '60'
                        - '70'
                        - '71'
                        - '72'
                        - '80'
                        - '81'
                        - '82'
                        - '90'
                        - '92'
                        - A0
                        - B0
                        - B2
                        - C0
                        - C1
                        - C2
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      AMT_DOCCUR:
                        type: number
                        maxLength: 25
                        description: Amount in document currency
                      EXCH_RATE:
                        type: number
                        maxLength: 11
                        description: Exchange rate
                      AMT_BASE:
                        type: number
                        maxLength: 25
                        description: Tax Base Amount in Document Currency
                      DISC_BASE:
                        type: number
                        maxLength: 25
                        description: Amount Eligible for Cash Discount in Document Currency
                      EXCH_RATE_V:
                        type: number
                        maxLength: 11
                        description: Indirect Quoted Exchange Rate
                E1BPACSO00:
                  type: array
                  items:
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 5
                        description: Reference procedure
                      OBJ_KEY:
                        type: string
                        maxLength: 20
                        description: Object key
                      OBJ_SYS:
                        type: string
                        maxLength: 10
                        description: Logical system of source document
                      OBJ_POS:
                        type: string
                        maxLength: 10
                        description: Reference line item
                      OBJ_ID:
                        type: string
                        maxLength: 10
                        description: 'Reference document: Current identification'
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      STAT_CON:
                        type: string
                        maxLength: 1
                        description: 'Indicator for Statistical Line Items: ""=Not statistical,X=Statistical condition,U=Non-valuated goods receipt,A=FI document header without real line item'
                        enum:
                        - ''
                        - X
                        - U
                        - A
                      OBJ_TYP_P:
                        type: string
                        maxLength: 5
                        description: 'Previous document: Reference procedure'
                      OBJ_KEY_P:
                        type: string
                        maxLength: 20
                        description: 'Previous document: Object key (AWREF_REV and AWORG_REV)'
                      OBJ_POS_P:
                        type: string
                        maxLength: 10
                        description: 'Previous document: Reference line item'
                      PMNTTRMS:
                        type: string
                        maxLength: 4
                        description: Terms of payment key
                      BLINE_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Baseline date for due date calculation
                      DSCT_DAYS1:
                        type: number
                        maxLength: 4
                        description: Cash discount days 1
                      DSCT_DAYS2:
                        type: number
                        maxLength: 4
                        description: Cash discount days 2
                      NETTERMS:
                        type: number
                        maxLength: 4
                        description: Net Payment Terms Period
                      DSCT_PCT1:
                        type: number
                        maxLength: 7
                        description: Cash discount percentage 1
                      DSCT_PCT2:
                        type: number
                        maxLength: 7
                        description: Cash Discount Percentage 2
                      DOC_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Document Date in Document
                      BILL_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Billing date for billing index and printout
                      PRICE_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Date for pricing and exchange rate
                      ITEM_DATE:
                        type: string
                        format: date
                        maxLength: 8
                        description: Date on which the record was created
                      DELETE_IND:
                        type: string
                        maxLength: 1
                        description: 'Data Record Was Deleted: ""=Indicator is not set,X=Indicator is set'
                        enum:
                        - ''
                        - X
                      PAYER:
                        type: string
                        maxLength: 10
                        description: Payer
                      COMP_CODE:
                        type: string
                        maxLength: 4
                        description: Company Code
                      BUS_AREA:
                        type: string
                        maxLength: 4
                        description: Business Area
                      GL_ACCOUNT:
                        type: string
                        maxLength: 10
                        description: G/L Account Number
                      WBS_ELEMENT:
                        type: string
                        maxLength: 24
                        description: Work Breakdown Structure Element (WBS Element)
                      FUNDS_CTR:
                        type: string
                        maxLength: 16
                        description: Funds Center
                      FUND:
                        type: string
                        maxLength: 10
                        description: Fund
                      CMMT_ITEM:
                        type: string
                        maxLength: 14
                        description: Commitment Item
                      ORDERID:
                        type: string
                        maxLength: 12
                        description: Order Number
                      CMMT_ITEM_LONG:
                        type: string
                        maxLength: 24
                        description: Commitment item
                      GRANT_NBR:
                        type: string
                        maxLength: 20
                        description: Grant
                      FUNC_AREA_LONG:
                        type: string
                        maxLength: 16
                        description: Functional Area
                E1BPACCRSO:
                  type: array
                  items:
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 5
                        description: Reference procedure
                      OBJ_KEY:
                        type: string
                        maxLength: 20
                        description: Object key
                      OBJ_SYS:
                        type: string
                        maxLength: 10
                        description: Logical system of source document
                      OBJ_POS:
                        type: string
                        maxLength: 10
                        description: Reference line item
                      OBJ_ID:
                        type: string
                        maxLength: 10
                        description: 'Reference document: Current identification'
                      ORVALTYPE:
                        type: string
                        maxLength: 1
                        description: 'Value type of purchase order/sales order values: 1=Costs/revenues rel. to payment,2=Costs/revenues not rel. to payment,3=Down payment request, down payment,4=Payments'
                        enum:
                        - '1'
                        - '2'
                        - '3'
                        - '4'
                      CURR_TYPE:
                        type: string
                        maxLength: 2
                        description: 'Currency type and valuation view: 00=Document currency,10=Company code currency,11=Company code currency, group valuation,12=Company code currency, profit center valuation,20=Controlling area currency,30=Group currency,31=Group currency, group valuation,32=Group currency, profit center valuation,40=Hard currency,50=Index-based currency,60=Global company currency,70=Controlling object currency,71=Controlling object currency, group valuation,72=Controlling object
                          currency, profit center valuation,80=Ledger currency,81=Ledger currency, group valuation,82=Ledger currency, profit center valuation,90=Profit center invoice currency,92=Profit center accounting currency, profit center valuation,A0=Financial management area currency,B0=Operating concern currency,B2=Operating concern currency, profit center valuation,C0=Consolidation unit currency,C1=Consolidation unit currency, group valuation,C2=Consolidation unit currency, profit center
                          valuation'
                        enum:
                        - '00'
                        - '10'
                        - '11'
                        - '12'
                        - '20'
                        - '30'
                        - '31'
                        - '32'
                        - '40'
                        - '50'
                        - '60'
                        - '70'
                        - '71'
                        - '72'
                        - '80'
                        - '81'
                        - '82'
                        - '90'
                        - '92'
                        - A0
                        - B0
                        - B2
                        - C0
                        - C1
                        - C2
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      CURRENCY_ISO:
                        type: string
                        maxLength: 3
                        description: ISO code currency
                      AMT_ORIGIN:
                        type: number
                        maxLength: 25
                        description: Original amount
                      AMT_OPEN:
                        type: number
                        maxLength: 25
                        description: Open amount
                      AMT_TAX:
                        type: number
                        maxLength: 25
                        description: Tax Amount
                      EXCH_RATE:
                        type: number
                        maxLength: 11
                        description: Exchange rate
                      EXCH_RATE_V:
                        type: number
                        maxLength: 11
                        description: Indirect Quoted Exchange Rate
                E1BPEXTC:
                  type: array
                  items:
                    properties:
                      FIELD1:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD2:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD3:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
                      FIELD4:
                        type: string
                        maxLength: 250
                        description: Character field with length 250
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  TID:
                    type: string
                    description: tid
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
