openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /idoc/WPUBON01/WPUBON: post: summary: 'POS interface: Upload sales docs (receipts) non-aggregated' operationId: /idoc/WPUBON01/WPUBON 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 E1WPB01: type: array items: properties: POSKREIS: type: string maxLength: 5 description: POS sub-network (controller) KASSID: type: string maxLength: 25 description: POS ID VORGDATUM: type: string format: date maxLength: 8 description: Date on which transaction occurred at POS system VORGZEIT: type: string maxLength: 6 description: Time of Transaction BONNUMMER: type: string maxLength: 15 description: External reference no. (GR/I slip) QUALKDNR: type: string maxLength: 4 description: Qualifier for following field KUNDNR: type: string maxLength: 25 description: Partner Number KASSIERER: type: string maxLength: 10 description: Cashier CSHNAME: type: string maxLength: 35 description: Person's name BELEGWAERS: type: string maxLength: 4 description: Currency code E1WPB02: type: array items: properties: VORGANGART: type: string maxLength: 4 description: Transaction Type in POS System QUALARTNR: type: string maxLength: 4 description: Qualifier for following field ARTNR: type: string maxLength: 25 description: Material Number SERIENNR: type: string maxLength: 25 description: Serial Number VORZEICHEN: type: string maxLength: 1 description: Item category of POS document MENGE: type: string maxLength: 10 description: Quantity VERKAEUFER: type: string maxLength: 10 description: Salesperson AKTIONSNR: type: string maxLength: 15 description: Promotion REFBONNR: type: string maxLength: 15 description: External reference no. (GR/I slip) E1WPB03: type: array items: properties: VORZEICHEN: type: string maxLength: 1 description: +/- sign of condition KONDITION: type: string maxLength: 4 description: Type of condition/discount KONDVALUE: type: string maxLength: 20 description: Amount CONDID: type: string maxLength: 15 description: Condition Type Identification CONDID20: type: string maxLength: 20 description: 20-character conditions type identification QUALCONDID: type: string maxLength: 4 description: Qualifier for field CONDID BBYNR: type: string maxLength: 20 description: Bonus Buy Description required: - E1WPB03 E1WPB04: type: array items: properties: MWSKZ: type: string maxLength: 10 description: Tax Code MWSBT: type: string maxLength: 20 description: Tax Amount E1WXX01: type: array items: properties: FLDGRP: type: string maxLength: 5 description: Field Group FLDNAME: type: string maxLength: 10 description: Field Name FLDVAL: type: string maxLength: 40 description: Field Value required: - E1WPB02 E1WPB05: type: array items: properties: VORZEICHEN: type: string maxLength: 1 description: +/- sign of condition RABATTART: type: string maxLength: 4 description: Type of condition/discount RABSATZ: type: string maxLength: 10 description: Condition rate, percentage conditions RABVALUE: type: string maxLength: 20 description: Amount CONDID: type: string maxLength: 15 description: Condition Type Identification CONDID20: type: string maxLength: 20 description: 20-character conditions type identification QUALCONDID: type: string maxLength: 4 description: Qualifier for field CONDID BBYNR: type: string maxLength: 20 description: Bonus Buy Description E1WPB07: type: array items: properties: TAXCODE: type: string maxLength: 4 description: Tax Type TAXVALUE: type: string maxLength: 20 description: Tax Amount E1WPB06: type: array items: properties: VORZEICHEN: type: string maxLength: 1 description: +/- Sign ZAHLART: type: string maxLength: 4 description: Payment method at POS system SUMME: type: string maxLength: 35 description: Final Total CCINS: type: string maxLength: 4 description: Credit Card Institute WAEHRUNG: type: string maxLength: 4 description: Currency code KARTENNR: type: string maxLength: 25 description: Payment Card Number KARTENFNR: type: string maxLength: 15 description: Card Sequence Number GUELTAB: type: string maxLength: 8 description: Validity Date of Payment Card GUELTBIS: type: string maxLength: 8 description: Validity Date of Payment Card KONTOINH: type: string maxLength: 40 description: Account Holder BANKLZ: type: string maxLength: 15 description: Bank Number KONTONR: type: string maxLength: 25 description: Account Number AUTORINR: type: string maxLength: 25 description: Authorization number with online authorization TERMID: type: string maxLength: 25 description: Terminal ID TRTIME: type: string maxLength: 4 description: Transaction time ZUONR: type: string maxLength: 35 description: Assignment REFERENZ1: type: string maxLength: 25 description: Number of reference transaction REFERENZ2: type: string maxLength: 25 description: Number of reference transaction CCBEG: type: string maxLength: 1 description: 'Payment Cards: Limited in Value' CSOUR: type: string maxLength: 1 description: 'Payment Cards: Origin of Data' SETTL: type: string maxLength: 1 description: 'Payment cards: Settlement carried out' AUTRA: type: string maxLength: 15 description: 'Payment Cards: Authoriz. Reference Code of Clearing House' LOCID: type: string maxLength: 10 description: 'Payment cards: Point of receipt for the transaction' REACT: type: string maxLength: 1 description: 'Payment cards: Response to authorization checks' FLGAU: type: string maxLength: 1 description: 'Payment Cards: Authorization to Be Transferred' CONDID: type: string maxLength: 15 description: Condition Type Identification CONDID20: type: string maxLength: 20 description: 20-character conditions type identification required: - E1WPB06 required: - E1WPB01 responses: '200': description: OK content: application/json: schema: type: object properties: TID: type: string description: tid '400': description: Bad request. 5XX: description: Unexpected error.