Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added xsds

...

Panel
titleExamples

<? xml version = "1.0" encoding = "UTF-8"?>

< LxirEnvelope  xmlns: xsi = " http://www.w3.org/2001/XMLScheme-Instance ">

  < Header DocumentNumber = "String" DateTime = "String" ToPartnerUser = "text" FromPartnerUser = "text" DocumentVersion = "String"

ToPartner = "text" FromPartner = "text" DocumentName = "String" />

  < Body >

    < LxirCustomerOrderDespatchAdvicesASN >

      < DespatchAdvice >

        < Header >

          < OrderNumber > O1-1 </ OrderNumber >

          < OrderDate > 2013-03-05 </ OrderDate >

          < AskedDeliveryDate > 2013-03-18 </ AskedDeliveryDate >

          < CreateDate > 1967-08-13 </ CreateDate >

          < Notes > Header note </ Notes >

          < ShippingMark > Header shipping mark </ ShippingMark >

          < OurReference > our ref </ OurReference >

          < YourReference > you ref </ YourReference >

          < DeliveryAdviceToPhone > Advice to phone no </ DeliveryAdviceToPhone >

          < OrdererPhone > 08-123456789 </ OrdererPhone >

          < PaymentTermsNoOfDays > 30 </ PaymentTermsNoOfDays >

          < CurrencyId > SEK </ CurrencyId >

          < ExternalOrderNumber > Order-1 </ ExternalOrderNumber >

          < EndCustomerOrderNumber > MyOrder-1 </ EndCustomerOrderNumber >

          < ShipmentSequenceNumber > 1 </ ShipmentSequenceNumber >

          < Customer >

            < CompanyOrName> -</ CompanyOrName>

            < LastName> -</ LastName>

            < InvoiceName> -</ InvoiceName>

            < DeliveryName> -</ DeliveryName>

            < CustomerNumber > 86000 </ CustomerNumber >

            < CustomerGLN> -</ CustomerGLN>

            < OrganizationNumber> Org1</ OrganizationNumber >

            < Addresses >

              < Address Type = "Invoice">

                < Address1 > InvAdr1 </ Address1 >

                < Address2 > InvAdr2 </ Address2 >

                < Address3 > InvAdr3 </ Address3 >

                < PostalCode > 55533 </ PostalCode >

                < City > Jönköping </ City >

                < State > State </ State >

                < CountryCode > SE </ CountryCode >

              </ Address >

              < Address Type = "Delivery">

                < Address1 > DelAdr1 </ Address1 >

                < Address2 > DelAdr2 </ Address2 >

                < Address3 > DelAdr3 </ Address3 >

                < PostalCode > 12345 </ PostalCode >

                < City > Levstad </ City >

                < State > State </ State >

                < CountryCode > SE </ CountryCode >

              </ Address >

            </ Addresses >

          </ Customer >

          < Transport >

            < ForwarderNumber > F1 </ ForwarderNumber >

            < ForwarderName > Donor </ ForwarderName >

            < TransportModeName > Donor parcel </ TransportModeName >

            < TransportModeShortName > SchPo </ TransportModeShortName >

            < TransportCondition > con1 </ TransportCondition >

            < ShipmentNumber > 5533221122 < ShipmentNumber >

          </ Transport >

        </ Header >

        < Rows >

          < Row >

            < OrderRowStatusId > 256 </ OrderRowStatusId >

            < Position > 10 </ Position >

            < SubPosition > 0 </ SubPosition >

            < ExternalPosition > 1 </ ExternalPosition >

            < ProductNumber > P1 </ ProductNumber >

            < ProductName > Product name </ ProductName >

            < Notes > Row note1 </ Notes >

            < ExpectedDeliveryDate > 2013-05-03 </ ExpectedDeliveryDate >

            < Pickdate > 2013-04-28 </ Pickdate >

            < DeliveredProductUnitQuantity > 2 </ DeliveredProductUnitQuantity >

            < DeliveredSalesUnitQuantity > 1 </ DeliveredSalesUnitQuantity >

            < ProductSalesUnit > KRT / ProductSalesUnit >

            < ProductUnit > ST < ProductUnit >

            < Price > 100.0 </ Price >

            < VATPercent > 25.0 </ VATPercent >

            < SupplyModeShortName > LL </ SupplyModeShortName >

            < IsFinalDelivery > true </ IsFinalDelivery >

          </ Row >

          < Row >

            < OrderRowStatusId > 256 </ OrderRowStatusId >

            < Position > 20 </ Position >

            < SubPosition > 0 </ SubPosition >

            < ExternalPosition > 2 </ ExternalPosition >

            < ProductNumber > P2 </ ProductNumber >

            < ProductName > Product name </ ProductName >

            < Notes > Row note2 </ Notes >

            < ExpectedDeliveryDate > 2013-05-01 </ ExpectedDeliveryDate >

            < Pickdate > 2013-04-28 </ Pickdate >

            < DeliveredProductUnitQuantity > 2 </ DeliveredProductUnitQuantity >

            < DeliveredSalesUnitQuantity > 1 </ DeliveredSalesUnitQuantity >

            < ProductSalesUnit > KRT / ProductSalesUnit >

            < ProductUnit > ST < ProductUnit >

            < Price > 120.0 </ Price >

            < VATPercent > 25.0 </ VATPercent >

            < SupplyModeShortName > LL </ SupplyModeShortName >

            < IsFinalDelivery > true </ IsFinalDelivery >

            < Packages >

                 < Package >

                         < PackageNumber> str1234</ PackageNumber>

                         < PackageType> str1234 </ PackageType>

                         < PackageWeight> 0 </ PackageWeight>

                         < PackageHeight> 1 </ PackageHeight>

                         < PackageLenght> 1 </ PackageLenght>

                         < PackageWidht> 1 </ PackageWidht>

                         < Contents>

                            < Content>

                                < Quantity> 256 </ Quantity>

                                < Batchnumber> str1234 </ Batchnumber>

                                < BestBeforeDate> 2012-12-13 </ BestBeforeDate>

                                < SerialNumber> str1234 </ SerialNumber>                      

                            </ Content>         

                        </ Contents>

                    </ Package >         

               </ Packages >

          </ Row >

        </ Rows >

      </ DespatchAdvice >

    </ LxirCustomerOrderDespatchAdvicesASN >

  </ Body >

</ LxirEnvelope >

XSD files 

View file
nameLxirCustomerOrderDespatchAdviseASN.xsd
height250
View file
nameLxirEnvelope_1.2.xsd
height250
View file
nameBasicTypes.xsd
height250



Panel
titleDocument version history

Version

Date

Author/change

Commenct

A

2016-03-23

Martin Hagman

Document created

A.12019-11-18Muhammad JawadAdded ASN info

...