Customer order response
Description
The message represents a response to an order settlement into Extend Commerce BACKEND from an external system. The message is usually created immediately after the order has been completed in Extend Commerce BACKEND and lead times, etc. are fully calculated.
Configurable by customer, warehouse or client if to use or not.
Specification - XML structure
(1) indicates that this element must occur once
(N) indicates that this element can occur 1 or many times
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 | [KORT] | |
FromPartnerUser | Y | [KORT] | |
FromPartner | Y | Fixed value, short name loading system |
Element | Code | Mand. | Explanation |
OrderNumber | Y | Internal order no | |
ExternalOrderNumber | Y | External order no | |
EndCustomerOrderNumber | Y | Order no for end customer | |
AskedDeliveryDate | Y | Desired delivery date (YYYY-MM-DD tt: mm) (according to incoterms) | |
CreateDate | Y | Order create date | |
Notes | Y | Notes | |
Shippingmark | Y | Shipping mark | |
FreightAmount | Y | Shipping amount added to the order | |
TotalFeesAmount | Y | The value of any fees charged to the order | |
Currency | Y | Currency code according to ISO XXX | |
ExternalFreeTextData | N | External FreeText info | |
ClientGLN | N | Client GLN |
Element | Code | Mand. | Explanation |
CompanyOrName | Y | Name of Customer (First Name or Company) | |
LastName | Y | Last name if private customer | |
InvoiceName | Y | Invoice Name | |
DeliveryName | Y | Delivery Name | |
CustomerNumber | Y | Customer no | |
OrganizationNumber | Y | Corparate no | |
CustomerGLN | N | ||
DeliveryAddressEAN | N | ||
InvoiceAddressEAN | N |
Element | Code | Mand. | Explanation |
Type | Y | Valid values "Delivery" "Invoice" ("Delivery" is mandatory) | |
Address1 | Y | Address field 1 | |
Address2 | N | Address field 2 | |
Address3 | N | Address field 3 | |
PostalCode | Y | Valid postal code | |
City | Y | City | |
State | N | State | |
CountryCode | Y | Country code (SE=Sverige) (ISO 3166-1) |
Originally ordered quantity expressed in sales unit
Confirmed quantity expressed in sales unit
Element | Code | Mand. | Explanation |
OrderRowStatusId | y | Order row status | |
Position | Y | Position (row no) | |
SubPosition | Y | Subposition (row) | |
ExternalPosition | Y | Row position in external system as the order came in to Extend Commerce BACKEND | |
ProductNumber | Y | Product no | |
ProductName | Y | Product name | |
Notes | Y | Row notes | |
ExpectedDeliveryDate | Y | Expected delivery date with customer (calculated) | |
ShipDate | Y | Expected date when order line is released to stock production | |
OrderedQuantity | Y | Originally ordered quantity expressed in sales unit | |
ConfirmedQuantity | Y | Confirmed quantity expressed in sales unit | |
ProductSalesUnit | Y | Sales unit in which OrderQuantity, ConfirmedQuantity is represented | |
ProductUnit | Y | Product Unit | |
Price | Y | Price per ordered sales unit excluding VAT | |
VatPercent | Y | VAT rate, percent | |
CustomerProductNumber | N | Customer product no | |
ExternalFreeTextData | N | External free text info at row level | |
GTIN | N | product GTIN |
XSD files
<?xml version="1.0" encoding="utf-8"?>
<LxirEnvelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header FromPartner="XOE" FromPartnerUser="LE" ToPartner="Primona" ToPartnerUser="Svevia" DocumentName="LXIRCustomerOrderResponse"
DocumentVersion="1.0" DocumentNumber="106" DateTime="2013-02-28T15:52:00" />
<Body>
<LxirCustomerOrderResponse>
<CustomerOrderReponse>
<Header>
<OrderNumber>OCW-2042_4</OrderNumber>
<ExternalOrderNumber>2042_4</ExternalOrderNumber>
<EndCustomerOrderNumber>2042_4</EndCustomerOrderNumber>
<AskedDeliveryDate>2013-03-29</AskedDeliveryDate>
<CreateDate>2013-02-28</CreateDate>
<Notes>2013022692207.6976.867.ORDER@PRSERV10</Notes>
<Shippingmark>Lämna på lastkaj</Shippingmark>
<FreightAmount>0.0000</FreightAmount>
<TotalFeesAmount>0.0000</TotalFeesAmount>
<Currency>SEK</Currency>
<Customer>
<CompanyOrName>SVEVIA</CompanyOrName>
<LastName />
<InvoiceName>Fastighet & Maskin AB</InvoiceName>
<DeliveryName>Extend Commerce</DeliveryName>
<CustomerNumber>86000</CustomerNumber>
<OrganizationNumber>556768-9848</OrganizationNumber>
<Addresses>
<Address Type="Delivery">
<Address1>FÖRRÅDSVÄGEN 2</Address1>
<Address2 />
<Address3 />
<PostalCode>74130</PostalCode>
<City>KNIVSTA</City>
<State />
<CountryCode>SE</CountryCode>
</Address>
<Address Type="Invoice">
<Address1>Fastighetsgatan 1</Address1>
<Address2 />
<Address3 />
<PostalCode>11111</PostalCode>
<City>Stockholm</City>
<State />
<CountryCode>SE</CountryCode>
</Address>
</Addresses>
</Customer>
</Header>
<Rows>
<Row>
<OrderRowStatusId>1</OrderRowStatusId>
<Position>10</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>1</ExternalPosition>
<ProductNumber>761004</ProductNumber>
<ProductName>4L SPOLARVÄTSKA AGROL</ProductName>
<Notes />
<ExpectedDeliveryDate>2013-04-02</ExpectedDeliveryDate>
<Shipdate>2013-03-28</Shipdate>
<OrderedQuantity>1</OrderedQuantity>
<ConfirmedQuantity>1</ConfirmedQuantity>
<ProductSalesUnit>dunk</ProductSalesUnit>
<ProductUnit>dunk</ProductUnit>
<Price>80.0000</Price>
<VATPercent>25.000</VATPercent>
<CustomerProductNumber>761004</CustomerProductNumber>
</Row>
<Row>
<OrderRowStatusId>1</OrderRowStatusId>
<Position>20</Position>
<SubPosition>0</SubPosition>
<ExternalPosition>2</ExternalPosition>
<ProductNumber>410125</ProductNumber>
<ProductName>ASPEN 2-TAKT 25L</ProductName>
<Notes />
<ExpectedDeliveryDate>2013-04-02</ExpectedDeliveryDate>
<Shipdate>2013-03-28</Shipdate>
<OrderedQuantity>8</OrderedQuantity>
<ConfirmedQuantity>8</ConfirmedQuantity>
<ProductSalesUnit>st</ProductSalesUnit>
<ProductUnit>st</ProductUnit>
<Price>810.0000</Price>
<VATPercent>25.000</VATPercent>
</Row>
</Rows>
</CustomerOrderReponse>
</LxirCustomerOrderResponse>
</Body>
</LxirEnvelope>
Examples and xsd-schema
Version | Date | Author/change | Commenct |
A | 2013-02-27 | Muhammad Jawad | Document created |
B | 2013-02-27 | Martin Hagman | Minor revision |
C | 2013-02-28 | Martin Hagman | Changes CustomerName to CompanyOrName, added InvoiceName & DeliveryName |
D | 2013-11-13 | Martin Hagman | Improved description of how units for number and price should be handled |
E | 2015-04-01 | Muhammad Jawad | Added CustomerProductNumber in row |
F | 2019-03-28 | Johan Tempelman | Moved to Confluence and updated format |
G | 2021-03-29 | Josefin Kvillert | Updated wording from Extend to Extend Commerce BACKEND |
H | 2022-02-05 | Zohaib anees | Added ClientGLN and ExternalFreeTextData at header level And added ExternalFreeTextData and GTIN at row level |