Customer order dispatch advice
This message represents a notification sent when delivery is confirmed related to an order in Extend Commerce BACKEND received from external system.
Lxir below = Extend Commerce
This is configurable per Customer, Warehouse or Client if used or not.
XML struktur
LxirEnvelope(1)
LxirEnvelope/Header(1)
Element | Code | Mand. | Explanation |
DateTime | Y | Date and time stamp when the message was created | |
DocumentNumber | Y | Counter for document number | |
DocumentVersion | Y | Document version | |
DocumentName | Y | Document name | |
ToPartnerUser | Y | The short name [SHORT] on the client the message refers to. Code available from contact person for integration. | |
ToPartner | Y | [SHORT] | |
FromPartnerUser | Y | [SHORT] | |
FromPartner | Y | Fixed value, short name loading system |
LxirEnvelope /Body(1)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices (1)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices /DespatchAdvice(n)
LxirEnvelope /Body / LxirCustomerOrderDespatchAdvices / DespatchAdvice /Header
Element | Code | Mand. | Explanation |
OrderNumber | Y | Internal order no | |
OrderDate | Y | External order no | |
AskedDeliveryDate | Y | Desired delivery date (YYYY-MM-DD hh:mm) (according to incoterms) | |
CreateDate | Y | Created order date | |
Notes | N | Note | |
Shippingmark | N | Shipping mark | |
OurReference | N | Our reference | |
YourReference | N | Your reference | |
DeliveryAdviceToPhone | N | Notify telephone no | |
OrdererPhone | N | Customer telephone no | |
PaymentTermsNoOfDays | N | Payment terms, number of days | |
CurrencyId | N | Currency ISO | |
ExternalOrderNumber | Y | External order no | |
EndCustomerOrderNumber | N | End customer order no | |
ShipmentSequenceNumber | N | Sequence ordering for delivery from stock, ie which in the order of partial deliveries of orders is this (1st, 2nd, etc.) | |
ExternalFreeTextData | N | External free text data as eventually is registered when the origin order was loaded into SW Backend. | Max 1600 characters |
ClientGLN | N | Client GLN |
CustomerOrderResponse /Customer(1)
Element | Code | Mand. | Explanation |
CompanyOrName | N | Customer name | |
LastName | N | Customer last name | |
InvoiceName | N | Invoice name | |
DeliveryName | N | Delivery name | |
CustomerNumber | Y | Customer no | |
CustomerGLN | N | Customer GLN | |
OrganizationNumber | N | Customer corporate no | |
DeliveryAddressEAN | N | ||
InvoiceAddressEAN | N |
CustomerOrderResponse /Customer/Addresses/Address(n)
Element | Code | Mand. | Explanation |
Type | Y | Valid values "Delivery" "Invoice" ("Delivery" is mandatory) | |
Address1 | Y | Adress field 1 | |
Address2 | N | Adress field 2 | |
Address3 | N | Adress field 3 | |
PostalCode | Y | Valid postal code | |
City | Y | City | |
State | N | State | |
CountryCode | Y | Country code (SE=Sverige) (ISO 3166-1) |
CustomerOrderResponse /Transport(1)
Mode of transport, short namne
Element | Code | Mand. | Explanation |
ForwarderNumber | Y | Customer no | |
ForwarderName | Y | Customer corporate no | |
TransportModeName | Name of mode of transport | ||
TransportModeShortName | Mode of transport, short namne | ||
TransportCondition | Transport condition | ||
ShipmentNumber | Shipment no | ||
PackageNumber | N | Package number | |
PalletNumberOf1 | N | Number of pallets of type 1 | |
PalletNumberOf2 | N | Number of pallets of type 2 | |
PalletNumberOf3 | N | Number of pallets of type 3 | |
PalletNumberOf4 | N | Number of pallets of type 4 | |
SenderGLN | N | GLN of sender/distributer of goods | |
TransportWeight | N | Transport weight (KG) | |
TransportVolume | N | Transport weight (M3) | |
ShipmentOwnerId | N | Shipment owner |
CustomerOrderResponse /Rows(1)/Row(n)
Flag for delivery is the final, final of the order
Delivered quantity in product unit
Delivered quantity in sales unit
VAT rate, percent
Element | Code | Mand. | Explanation |
OrderRowStatusId | Y | Order row status | |
Position | Y | Position (row no) | |
SubPosition | Y | Sub position (row) | |
ExternalPosition | Y | Row position in external system such as the order received in Extend Commerce BACKEND | |
ProductNumber | Y | Product no | |
ProductName | Y | Product name | |
Notes | Y | Notes order row | |
ExpectedDeliveryDate | Y | Expected delivery date to customer (calculated) | |
Pickdate | Y | Actual pick date, that is, when the order has been delivered in Extend Commerce BACKEND | |
DeliveredProductUnitQuantity | Y | Delivered quantity in product unit | |
DeliveredSalesUnitQuantity | Y | Delivered quantity in sales unit | |
ProductSalesUnit | Y | Product sales unit | |
ProductUnit | Y | Product unit | |
Price | Y | Price per ordered sales unit excluding VAT | |
VatPercent | Y | VAT rate, percent | |
SupplyModeShortName | Warehouse (LL) Direct delivery (DL) Flow logic (FL) Service (TJ) Package (KL) Flow logic - dist (DA) Freight (FR) Discount (DI) | ||
IsFinalDelivery | Y | Flag for if delivery is the final, final of the order | |
ExternalFreeTextData | External free text data as eventually registered when the origin order was loaded into SW Backend. | ||
OrderNumber | N | Order number | |
ExternalOrderNumber | N | Order number reference to external system | |
EndCustomerOrderNumber | N | Order number reference of end customer | |
TransportPackageType | N | Transport package type like Parcel, Groupage, Fulload or NULL/Unknown. | |
GTIN | N | GTIN |
<?xml version="1.0" encoding="UTF-8"?>
<LxirEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header DocumentNumber="String" DateTime="String" ToPartnerUser="text" FromPartnerUser="text" DocumentVersion="String" ToPartner="text" FromPartner="text" DocumentName="String"/>
<Body>
<LxirCustomerOrderDespatchAdvices>
<DespatchAdvice>
<Header>
<OrderNumber>O1-1</OrderNumber>
<OrderDate>2013-03-05</OrderDate>
<AskedDeliveryDate>2013-03-18</AskedDeliveryDate>
<CreateDate>1967-08-13</CreateDate>
<Notes>Header note</Notes>
<ShippingMark>Header shipping mark</ShippingMark>
<OurReference>our ref</OurReference>
<YourReference>you ref</YourReference>
<DeliveryAdviceToPhone>Advice to phone no</DeliveryAdviceToPhone>
<OrdererPhone>08-123456789</OrdererPhone>
<PaymentTermsNoOfDays>30</PaymentTermsNoOfDays>
<CurrencyId>SEK</CurrencyId>
<ExternalOrderNumber>Order-1</ExternalOrderNumber>
<EndCustomerOrderNumber>MyOrder-1</EndCustomerOrderNumber>
<ShipmentSequenceNumber>1</ShipmentSequenceNumber>
<Customer>
<CustomerNumber>86000</CustomerNumber>
<OrganizationNumber>Org1</OrganizationNumber>
<Addresses>
<Address Type="Invoice">
<Address1>InvAdr1</Address1>
<Address2>InvAdr2</Address2>
<Address3>InvAdr3</Address3>
<PostalCode>55533</PostalCode>
<City>Jönköping</City>
<State>State</State>
<CountryCode>SE</CountryCode>
</Address>
<Address Type="Delivery">
<Address1>DelAdr1</Address1>
<Address2>DelAdr2</Address2>
<Address3>DelAdr3</Address3>
<PostalCode>12345</PostalCode>
<City>Levstad</City>
<State>State</State>
<CountryCode>SE</CountryCode>
</Address>
</Addresses>
</Customer>
<Transport>
<ForwarderNumber>F1</ForwarderNumber>
<ForwarderName>Schenker</ForwarderName>
<TransportModeName>Schenker parcel</TransportModeName>
<TransportModeShortName>SchPo</TransportModeShortName>
<TransportCondition>con1</TransportCondition>
<ShipmentNumber>5533221122</ShipmentNumber>
</Transport>
</Header>
<Rows>
<Row>
<OrderRowStatusId>256</OrderRowStatusId>
<Position>10</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>1</ExternalPosition>
<ProductNumber>P1</ProductNumber>
<ProductName>Product name</ProductName>
<Notes>Row note1</Notes>
<ExpectedDeliveryDate>2013-05-03</ExpectedDeliveryDate>
<Pickdate>2013-04-28</Pickdate>
<DeliveredProductUnitQuantity>2</DeliveredProductUnitQuantity>
<DeliveredSalesUnitQuantity>1</DeliveredSalesUnitQuantity>
<ProductSalesUnit>KRT</ProductSalesUnit>
<ProductUnit>ST</ProductUnit>
<Price>100.0</Price>
<VATPercent>25.0</VATPercent>
<SupplyModeShortName>LL</SupplyModeShortName>
<IsFinalDelivery>true</IsFinalDelivery>
</Row>
<Row>
<OrderRowStatusId>256</OrderRowStatusId>
<Position>20</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>2</ExternalPosition>
<ProductNumber>P2</ProductNumber>
<ProductName>Product name</ProductName>
<Notes>Row note2</Notes>
<ExpectedDeliveryDate>2013-05-01</ExpectedDeliveryDate>
<Pickdate>2013-04-28</Pickdate>
<DeliveredProductUnitQuantity>2</DeliveredProductUnitQuantity>
<DeliveredSalesUnitQuantity>1</DeliveredSalesUnitQuantity>
<ProductSalesUnit>KRT</ProductSalesUnit>
<ProductUnit>ST</ProductUnit>
<Price>120.0</Price>
<VATPercent>25.0</VATPercent>
<SupplyModeShortName>LL</SupplyModeShortName>
<IsFinalDelivery>true</IsFinalDelivery>
</Row>
</Rows>
</DespatchAdvice>
</LxirCustomerOrderDespatchAdvices>
</Body>
</LxirEnvelope>
XSD files