Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieser Seite an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Seitenhistorie anzeigen

Version 1 Aktuelle »

Die Einlieferung einer “geparkten” OCI Bestellung die auf ihre Freigabe wartet findet über einen POST Request auf die URL https://shopurl/oci.php statt.


Folgende Bereiche werden von uns für die Freigabe der Bestellung verarbeitet.

Externe Bestellnummer
ORDER->ORDER_HEADER->ORDER_INFO->ORDER_ID

OrderCode der Bestellpositionen
ORDER->ORDER_ITEM_LIST->ORDER_ITEM->REMARK type="general"

Menge
ORDER->ORDER_ITEM_LIST->ORDER_ITEM->QUANTITY

Rechnungsadresse
ORDER->ORDER_HEADER->ORDER_INFO->ORDER_PARTIES->INVOICE_PARTY

Lieferadresse
ORDER->ORDER_HEADER->ORDER_INFO->ORDER_PARTIES->SHIPMENT_PARTIES->DELIVERY_PARTY


Beispiel XML

{"~xmlDokument":"<?xml version="1.0" encoding="utf-8"?>
<ORDER xmlns="http://www.opentrans.org/XMLSchema/1.0">
    <ORDER_HEADER>
        <CONTROL_INFO>
            <GENERATOR_INFO>openTRANS</GENERATOR_INFO>
            <GENERATION_DATE>2024-11-07T11:32:14</GENERATION_DATE>
        </CONTROL_INFO>
        <ORDER_INFO>

            <!-- Externe Bestellnummer -->
            <ORDER_ID>4100022809</ORDER_ID>
            
            <ORDER_DATE>2024-11-07T11:32:08</ORDER_DATE>
            <DELIVERY_DATE type="optional">
                <DELIVERY_START_DATE>2024-11-12T00:00:00</DELIVERY_START_DATE>
                <DELIVERY_END_DATE>2024-11-12T00:00:00</DELIVERY_END_DATE>
            </DELIVERY_DATE>
            <ORDER_PARTIES>

                <!-- Rechnungsadresse -->
                <INVOICE_PARTY>
                    <PARTY>
                        <PARTY_ID type="buyer_specific">R_24355</PARTY_ID>
                        <ADDRESS>
                            <NAME>Mustermann GmbH</NAME> // company
                            <NAME2></NAME2> // company2
                            <STREET>Musterweg 1</STREET> // street
                            <ZIP>12345</ZIP> // zip
                            <CITY>Musterort</CITY> // city
                            <COUNTRY>DE</COUNTRY> // countryCode
                            <PHONE type="office">0123 45678</PHONE> // phone
                            <FAX>0123 45678</FAX> // fax
                            <EMAIL>m.mustermann@example.org</EMAIL> // email
                            <FIRSTNAME>Max</FIRSTNAME>
                            <LASTNAME>Mustermann</LASTNAME>
                        </ADDRESS>
                    </PARTY>
                </INVOICE_PARTY>
                <SHIPMENT_PARTIES>

                    <!-- Versandadresse -->
                    <DELIVERY_PARTY>
                        <PARTY>
                            <PARTY_ID type="buyer_specific">0000024355</PARTY_ID>
                            <ADDRESS>
                                <NAME>Mustermann GmbH</NAME> <!-- company -->
                                <NAME2></NAME2> <!-- company2 -->
                                <STREET>Musterweg 1</STREET> <!-- street -->
                                <ZIP>12345</ZIP> <!-- zip -->
                                <CITY>Musterort</CITY> <!-- city -->
                                <COUNTRY>DE</COUNTRY> <!-- countryCode
                                <PHONE type="office">0123 45678</PHONE> <!-- phone -->
                                <FAX>0123 45678</FAX> <!-- fax -->
                                <EMAIL>m.mustermann@example.org</EMAIL> <!-- email -->
                                <FIRSTNAME>Max</FIRSTNAME> <!-- firstname -->
                                <LASTNAME>Mustermann</LASTNAME> <!-- lastname -->
                            </ADDRESS>
                        </PARTY>
                    </DELIVERY_PARTY>
                </SHIPMENT_PARTIES>
            </ORDER_PARTIES>
        </ORDER_INFO>
    </ORDER_HEADER>
    <ORDER_ITEM_LIST>
        <ORDER_ITEM>
            <LINE_ITEM_ID>10</LINE_ITEM_ID>
            <ARTICLE_ID>
                <SUPPLIER_AID>11</SUPPLIER_AID>
            </ARTICLE_ID>

            <!-- Menge -->
            <QUANTITY>100.0000</QUANTITY>

            <ORDER_UNIT>ST</ORDER_UNIT>
            <ARTICLE_PRICE type="net_list">
                <PRICE_AMOUNT>16.0000</PRICE_AMOUNT>
                <PRICE_LINE_AMOUNT>16.00</PRICE_LINE_AMOUNT>
                <TAX>0.19</TAX>
                <TAX_AMOUNT>3.04</TAX_AMOUNT>
                <PRICE_QUANTITY>100.0000</PRICE_QUANTITY>
            </ARTICLE_PRICE>
            <DELIVERY_DATE type="optional">
                <DELIVERY_START_DATE>2024-11-12T00:00:00</DELIVERY_START_DATE>
                <DELIVERY_END_DATE>2024-11-12T00:00:00</DELIVERY_END_DATE>
            </DELIVERY_DATE>
            <SHIPMENT_PARTIES>
                <DELIVERY_PARTY>
                    <PARTY>
                        <PARTY_ID type="buyer_specific">0000024355</PARTY_ID>
                        <ADDRESS>
                            <NAME>Mustermann GmbH</NAME> <!-- company -->
                            <NAME2></NAME2> <!-- company2 -->
                            <STREET>Musterweg 1</STREET> <!-- street -->
                            <ZIP>12345</ZIP> <!-- zip -->
                            <CITY>Musterort</CITY> <!-- city -->
                            <COUNTRY>DE</COUNTRY> <!-- countryCode
                            <PHONE type="office">0123 45678</PHONE> <!-- phone -->
                            <FAX>0123 45678</FAX> <!-- fax -->
                            <EMAIL>m.mustermann@example.org</EMAIL> <!-- email -->
                            <FIRSTNAME>Max</FIRSTNAME> <!-- firstname -->
                            <LASTNAME>Mustermann</LASTNAME> <!-- lastname -->
                        </ADDRESS>
                    </PARTY>
                </DELIVERY_PARTY>
            </SHIPMENT_PARTIES>
            <ACCOUNTING_INFO>
                <COST_CATEGORY_ID type="cost_center">0000045250</COST_CATEGORY_ID>
                <COST_TYPE>0000460000</COST_TYPE>
            </ACCOUNTING_INFO>

            <!-- ORDER ID -->
            <REMARK type="general">OKXHDK</REMARK>

        </ORDER_ITEM>
    </ORDER_ITEM_LIST>
    <ORDER_SUMMARY>
        <TOTAL_ITEM_NUM>1</TOTAL_ITEM_NUM>
        <TOTAL_AMOUNT>19.04</TOTAL_AMOUNT>
    </ORDER_SUMMARY>
</ORDER>"}
  • Keine Stichwörter