Order confirmation
EDI order response
The purchase order confirmation (also referred to as the order confirmation or order response) contains all information for confirming the purchase order. The order is thus considered binding. The order confirmation also shows whether all items are in stock and when they are expected to be delivered.
An example of an XML file including XSD validation can be found here.
Description | Data type | Length/format | Sample XML content | |||||||
---|---|---|---|---|---|---|---|---|---|---|
<?xml version="1.0" encoding="UTF-8"?> | ||||||||||
<orderresponse> | ||||||||||
Sender name | String | 50 | <message_header source="Alltron AG" | |||||||
0 = Live, 1 = Test | Integer | test_flag="0" | ||||||||
Document type (fixed: orderresponse) | String | 50 | message_type="orderresponse" | |||||||
Document version date | String | 10 / dd.mm.yyyy | document_version_date="01.05.2008" | |||||||
Document version | String | 10 | document_version="1.00" | |||||||
Document creation date | String | 10 / dd.mm.yyyy | generation_date="24.07.2018" | |||||||
Document creation time | String | 8 / hh:mm:ss | generation_time="09:55:37"/> | |||||||
<orderresponse_header> | ||||||||||
<order_reference> | ||||||||||
Your order number | String | 40 | <BORN>987654321</BORN> | |||||||
Order date | String | 10 / dd.mm.yyyy | <BORD>24.07.2018</BORD> | |||||||
Company code (see annex) | Integer | <LPOC>20</LPOC> | ||||||||
Order type (A = order) | String | 2 | <LPOT>A</LPOT> | |||||||
Order number | String | 20 | <LORN>13259210</LORN> | |||||||
<order_party> | ||||||||||
<buyer_party> | ||||||||||
<party_id> | ||||||||||
Your customer number with us | String | 10 | <LPAN>X123456</LPAN> | |||||||
<ship_to_party> | ||||||||||
<party_id> | ||||||||||
End customer number | String | 10 | <LPAN/> | |||||||
<nameaddress> | ||||||||||
Delivery address name | String | 41 | <PNA1>Hans Muster</PNA1> | |||||||
Delivery address contact person | String | 35 | <PNA2/> | |||||||
Delivery address reference | String | 50 | <PRFF/> | |||||||
Delivery address | String | 41 | <PSTR>Auf dem Holzweg 1</PSTR> | |||||||
Delivery address 2 | String | 41 | <PPOB/> | |||||||
Delivery address city | String | 35 | <PCTY>Musterhausen</PCTY> | |||||||
Delivery address postcode | String | 20 | <PPOC>1234</PPOC> | |||||||
Delivery address country | String | 10 | <PCTR>CH</PCTR> | |||||||
<order_information> | ||||||||||
<additional_information> | ||||||||||
Commission | String | 30 | <CCOM/> | |||||||
Reference | String | 25 | <CREF/> | |||||||
End customer name | String | 100 | <ECUN/> | |||||||
Language (G = German) | String | 2 | <LNGC>G</LNGC> | |||||||
Complete delivery (Y/N) | String | 1 | <SHCF>Y</SHCF> | |||||||
Fixed delivery date (Y/N) | String | 1 | <SFDF>N</SFDF> | |||||||
Requested delivery date | String | 10 / dd.mm.yyyy | <RDDT>24.07.2018</RDDT> | |||||||
Contact name | String | 50 | <CCNA/> | |||||||
Promotion text | String | 50 | <ITXT/> | |||||||
<orderresponse_body> | ||||||||||
<line_item_number> | ||||||||||
Budget line item number | Integer | <BLIN>1</BLIN> | ||||||||
Order line number | Integer | <LLIN>10000</LLIN> | ||||||||
Single item (S = single) | String | 1 | <LPLT>S</LPLT> | |||||||
Bundle item line number | Decimal | <KHLN>0.0</KHLN> | ||||||||
<part_number> | ||||||||||
Item number (yours) | String | 40 | <CITM/> | |||||||
Item number (ours) | String | 30 | <LITM>61797</LITM> | |||||||
Supplier item number | String | 40 | <MITM>ACC-CFD</MITM> | |||||||
EAN code | String | 50 | <EITM>4905524434088</EITM> | |||||||
<additional_line_information> | ||||||||||
Additional text | String | 240 | <PTXT/> | |||||||
Special offer number | String | 30 | <SBNR/> | |||||||
Carrier code | Integer | 20 | <CARC/> | |||||||
Carrier Name | String | 20 | <CARN/> | |||||||
<part_description> | ||||||||||
Item designation | String | 43 | <DSC1>Sony Zubehör KIT ACC-CFD</DSC1> | |||||||
<quantities_dates> | ||||||||||
Quantity | Decimal | <QUTY>1</QUTY> | ||||||||
Unit | String | 10 | <UOMQ>Stk.</UOMQ> | |||||||
Status (ready) | String | 5 | <LSTA>ready</LSTA> | |||||||
Date type (no) | String | 2 | <DATY>no</DATY> | |||||||
Availability date | String | 10 / dd.mm.yyyy | <DATE>25.07.2018</DATE> | |||||||
Customer date | String | 10 / dd.mm.yyyy | <DACU/> | |||||||
Delivery confirmation no. (0) | Integer | <DNNR>0</DNNR> | ||||||||
Invoice no. (0) | Integer | <INNR>0</INNR> | ||||||||
<detail_quantity> | ||||||||||
Reserved quantity | Decimal | <QURE>1</QURE> | ||||||||
Remaining order quantity | Decimal | <QUOP>1</QUOP> | ||||||||
<pricing_details> | ||||||||||
Currency | String | 10 | <CURC>CHF</CURC> | |||||||
Unit price including VAT | Decimal | <CPRC>64.46</CPRC> | ||||||||
Line amount including VAT | Decimal | <TLPR>64.46</TLPR> |