Data Transfer Format S2XML
Header
XML NAME | NAME (GERMAN) | NAME (ENGLISH) | TYPE | LENGTH |
---|---|---|---|---|
| Lieferantennummer | Supplier ID | Char | 40 |
| Lieferantenname | Supplier Name | Char | 50 |
| Übertragungszeit | Time of Transfer | Timestamp |
|
| S2-Kundennummer | S2 Customer Number | Dec |
|
| Partner-Kundennr | Partner Customer Number | Char | 20 |
| S2-Bestellnummer | S2 Order Number | Char | 20 |
| Besteller Vorname | Buyer given name | Char | 62 |
| Besteller Nachname | Buyer last name | Char | 62 |
| email-Adresse des Bestellers | Buyer eMail adress | Char | 80 |
| Telefonnr des Bestellers | Buyer phone number | Char | 30 |
| Strukturierendes Element für Lieferadresse | Surrounding Element for delivery address |
|
|
| Werkskennung | Plant id | Char | 45 |
| Lieferadresse 1 (Firma) | Delivery Address 1 (Company Line 1) | Char | 50 |
| Lieferadresse 2 (Firma 2. Zeile) | Delivery Address 2 (Company Line 2) | Char | 50 |
| Lieferadresse 3 (Firma 3. Zeile) | Delivery Address 3 (Comapny Line 3) | Char | 50 |
| Lieferadresse 4 (Straße) | Delivery Address 4 (Street) | Char | 50 |
| Lieferadresse 5 (Land) | Delivery Address 5 (Country) | Char | 10 |
| Lieferadresse 6 (PLZ) | Delivery Address 6 (Zip Code) | Char | 10 |
| Lieferadresse 7 (Ort) | Delivery Address 7 (City) | Char | 50 |
| Bestelltext | Order Text | Char | 250 |
| Zusatztext Zeile 1 | Additional Text Line 1 | Char | 250 |
| Zusatztext Zeile 2 | Additional Text Line 2 | Char | 250 |
| Währung | Currency | Char | 3 |
| Gesamtpreis | Price of order | Float |
|
| Klassifizierungs-Typ | Classification Type | Char | 10 |
| Klassifizierungs-Version | Classification Version | Char | 10 |
| Wunschliefertermin | Desired Delivery Date | Date |
|
| Abweichender Empfänger | Different receiver | Char | 12 |
| Strukturierendes Element für Kundenspezifische Attribute | Structuring Element for customer specific attributes |
|
|
| Strukturierendes Element für Kundenspezifisches Attribut | Structuring Element for customer specific attribute |
|
|
| Name des Kundenspezfischen Attributes | Name of the customer specific attribute |
|
|
| Wert des Kundenspezfischen Attributes | Value of the customer specific attribute |
|
|
Position
XML NAME | NAME (GERMAN) | NAME (ENGLISH) | TYPE | LENGTH |
---|---|---|---|---|
| Strukturierendes Element für Positionen | Surrounding Element for positions |
|
|
| Strukturierendes Element für Position | Surrounding Element for position |
|
|
| Positionsnummer | Positionnumber | Dec |
|
| Strukturierendes Element für Kontierungsdaten | Surrounding Element for accounting data |
|
|
| Kontierungstyp | Booking Type | Char | 1 |
| Kontierungswert | Booking Value | Char | 20 |
| Zusätzlicher Kontierungswert | Additional Booking Value | Char | 64 |
| Sachkonto | General Ledger | Char | 20 |
| Bestellmenge | Amount | Float |
|
| Mengeneinheit ISO (wenn verfügbar) | Unit of Amount ISO (if available) | Char | 20 |
| Mengeneinheit Lieferant | Unit of Amount Supplier | Char | 20 |
| Artikelnummer Lieferant | Supplier Article Number | Char | 32 |
| Kundenspezifische Artikelnumer | Customer Article Number | Char | 50 |
| Bezeichnung | Name | Char | 130 |
| Preiseinheit | Price Unit | Dec |
|
| Preis pro Einheit | Price per Unit | Float |
|
| Preis Gesamt pro Position | Accumulate Price per Position | Float |
|
| Mehrwertsteuer | VAT | Float | 1,3 |
| Planlieferzeit in Tagen | Planed delivery time (days) | Dec |
|
| Klassifizierung | Classification | Char | 20 |
| Zusatztext Zeile 1 | Additional Text Line 1 | Char | 250 |
| Zusatztext Zeile 2 | Additional Text Line 2 | Char | 250 |
| Zusätzliches Attribut 1 | Additional Attribute 1 | Char | 10 |
| Zusätzliches Attribut 2 | Additional Attribute 2 | Char | 10 |
| Zusätzliches Attribut 3 | Additional Attribute 3 | Char | 10 |
| Zusätzliches Attribut 4 | Additional Attribute 4 | Char | 20 |
| Zusätzliches Attribut 5 | Additional Attribute 5 | Char | 50 |
| Gewicht (in KG) | Weight (in KG) | Float | 4,3 |
| Volumen | Volume | Dec |
|
| Herkunftsland | Country of Origin | Char | 2 |
| Statistische Warennummer | Customs Tariff Number | Char | 17 |
| Strukturierendes Element für Kundenspezifische Attribute | Structuring Element for customer specific attributes |
|
|
| Strukturierendes Element für Kundenspezifisches Attribut | Structuring Element for customer specific attribute |
|
|
| Name des Kundenspezfischen Attributes | Name of the customer specific attribute |
|
|
| Wert des Kundenspezfischen Attributes | Value of the customer specific attribute |
|
|
Beispieldatei / Example
<?xml version="1.0" encoding="UTF-8"?>
<S2XML>
<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/>
<weight/>
<volume/>
<countryOfOrigin/>
<statisticalLotNumber/>
</position>
</positions>
</S2XML>
Download XSD: