...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Panel | ||
---|---|---|
| ||
Panel | ||
| ||
Description of message flow regarding new customer order messages sent to Extend Commerce BACKEND. Only new customer order messages is sent, change and cancellation is not possible. |
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
XML Struktur LxirEnvelope(1) LxirEnvelope/Header(1)
LxirEnvelope /Body(1) LxirEnvelope /Body /LxirCustomerOrder(n)
LxirCustomerOrder/Customer(1)
LxirCustomerOrder/Customer/Addresses/Address(n)
LxirCustomerOrder/External(0-1)
LxirCustomerOrder/Customer(1)
LxirCustomerOrder/Customer/Addresses/Address(n)
N Free text data that could be sent back in order confirmation or despatch advise LxirCustomerOrder/OrderRows(1)/Row(n)
Panel | | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Y | Values "Delivery" "Invoice" ("Delivery" mandatory ) | ||
DataMaster | *** | N | Value ”Internal” ”External” |
Address1 | Y | Address field 1 | |
Address2 | N | Address field 2 | |
Address3 | N | Address field 3 | |
PostalCode | Y | Postal code (will be validated) | |
City | Y | City | |
State | N | State | |
CountryCode | Y | Country code (SE=Sverige) (ISO 3166-1) |
LxirCustomerOrder/External(0-1)
Element | Code | Mand. | Explanation |
ExternalFreeTextData | N | Free text data that could be sent back in order confirmation or despatch advise |
LxirCustomerOrder/Payments(0-1)/Payment(n)
Element | Code | Mand. | Explanation |
PaymentReference | N | Contains any payment reference to the order being processed | |
PaymentProvider | N | Payment provider | |
Amount | N | The amount |
LxirCustomerOrder/OrderRows(1)/Row(n)
Element | Code | Mand. | Explanation |
OperationCode | Y | OperationCode valid values 1 | |
Position | Y | Position (row number) | |
SubPosition | J | Sub position (row) | |
Notes | N | Notes for order row | |
ProductNumber | Y | Product number | |
ProductName | N | Produkt name | |
OrderQuantity | Y | Order Quantity | |
SalesUnit | Y | Unit for ordering | |
Price | N | Price per unit | |
Currency | Y | Currency ID ex. SEK,EUR USD (ISO 4217) | |
VatPercent | N* | VAT percent. It is possible to put attribute in this element to control which system is master: DataMaster = "Internal" alt. "External". This attribute is optional. If not set, default is "External", meaning VATPercent will be processed from XML data. If set to Internal, the XML element content will be skipped and order process will try fetch VAT from the Extend pricelist (min price) for the customer. | |
HandlingMark | N | Handling notes | |
ShippingMark | N | Shipping notes | |
CustomerProductNumber | N | Customer product number | |
WarehouseIdentifier | N | Warehouse short name | |
ExplicitCost | N | Defined cost of the product. decimal | |
ExplicitCostCurrency | N | Currency code e.g. SEK, EUR USD (ISO 4217) | |
GTIN | N | Barcode |
LxirCustomerOrder/OrderRows(1)/Row(n)
LxirCustomerOrder/OrderRows(1)/Row/External
Element | Code | Mand. | Explanation |
ExternalFreeTextData | N | Free text data that could be sent back in order confirmation or despatch advise |
Panel | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8"?> <LxirEnvelope> <Header DateTime="2011-12-05T13:43:24" DocumentNumber="25" DocumentVersion="1.0" DocumentName="LxirCustomerOrder" ToPartnerUser="GBG" ToPartner="GBG" FromPartnerUser="GBG" FromPartner="XOE"/> <Body> <LxirCustomerOrder> <OrderHeader> <OperationCode>1</OperationCode> <Number>12371</Number> <OrderDate>2010-01-01T00:10:10.00000</OrderDate> <AskedDeliveryDate>2010-01-01</AskedDeliveryDate> <Notes>not</Notes> <OrderType>1</OrderType> <PaymentType>INV</PaymentType> <FreightFree>false</FreightFree> <OrderNumberEndCustomer>oendcust</OrderNumberEndCustomer> <YourReference>YourReference</YourReference> <OurReference>OurReference</OurReference> <InvoiceEmail>InvoiceEmail</InvoiceEmail> <OrderEmail>OrderEmail</OrderEmail> <OrderPhoneNumber>OrderPhoneNumber</OrderPhoneNumber> <AdvisePhoneNumber>AdvisePhoneNumber</AdvisePhoneNumber> <PartialDelivery>false</PartialDelivery> <TransportCondition>TransportCondition</TransportCondition> <DeliveryMethod>DeliveryMethod</DeliveryMethod> <HandlingMark>HandlingMark</HandlingMark> <ShippingMark>ShippingMark</ShippingMark> <Customer> <OperationCode>1</OperationCode> <Number/> <CustomerType>1</CustomerType> <CustomerGroup>Provision 15%</CustomerGroup> <CompanyOrName>CompanyOrName</CompanyOrName> <LastName>LastName</LastName> <InvoiceName>InvoiceName</InvoiceName> <VATNumber>VATNumber</VATNumber> <PaymentTermsNumberOfDays>10</PaymentTermsNumberOfDays> <InternalCustomer>false</InternalCustomer> <Addresses> <Address Type="Delivery" DataMaster="Internal"> <Address1>rad1</Address1> <Address2>rad2</Address2> <Address3>rad3</Address3> <PostalCode>57174</PostalCode> <City>rad5</City> <State/> <CountryCode>SE</CountryCode> </Address> </Addresses> </Customer> <External> <ExternalFreeTextData>X-23</ExternalFreeTextData> <External/> </OrderHeader> <OrderRows> <Row> <OperationCode>1</OperationCode> <Position/> <SubPosition/> <Notes/> <ProductNumber>T001Taberg</ProductNumber> <ProductName>etttvåtre</ProductName> <OrderQuantity>25</OrderQuantity> <SalesUnit>st</SalesUnit> <Price>1.2</Price> <Currency>SEK</Currency> <VatPercent/> <HandlingMark/> <ShippingMark/> <CustomerProductNumber>CT001Taberg</CustomerProductNumber> </Row> <Row> <OperationCode>1</OperationCode> <Position/> <SubPosition/> <Notes/> <ProductNumber>T002Taberg</ProductNumber> <ProductName>MyNameIsTwo</ProductName> <OrderQuantity>25</OrderQuantity> <SalesUnit>st</SalesUnit> <Price>2.2</Price> <Currency>SEK</Currency> <VatPercent/> <HandlingMark/> <ShippingMark/> <External> <ExternalFreeTextData>X-23</ExternalFreeTextData> <External/> </Row> </OrderRows> </LxirCustomerOrder> </Body> </LxirEnvelope> |
Panel | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
title | Document version history |
---|
Version
Date
Author/change
Commenct
1.1
Lasse Sääf
Document created
Clarified Position, SubPosition. Attached XSD. Better sample data.
Clarified maximum length of product name at row level (80 characters)
Muhammad Jawad
Muhammad Jawad
|
Include Page | ||||
---|---|---|---|---|
|