LXIROrder (1) LXIROrder\Envelope (1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
FromPartner |
| J | From system | X | X |
| FromPartnerUser |
| J | Users from system / client | X | X |
| ToPartner |
| J | To system | X | X |
| ToPartnerUser |
| J | User System / Client | X | X |
| DateTime |
| N | Time to create the message (YY-MM-DD hh: mm) | X | X |
| ReferensNumber |
| J | The reference number of the message | X | X |
| InterchangeTest |
| N | Indicates test message |
|
| Deleted |
LXIROrder\Header (1-999)
LXIROrder\Header\HeaderInfo (1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
DocumentNumber |
| J | Order number reference number | X | X |
| DocumentName | CUSORD | J | Order message name: CUSORD | X | X |
| CreationDate |
| N | Created date | - | - | Part |
LXIROrder\Header\Addresses(1-2) LXIROrder\Header\ Addresses\Address(1) Element | Code | Mand | Explanation | Lxir | EWS |
---|
Name1 |
| J | Name field 1, customer (Delivery point) | X | X | Name2 | CUSORD | J | Name field 2, customer | X | X | Name3 |
| N | Name field 3, customer | - | X | Address1 |
| J | Address field 1 (Delivery point) | X | X | Address2 |
| N | Address field 2 | X | X | Address3 |
| N | Address field 3 | X | X | State |
| N | Region / State | X | X | City |
| J | City (Place of Delivery) | X | X | PostalCode |
| J | Postcode (Delivery Point) | X | X | Country |
| J | Country (Place of Delivery) | X | X | CountryCode |
| J | Country code (SE = Sweden) Specifies the language of the documents | X | - | Phone |
| N | Phone in shipto (for notification) Phone in Billto refers to office telephone. Phone in Servicepoint refers to the telephone number of the delivery point. | X | X | Contact1 |
| N | Customer's shipping address 2 (Name2) | X | X | Email |
| N | Mail address for ship to (notification) | X | X | OrganisationNumber |
| N | Organization number |
|
| VatNumber |
| N | Vat number |
|
| PostGiroAccount |
| N | Post giro account |
|
| BankGiroAccount |
| N | Bank giro account |
|
|
LXIROrder\Header\ Addresses\Information(1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
PartyProfile | PIECE | J | Profile (constant) in ship and billto, in service points is this identity for the delivery point. | X | X |
| AddressType | ShipTo BillTo
Seller ServicePoint | J | Specifies the type of address
ShipTo = Shipping address,
BillTo = Billing Address
seller = ServicePoint = Delivery point |
X X X X |
X X X X | Seller Only supports BankGiroAccount
Postal Giro Account
organization Number
VATNUMBER |
LXIROrder\Header\OrderHeader(1) LXIROrder\Header\OrderHeader\OrderHeaderInfo(1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
OrderNumber |
| J | Internal order number | X | X |
| OrderNumberExternal | CUSORD | N | External order number | X | X |
| OrderNumberEndCustomer |
| N | End customer's order number | X | X | EWS=slutkundorderid | OrderDate |
| J | Order date (YY-MM-DD hh: mm) | X | X |
| SequenceNumber |
| N | Sequence number, 000 | X | X |
| OrderType | N E F
W | N | Order Type
N = Normal Order
E = Express Order
F = Replacement Order
W = Webshop Order | X | X |
| OrderReference |
| N | Reference | X | X | Your reference | OrderReference2 |
| N | Our reference | X | X | Our reference | ShipToId |
| N | Customer number | X | X |
| BillToId |
| N | Bills | X | - |
| DeliveryMethod |
| N | Mode of delivery | X | X |
| ServicePointId |
| N | Identifier for Servicepoint, ServicePoint (Corresponds to DeliveryLocationId in LxirCustomerOrder1.0 format) | X | X | New field 090526 | NoOfRows |
| N | Number of order lines | X | - |
| DeliveryRouteNumber |
| N | For route planning | X | X |
| WarehouseId |
| N | Internal stock No. | X | X |
| ForwarderPartyId |
| N | Customer number with carrier | X | - |
| VatPercent |
| J | VAT rate in percent | X | X |
| PalletRegistrationNumber |
| N | pallet Registration | X | X |
| Currency |
| J | Currency (SEK = Swedish kronor) | X | X |
| FreightCost |
| N | FREIGHT | - | - |
| OrderMethod |
| N | Order method used when booking | X | - | Nytt 2012-05-07. | AllowPartialDelivery |
| N | Full or partial delivery information | X | - | Nytt 2012-05-07 | CompanyGroupId |
| N | Short name Goods owner / group | X | X | Nytt 2013-05-17 | ConsolidateDelivery |
| N | Identity of orders to be collected | X | X | Nytt 2014-06-04 | DepartureId |
| N | Retirement / Depa identity | X | X | Nytt 2015-05-11 | RouteId |
| N | route number | X | X | Nytt 2015-05-11 | CodFee |
| N | Withdrawal fee / Postal deposit etc. | - | X |
| DispatchFee |
| N | SERVICE FEE | - | X |
| AmountTotal |
| N | Total sum | X | X |
| VatAmountTotal |
| N | Tax Total Total | - | X |
| OwnerId |
| N | Identity of resellers in the EWS | - | X | Identitet för återförsäljare | InvoiceDate |
| N | invoice Date | X | X |
| InvoiceNumber |
| N | invoice number | X | X |
| DueDate |
| N | Due date for Invoice | X | X |
| PaymentTerms |
| N | Payment terms clear | X | X |
| PaymentType |
| N | Payment method short name INV = Invoice INV-P = Invoice CCA = Credit Card American Express CCV = Credit card Visa CC = Credit card COD = COD | X | X |
| AskedDeliveryDate |
| N | Asked delivery date | X |
| Ongoing specific field | SalesChannel |
| N | Sales channel, (nvarchar(100)) |
| X |
| DeliveryStartDatetime |
| N | Delivery window start | X |
|
| DeliveryEndDatetime |
| N | Delivery window end |
| X |
| DeliveryMethodBulkId |
| N |
|
|
|
| DeliveryMethodAvailabilityToken |
| N |
|
|
|
| DeliveryMethodSortCode |
| N |
|
|
|
| DeliveryMethodPreparedTransportDocument |
| N |
|
|
|
| RequirePickingPackaging |
| N | True, False |
| X | 10.9 |
LXIROrder\Header\OrderHeader\OrderHeaderDescriptions(0-99) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
Function |
| J | Code for the description | X | X |
| Description1 |
| J | Description field 1 | X | X |
| Description2 |
| N | Description field 2 | X | X |
| Description3 |
| N | Description field 3 | X | X |
|
LXIROrder\Header\OrderHeader\OrderRow(1-99999) LXIROrder\Header\OrderHeader\OrderRow\OrderRowInfo(1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
OrderPosition |
| J | Order line position | X | X |
| OrderSubPosition |
| J | Order line subposition | X | X |
| OrderRowType | N 1 11 V | J | Order line type N = Normal 1 = Postage / Shipping 11 = Credits' –Price should be negative V = Value added service
| X X
X | X X X X X |
| OwnerNumber |
| N | Article owner | X | X |
| ArticleId |
| J | Article | X | X |
| SupplierArticleID |
| ? | Supplier's product number | X | X |
| PackageId | ST
| J | Unit ST = Piece | X | X |
| SalesPackageID |
| J | Sales unit | X | X |
| OrderQuantity |
| J | Ordered quantity | X | X |
| SalesOrderQuantity |
| J | Sold quantity | X | X |
| Price |
| J | Price, 00000000.0000 | X | X |
| SalesPrice |
| J | Selling price | X | X |
| VatPercent |
| J | VAT rate in percent 00,000 | X | X |
| Currency |
| J | Currency | X | - |
| ShipDate |
| N | Shipping Date | X | - |
| ExpectedDeliveryDate |
| N* | Expected delivery date | X | X |
| OrderRowStatusCode | 1
2 | J | Order Line Status 1 = Incoming 2 = Reserved | X | X | "1" refers to listed lines and is used together with "Expecteddelivery" | ArticleName |
| N | Article Name | X | X |
| Intrastat |
|
|
| - | - | Should be replaced by CustomsCommodityCode | CustomsCommodityCode |
|
|
| - | X |
| VisibilityType |
| N | values AlwaysVisible nonpublic | X | X | Used only for OrderRowType = ”V” Value added service
* If none is specified AlwaysVisible is used
| StructureId |
| N | Is Supplymode is BOM then its "Position" Else if ParentOrderRowPosition is not empty then set to this | X | X |
| ArticleTypeId |
| N | Hard coded string 999 if supplymode is BOM |
| X |
| ShopNumber |
| N |
|
| X | 10.9 |
* When orderrowstatuscode = '1' is specified, this is used to present a scheduled delivery date on delivery note to recipient. LXIROrder \ header \ OrderHeader \ OrderRow \ OrderRowAdditions (0-1) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
OperationCode |
| N | Order Line Status 1 = New Row |
| X |
|
LXIROrder\Header\OrderHeader\OrderRow\OrderRowDescriptions(0-99) Element | Code | Mand | Explanation | Lxir | EWS | Comment |
---|
Function |
| J | Code for the description | X | X |
| Description1 |
| J | Description field 1 | X | X |
| Description2 |
| N | Description field 2 | X | X |
| Description3 |
| N | Description field 3 | X | X |
| Description4 |
| N | Description field 4 | X | X |
|
|