XML Structure LxirEnvelope(1) LxirEnvelope/Header(1) Mandatory |
| Y | Date and time when message was created. | DocumentNumber |
|
| Y | Document number/identifier | DocumentVersion | |
| Y | Document version | DocumentName | |
| Y | Document name | ToPartnerUser | |
| Y | Shortname [Name] of the client the message integration relates to. Agreed with Lxir integration technicians. | ToPartner | |
LxirEnvelope /Body(1) LxirEnvelope /Body /LxirSupplierOrder(n) MandatoryMand. | Description | OperationCode | 1 | Y | Operation code. Today only new orders are possible, i e code 1. | OrderType | ”Purchase”; ”Suborder” | Y | XML Attribute defining if the supplier order is of type purchase or suborder | Number | |
| Y | Internal purchase number or suborder number | OrderDate | |
| Y | Order date | AskedDeliveryDate | |
| Y | Asked delivery date (according to incoterms) | Notes | |
| Y | Notes | OrderNumberEndCustomer | |
| N | End customer order number (in case of purchase order) | AdviceToPhoneNumber | |
| N | Advice to phone number | AdviseToEmail | |
| N | Advice to email address | HandlingMark | |
| Y | Handling mark | ShippingMark |
|
| Y | Shipping mark | InvoiceMark |
|
| Y | Invoice mark | OriginalOrderYourReference | |
| N | Purchase field only relates to original customer order’s YourReference value | OriginalOrderOurReference | |
| N | Purchase field only relates to original customer order’s OurReference value | TermsOfPayment | |
| Y | Payment terms according to supplier agreement | ExternalOrderNumber |
|
|
| AdministrativeInstruction | |
| Y | General administrative instruction regarding handling of sub-/purchase order at supplier | PurchaseApprovalType | |
| N | This is using to identify if the approval is need and which type of approval Is it. |
LxirSupplierOrder/OrderReference(2) MandatoryMand. | Description | ReferenceType | Your;Our | Y | Type of order reference | Name | |
| Y | Name of order reference | Phone |
LxirSupplierOrder/Transport(1) MandatoryMand. | Description | TransportCondition | |
| Y | Transport condition | DeliveryMethod | |
| Y | Method of delivery | ForwarderName | |
| Y | Forwarder name | CustomerNumberAtForwarder | |
| N | If existing - Customer number at forwarder |
| | |
LxirSupplierOrder/Customer(1) Mandatory |
| N | Customer number | CompanyOrName | |
| N | Last name, private customers only | InvoiceName |
LxirSupplierOrder/Customer/Addresses/Address(2) MandatoryMand. | Description | Type | ”Delivery”;”Invoice” | Y | Type of address, XML attribute | Address1 | |
| N | Address field 3 | PostalCode | |
| Y | Country code (SE=Sverige) (ISO 3166-1) |
LxirSupplierOrder/Customer/DeliveryWarehouse MandatoryMand. | Description | WarehouseOwnerType | 1,2 | Y | Describes who owns the warehouse | GLN | |
| N | GLN Number of the warehouse |
LxirSupplierOrder/Supplier(1) Mandatory |
| Y | Supplier name | OrganizationNumber | |
| Y | Organization number | Phone | |
| Y | Supplier agreement name (Lxir’s internal) |
LxirSupplierOrder/Supplier/ Address(1) Mandatory |
| N | Address field 3 | PostalCode | Landskod Country code (SE=Sverige) (ISO 3166-1) |
LxirSupplierOrder/OrderRows(1)/Row(n) MandatoryMand. | Description | OperationCode | 1 | Y | Operation code, valid value is 1 (Add) | Position | |
| Y | Position (radnummer) | SubPosition | |
| Y | Note | SupplierProductNumber | |
| Y | Supplier’s product number | SupplierProductName | |
| Y | Supplier’s product name | ProductNumber |
|
| Y | Lxir’s product number | ProductName | |
| Y | Lxirs product name | Quantity | |
| Y | Unit for ordered quantity | Price | |
| Y | Price according to supplier agreement | Currency | |
| Y | Currency related to Price | VatPercent | |
| Y | Vatpercent related to Price | TotalGrossWeight | |
| Y | Gross weight per row in total (kg) | DeliveryDate | |
| Y | Calculated delivery date | CustomerOrderedSalesUnitQuantity | |
| N | Sales quantity. In case of purchase order only. Informative data. | CustomerOrderedSalesUnit | |
| N | Sales unit. In case of purchase order only. Informative data. | CustomerSalesPrice | |
| N | Price per unit ex VAT. In case of purchase order only. Informative data. | CustomerSalesPriceCurrency | |
| N | Currenc code. In case of purchase order only. Informative data. | CustomerSalesPriceVatPercent | |
| N | Vat percentage. In case of purchase order only. Informative data. | HandlingMark | |
| Y | Handling mark of row | ShippingMark | |
| Y | Shipping mark of row | ManufacturePartNumber | |
| N | Manufacture part number | InternalPartNumber | |
| N | Internal part number | CustomerProductNumber | |
| N | Customer product number known as warehouse part number on UI |
XSD LxirSupplier Order View file |
---|
name | LxirSupplierOrder.xsd |
---|
height | 250 |
---|
|
View file |
---|
name | BasicTypes.xsd |
---|
height | 250 |
---|
|
View file |
---|
name | LxirEnvelope_1.2.xsd |
---|
height | 250 |
---|
|
Panel |
---|
title | Document version history |
---|
| Version | Date | Author/change | Commenct | 1.1 | 2013-05-27 | Martin Hagman | Created document | 1.2 | 2016-06-08 | Martin Hagman | Added DeliveryWarehouse and additional data like more row data | 1.3 | 2017-06-19 | Martin Hagman | Added PurchaseApprovalType in the header and CustomerProductNumber in the rows. |
| 2022-03-11 | Zohaib Anees | Added WarehouseExternalId ExternalOrderNumber |
|
|