Order
This element MUST be conveyed as the root element in any instance document based on this Schema expression
Element information
Namespace: urn:oasis:names:specification:ubl:schema:xsd:Order-2
Schema document: maindoc/UBL-Order-2.3.xsd
Type: OrderType
Properties: Global, Qualified
Content
- Sequence [1..1]
- ext:UBLExtensions [0..1]A container for extensions foreign to the document.
- cbc:UBLVersionID [0..1]Identifies the earliest version of the UBL 2 schema for this document type that defines all of the elements that might be encountered in the current instance.
- cbc:CustomizationID [0..1]Identifies a user-defined customization of UBL for a specific use.
- cbc:ProfileID [0..1]Identifies a user-defined profile of the customization of UBL being used.
- cbc:ProfileExecutionID [0..1]Identifies an instance of executing a profile, to associate all transactions in a collaboration.
- cbc:ID [1..1]An identifier for this document, assigned by the sender.
- cbc:SalesOrderID [0..1]An identifier for the Order, assigned by the seller.
- cbc:CopyIndicator [0..1]Indicates whether this document is a copy (true) or not (false).
- cbc:UUID [0..1]A universally unique identifier for an instance of this document.
- cbc:IssueDate [1..1]The date, assigned by the sender, on which this document was issued.
- cbc:IssueTime [0..1]The time, assigned by the sender, at which this document was issued.
- cbc:OrderTypeCode [0..1]A code signifying the type of Order.
- cbc:Note [0..*]Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
- cbc:RequestedInvoiceCurrencyCode [0..1]A code signifying the currency requested for amount totals in Invoices related to this Order.
- cbc:DocumentCurrencyCode [0..1]A code signifying the default currency for this document.
- cbc:PricingCurrencyCode [0..1]A code signifying the currency used for all prices in the Order.
- cbc:TaxCurrencyCode [0..1]A code signifying the currency requested for tax amounts in Invoices related to this Order.
- cbc:CustomerReference [0..1]A supplementary reference for the Order.
- cbc:AccountingCostCode [0..1]The buyer's accounting code, applied to the Order as a whole.
- cbc:AccountingCost [0..1]The buyer's accounting cost centre, applied to the Order as a whole, expressed as text.
- cbc:LineCountNumeric [0..1]The number of Order Lines in the document.
- cac:ValidityPeriod [0..*]The period for which the Order is valid.
- cac:QuotationDocumentReference [0..1]A reference to a Quotation.
- cac:OrderDocumentReference [0..*]A reference to another Order.
- cac:OriginatorDocumentReference [0..1]A reference to an originator document associated with this document.
- cac:CatalogueReference [0..1]A reference to the Catalogue on which this Order is based.
- cac:AdditionalDocumentReference [0..*]A reference to an additional document associated with this document.
- cac:Contract [0..*]A contracts associated with this Order.
- cac:ProjectReference [0..*]A project with which this Order is associated.
- cac:Signature [0..*]A signature applied to this document.
- cac:BuyerCustomerParty [1..1]The buyer.
- cac:SellerSupplierParty [1..1]The seller.
- cac:OriginatorCustomerParty [0..1]The originator.
- cac:FreightForwarderParty [0..1]A freight forwarder or carrier.
- cac:AccountingCustomerParty [0..1]The accounting customer party.
- cac:Delivery [0..*]A delivery associated with this document.
- cac:DeliveryTerms [0..*]A set of delivery terms associated with this document.
- cac:PaymentMeans [0..*]Expected means of payment.
- cac:PaymentTerms [0..*]A set of payment terms associated with this document.
- cac:TransactionConditions [0..1]A specification of purchasing or sales conditions applying to the whole Order.
- cac:AllowanceCharge [0..*]A discount or charge that applies to a price component.
- cac:TaxExchangeRate [0..1]The exchange rate between the document currency and the tax currency.
- cac:PricingExchangeRate [0..1]The exchange rate between the document currency and the pricing currency.
- cac:PaymentExchangeRate [0..1]The exchange rate between the document currency and the payment currency.
- cac:DestinationCountry [0..1]The country of destination (for customs purposes).
- cac:TaxTotal [0..*]The total amount of a specific type of tax.
- cac:AnticipatedMonetaryTotal [0..1]The total amount for the Order anticipated by the buyer.
- cac:OrderLine [1..*]A line associated with a line in the Catalogue and specifying a kind of item being ordered.
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>