Data Transfer Format S2XML

Header

XML NAME

NAME (GERMAN)

NAME (ENGLISH)

TYPE

LENGTH

supplierId
Lieferantennummer
Supplier ID
Char
40
supplierName
Lieferantenname
Supplier Name
Char
50
timeOfTransfer
Übertragungszeit
Time of Transfer
Timestamp
s2customerNumber
S2-Kundennummer
S2 Customer Number
Dec
supplierCustomerNumber
Partner-Kundennummer
Partner Customer Number
Char
20
s2orderNumber
S2-Bestellnummer
S2 Order Number
Char
20
buyerGivenName
Besteller Vorname
Buyer given name
Char
62
buyerLastName
Besteller Nachname
Buyer last name
Char
62
buyerEmailAddress
E-Mail-Adresse des Bestellers
Buyer email address
Char
80
buyerPhoneNumber
Telefonnummer des Bestellers
Buyer phone number
Char
30
deliveryAddress
Strukturierendes Element für Lieferadresse
Surrounding Element for delivery address
plantId
Werkskennung
Plant id
Char
45.
line1
Lieferadresse 1 (Firma)
Delivery Address 1 (Company Line 1)
Char
50
line2
Lieferadresse 2 (Firma 2. Zeile)
Delivery Address 2 (Company Line 2)
Char
50
line3
Lieferadresse 3 (Firma 3. Zeile)
Delivery Address 3 (Company Line 3)
Char
50
street
Lieferadresse 4 (Straße)
Delivery Address 4 (Street)
Char
50
country
Lieferadresse 5 (Land)
Delivery Address 5 (Country)
Char
10
zipCode
Lieferadresse 6 (PLZ)
Delivery Address 6 (Zip Code)
Char
10
city
Lieferadresse 7 (Ort)
Delivery Address 7 (City)
Char
50
orderText
Bestelltext
Order Text
Char.
250
additionalInfoLine1
Zusatztext Zeile 1
Additional Text Line 1
Char
250
additionalInfoLine2
Zusatztext Zeile 2
Additional Text Line 2
Char
250
currency
Währung
Currency
Char
3
accumulatedPrice
Gesamtpreis
Price of order
Float
classificationType
Klassifizierungs-Typ
Classification Type
Char
10
classificationVersion
Klassifizierungs-Version
Classification Version
Char
10
desiredDeliveryDate
Wunschliefertermin
Desired Delivery Date
Date
reciever
Abweichender Empfänger
Different receiver
Char
12
additionalShoppingCart
Attributes
Strukturierendes Element für kundenspezifische Attribute
Structuring element for customer specific attributes
attribute
Strukturierendes Element für kundenspezifisches Attribut
Structuring element for customer specific attribute
attribute/name
Name des kundenspezifischen Attributes
Name of the customer specific attribute
attribute/value
Wert des kundenspezifischen Attributes
Value of the customer specific attribute

Position

XML NAME

NAME (GERMAN)

NAME (ENGLISH)

TYPE

LENGTH

positions
Strukturierendes Element für Positionen
Surrounding Element for positions
position
Strukturierendes Element für Position
Surrounding Element for position
number
Positionsnummer
Position number
Dec
accountingInformation
Strukturierendes Element für Kontierungsdaten
Surrounding Element for accounting data
accountType
Kontierungstyp

Booking Type
Char
1
accountValue
Kontierungswert
Booking Value
Char
20
buyerGadditional
AccountingInfoivenName
Zusätzlicher Kontierungswert
Additional Booking Value
Char
64
generalLedger
Sachkonto
General Ledger
Char
20
amount
Bestellmenge

Amount
Float
uomISO
Mengeneinheit ISO (wenn verfügbar)
Unit of Amount ISO (if available)
Char
20
uomSupplier
Mengeneinheit Lieferant
Unit of Amount Supplier
Char
20
supplierArticleNumber
Artikelnummer Lieferant
Supplier Article Number
Char
32
customerArticleNumber
Kundenspezifische Artikelnummer
Customer Article Number
Char
50
name
Bezeichnung
Name
Char
130
priceUnit
Preiseinheit
Price Unit
Dec
pricePerUnit
Preis pro Einheit
Price per Unit
Float
positionPrice
Preis gesamt pro Position
Accumulate Price per Position
Float
VAT
Mehrwertsteuer
VAT
Float
1,3
leadTime
Planlieferzeit in Tagen
Planed delivery time (days)
Dec
orderTeclassificationxt
Klassifizierung
Classification
Char
20
additionalInformation1
Zusatztext Zeile 1
Additional Text Line 1
Char
250
additionalInformation2
Zusatztext Zeile 2
Additional Text Line 2
Char
250
ociCustField1
Zusätzliches Attribut 1
Additional Attribute 1
Char
10
ociCustField2
Zusätzliches Attribut 2
Additional Attribute 2
Char
10
ociCustField3
Zusätzliches Attribut 3
Additional Attribute 3
Char
10
ociCustField4
Zusätzliches Attribut 4
Additional Attribute 4
Char
10
ociCustField5
Zusätzliches Attribut 5
Additional Attribute 5
Char
10
additionalShoppingCart
Attributes
Strukturierendes Element für kundenspezifische Attribute
Structuring element for customer specific attributes
attribute
Strukturierendes Element für kundenspezifisches Attribut
Structuring element for customer specific attribute
attribute/name
Name des kundenspezifischen Attributes
Name of the customer specific attribute
attribute/value
Wert des kundenspezifischen Attributes
Value of the customer specific attribute

Beispieldatei / Example

Download XSD Datei hier
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<S2XML version="1.0">
    <supplierId>101152</supplierId>
    <supplierName>Hoffmann GmbH</supplierName>
    <timeOfTransfer>2021-01-13T08:24:00+01:00</timeOfTransfer>
    <s2customerNumber>77xxxxx</s2customerNumber>
    <supplierCustomerNumber>TEST</supplierCustomerNumber>
    <s2orderNumber>480010201</s2orderNumber>
    <buyerGivenName>Demo</buyerGivenName>
    <buyerLastName>Besteller</buyerLastName>
    <buyerEmailAddress>Vorname.Nachname@simplesystem.com</buyerEmailAddress>
    <buyerPhoneNumber>0170/xxxxxxxxx</buyerPhoneNumber>
    <plantId>WERK44</plantId>
    <deliveryAddress>
        <line1>Testkunde GmbH</line1>
        <line2>Zeile2 Lieferadresse</line2>
        <line3>Gebäude 1 Raum 0815</line3>
        <street>Bodenseestraße 29</street>
        <country>DE</country>
        <zipCode>81241</zipCode>
        <city>München</city>
    </deliveryAddress>
    <orderText/>
    <additionalInfoLine1/>
    <additionalInfoLine2/>
    <currency>EUR</currency>
    <classificationType>eclass</classificationType>
    <classificationVersion>5.1</classificationVersion>
    <desiredDeliveryDate>24.12.2020</desiredDeliveryDate>
    <reciever/>
    <positions>
        <position>
            <number>1</number>
            <accountingInformation>
                <accountType>K</accountType>
                <accountValue>1234</accountValue>
                <additionalAccountingInfo/>
                <generalLedger>20401</generalLedger>
            </accountingInformation>
            <amount>1</amount>
            <uomISO>PCE</uomISO>
            <uomSupplier>Stück</uomSupplier>
            <supplierArticleNumber>113421 3</supplierArticleNumber>
            <customerArticleNumber/>
            <name>Blechbohrer HSS doppelseitig, unbeschichtet, ⌀ h8: 3 mm</name>
            <priceUnit>1</priceUnit>
            <pricePerUnit>1.00</pricePerUnit>
            <positionPrice>1.00</positionPrice>
            <VAT>0.19</VAT>
            <leadTime>1</leadTime>
            <classification>21010101</classification>
            <additionalInformation1/>
            <additionalInformation2/>
            <ociCustField1/>
            <ociCustField2/>
            <ociCustField3/>
            <ociCustField4/>
            <ociCustField5/>
        </position>
    </positions>
</S2XML>