Schema Central > UBL 2.2 > UBL-Order-2.2.xsd > Order
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

Order

This element MUST be conveyed as the root element in any instance document based on this Schema expression

Element information

Type: OrderType

Properties: Global, Qualified

Content

Attributes

None

Sample instance

<Order>
   <cbc:UBLVersionID>2.0</cbc:UBLVersionID>
   <cbc:CustomizationID>urn:oasis:names:specification:ubl:xpath:Order-2.0:samples-2.0-draft</cbc:CustomizationID>
   <cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-sample-international-scenario</cbc:ProfileID>
   <cbc:ID>AEG012345</cbc:ID>
   <cbc:CopyIndicator>false</cbc:CopyIndicator>
   <cbc:UUID>6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1</cbc:UUID>
   <cbc:IssueDate>2005-06-20</cbc:IssueDate>
   <cbc:Note>sample</cbc:Note>
   <cac:BuyerCustomerParty>
      <cbc:CustomerAssignedAccountID>XFB01</cbc:CustomerAssignedAccountID>
      <cbc:SupplierAssignedAccountID>GT00978567</cbc:SupplierAssignedAccountID>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>IYT Corporation</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Avon Way</cbc:StreetName>
            <cbc:BuildingName>Thereabouts</cbc:BuildingName>
            <cbc:BuildingNumber>56A</cbc:BuildingNumber>
            <cbc:CityName>Bridgtow</cbc:CityName>
            <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
            <cbc:CountrySubentity>Avon</cbc:CountrySubentity>
            <cac:AddressLine>
               <cbc:Line>3rd Floor, Room 5</cbc:Line>
            </cac:AddressLine>
            <cac:Country>
               <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
         </cac:PostalAddress>
         <cac:Contact>
            <cbc:Name>Mr Fred Churchill</cbc:Name>
            <cbc:Telephone>+44 127 2653214</cbc:Telephone>
            <cbc:Telefax>+44 127 2653215</cbc:Telefax>
            <cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:BuyerCustomerParty>
   <cac:SellerSupplierParty>
      <cbc:CustomerAssignedAccountID>CO001</cbc:CustomerAssignedAccountID>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>Consortial</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Boston Road</cbc:StreetName>
            <cbc:BuildingName>Suite M-102</cbc:BuildingName>
            <cbc:BuildingNumber>630</cbc:BuildingNumber>
            <cbc:CityName>Billerica</cbc:CityName>
            <cbc:PostalZone>01821</cbc:PostalZone>
            <cbc:CountrySubentity>Massachusetts</cbc:CountrySubentity>
            <cbc:CountrySubentityCode>MA</cbc:CountrySubentityCode>
            <cac:Country>
               <cbc:IdentificationCode>US</cbc:IdentificationCode>
            </cac:Country>
         </cac:PostalAddress>
         <cac:Contact>
            <cbc:Name>Mrs Bouquet</cbc:Name>
            <cbc:Telephone> +1 158 1233714</cbc:Telephone>
            <cbc:Telefax>+ 1 158 1233856</cbc:Telefax>
            <cbc:ElectronicMail>bouquet@fpconsortial.com</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:SellerSupplierParty>
   <cac:OriginatorCustomerParty>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>The Terminus</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Avon Way</cbc:StreetName>
            <cbc:BuildingName>Thereabouts</cbc:BuildingName>
            <cbc:BuildingNumber>56A</cbc:BuildingNumber>
            <cbc:CityName>Bridgtow</cbc:CityName>
            <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
            <cbc:CountrySubentity>Avon</cbc:CountrySubentity>
            <cac:AddressLine>
               <cbc:Line>3rd Floor, Room 5</cbc:Line>
            </cac:AddressLine>
            <cac:Country>
               <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
         </cac:PostalAddress>
         <cac:PartyTaxScheme>
            <cbc:RegistrationName>Bridgtow District Council</cbc:RegistrationName>
            <cbc:CompanyID>12356478</cbc:CompanyID>
            <cbc:ExemptionReason>Local Authority</cbc:ExemptionReason>
            <cac:TaxScheme>
               <cbc:ID>UK VAT</cbc:ID>
               <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
            </cac:TaxScheme>
         </cac:PartyTaxScheme>
         <cac:Contact>
            <cbc:Name>S Massiah</cbc:Name>
            <cbc:Telephone>+ 44 127 98876545</cbc:Telephone>
            <cbc:Telefax>+ 44 127 98876546</cbc:Telefax>
            <cbc:ElectronicMail>smassiah@the-email.co.uk</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:OriginatorCustomerParty>
   <cac:Delivery>
      <cac:DeliveryAddress>
         <cbc:StreetName>Avon Way</cbc:StreetName>
         <cbc:BuildingName>Thereabouts</cbc:BuildingName>
         <cbc:BuildingNumber>56A</cbc:BuildingNumber>
         <cbc:CityName>Bridgtow</cbc:CityName>
         <cbc:PostalZone>ZZ99 1ZZ</cbc:PostalZone>
         <cbc:CountrySubentity>Avon</cbc:CountrySubentity>
         <cac:AddressLine>
            <cbc:Line>3rd Floor, Room 5</cbc:Line>
         </cac:AddressLine>
         <cac:Country>
            <cbc:IdentificationCode>GB</cbc:IdentificationCode>
         </cac:Country>
      </cac:DeliveryAddress>
      <cac:RequestedDeliveryPeriod>
         <cbc:StartDate>2005-06-29</cbc:StartDate>
         <cbc:StartTime>01:00:00.0Z</cbc:StartTime>
         <cbc:EndDate>2005-06-30</cbc:EndDate>
         <cbc:EndTime>18:00:00.0Z</cbc:EndTime>
      </cac:RequestedDeliveryPeriod>
   </cac:Delivery>
   <cac:DeliveryTerms>
      <cbc:ID>FOB Destination</cbc:ID>
      <cac:DeliveryLocation>
         <cbc:ID>GBFXT</cbc:ID>
         <cbc:Description>Felixstowe</cbc:Description>
      </cac:DeliveryLocation>
   </cac:DeliveryTerms>
   <cac:TransactionConditions>
      <cbc:Description>Please advise when transport is booked.</cbc:Description>
   </cac:TransactionConditions>
   <cac:AnticipatedMonetaryTotal>
      <cbc:LineExtensionAmount currencyID="USD">1000.00</cbc:LineExtensionAmount>
      <cbc:PayableAmount currencyID="USD">1000.00</cbc:PayableAmount>
   </cac:AnticipatedMonetaryTotal>
   <cac:OrderLine>
      <cbc:Note>this is an illustrative order line</cbc:Note>
      <cac:LineItem>
         <cbc:ID>1</cbc:ID>
         <cbc:SalesOrderID>A</cbc:SalesOrderID>
         <cbc:LineStatusCode>NoStatus</cbc:LineStatusCode>
         <cbc:Quantity unitCode="KGM">100</cbc:Quantity>
         <cbc:LineExtensionAmount currencyID="USD">1000.00</cbc:LineExtensionAmount>
         <cac:Price>
            <cbc:PriceAmount currencyID="USD">10.00</cbc:PriceAmount>
            <cbc:BaseQuantity unitCode="KGM">1</cbc:BaseQuantity>
         </cac:Price>
         <cac:Item>
            <cbc:Description>Beeswax</cbc:Description>
            <cbc:Name>Acme Beeswax</cbc:Name>
            <cac:BuyersItemIdentification>
               <cbc:ID>6578489</cbc:ID>
            </cac:BuyersItemIdentification>
            <cac:SellersItemIdentification>
               <cbc:ID>17589683</cbc:ID>
            </cac:SellersItemIdentification>
         </cac:Item>
      </cac:LineItem>
   </cac:OrderLine>
</Order>