XML Struktur LxirEnvelope(1) LxirEnvelope/Header(1) Element | Code | Man. | Explanation | DateTime | | Y | Date and time stamp when message was created | DocumentNumber | | N | Counter for document no | DocumentVersion | | N | Document version | DocumentName | | N | Document name | ToPartnerUser | | Y | Short name [KORT] on the client the message refers to. Code available from contact person for integration. | ToPartner | | Y | [KORT] | FromPartnerUser | | Y | [KORT] | FromPartner | | N | Fixed value, Short name loading system |
LxirEnvelope /Body(1) LxirEnvelope /Body /LxirCustomerOrder(n) Element | Code | Man | Explanation | OperationCode | | Y | OperationCode for Order valid values 1 | Number | | Y | Internal ordernumber | OrderDate | | N | Orderdate (ÅÅÅÅ-MM-DD hh:mm) | AskedDeliveryDate | | Y | Desired delivery date (ÅÅÅÅ-MM-DD tt:mm) (enligt incoterms) | Notes | | N | Notes | OrderType | | N | Order type (1 "Normalorder", 2 "Quickorder",4 "Expressorder",2048 "Season order",4096 "Webshop order") Default is 1 “NormalOrder” if elementet is missing. | PaymentType | | Y | Payment (INV "Billing", AUTO Autogiro", ADV "Advance payment", FAC "Factoring", CAS "Cash payment", LAS "Last schrift", CC "Credit card", MOH "Manual on hold", FAM "Invoice me") | FreightFree | | Y | freight free | OrderNumberEndCustomer | | N | Ordernummer for end customer | YourReference | | N | Your reference | OurReference | | N | Our reference | InvoiceEmail | | N | E-mail address for invoice. Can put attribute in this element to control which system is master: DataMaster = "Internal" atl. "External". | OrderEmail | | N | E-mail address for invoice. Can put attribute in this element to control which system is master: DataMaster = "Internal" atl. "External". | OrderPhoneNumber | | N | Phone number | AdvisePhoneNumber | | N | Advise phone number | PartialDelivery | | N | Allow partial delivery of orders. The item is omitted completely if value is missing and default value is to be used. | TransportCondition | | N | Transport Conditions | DeliveryMethod | | N | Method of delivery | HandlingMark | | N | Handling remark | ShippingMark | | N | Shippment remark |
LxirCustomerOrder/Customer(1) Element | Code | Man | Explanation | OperationCode | | N | Operational code for customer valid value is 1 | Number | | N | Customer number | CustomerType | 1 (Private) 2 (Business) 4(Unknown) 8 (Reseller) | N | Customer Type (according to valid customer types, see code field). The item is omitted completely if value is missing and default value is to be used. | CustomerGroup | | N | Customer group as a customer should belong to | CompanyOrName | | Y | Delivery name | LastName | | N | Private customers only | InvoiceName | | Y | Name of invoice | VATNumber | | N | VAT-Nummer | PaymentTermsNumberOfDays | | N | Normal number of days (For calculation of due date) | InternalCustomer | | N | Internal customer | PalletRegistrationNumber | | N | Pallet registration number. Can put attribute in this element to control which system is master: DataMaster = "Internal" atl. "External". |
ProductName | | N | Product name | Max 80 characters | | | | | | OrderQuantity | | J | OrderQuantity | Eg. 0.00 | SalesUnit | | J | Order Number Unit | | Price | | N | Price per ordered unit excluding VAT | Eg. 0.0000 | Currency | | J | Currency. SEK,EUR USD (ISO 4217) | | VatPercent | | N* | VAT in % | * If price is explicitly stated, VatPercent must also be set to a valid value | HandlingMark | | N | Handling remark | | ShippingMark | | N | Goods remark | | CustomerProductNumber | | N | Customer product number | string | ExternalFreeTextData | | N | External free text data that can be reported in order and despatch advica | |
|