Schema Central  >  UBL 2.3  >  UBL-DespatchAdvice-2.3.xsd  >  DespatchAdvice
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

DespatchAdvice

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:DespatchAdvice-2

Schema document: maindoc/UBL-DespatchAdvice-2.3.xsd

Type: DespatchAdviceType

Properties: Global, Qualified

Content

  • Sequence [1..1]
    1. ext:UBLExtensions [0..1]A container for extensions foreign to the document.
    2. 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.
    3. cbc:CustomizationID [0..1]Identifies a user-defined customization of UBL for a specific use.
    4. cbc:ProfileID [0..1]Identifies a user-defined profile of the customization of UBL being used.
    5. cbc:ProfileExecutionID [0..1]Identifies an instance of executing a profile, to associate all transactions in a collaboration.
    6. cbc:ID [1..1]An identifier for this document, assigned by the sender.
    7. cbc:CopyIndicator [0..1]Indicates whether this document is a copy (true) or not (false).
    8. cbc:UUID [0..1]A universally unique identifier for an instance of this document.
    9. cbc:IssueDate [1..1]The date, assigned by the sender, on which this document was issued.
    10. cbc:IssueTime [0..1]The time, assigned by the sender, at which this document was issued.
    11. cbc:DocumentStatusCode [0..1]A code signifying the status of the Despatch Advice with respect to its original state. This code may be used if the document precedes the event and is subsequently found to be incorrect and in need of cancellation or revision.
    12. cbc:DespatchAdviceTypeCode [0..1]A code signifying the type of the Despatch Advice.
    13. cbc:Note [0..*]Free-form text pertinent to this document, conveying information that is not contained explicitly in other structures.
    14. cbc:LineCountNumeric [0..1]The number of Despatch Lines in this document.
    15. cac:OrderReference [0..*]A reference to an Order with which this Despatch Advice is associated.
    16. cac:AdditionalDocumentReference [0..*]A reference to an additional document associated with this document.
    17. cac:Signature [0..*]A signature applied to this document.
    18. cac:DespatchSupplierParty [1..1]The despatch party.
    19. cac:DeliveryCustomerParty [1..1]The delivery recipient.
    20. cac:BuyerCustomerParty [0..1]The buyer.
    21. cac:SellerSupplierParty [0..1]The seller.
    22. cac:OriginatorCustomerParty [0..1]A customer party as originator.
    23. cac:Shipment [0..1]The shipment.
    24. cac:DespatchLine [1..*]A Despatch Line associated with a kind of item delivered.

Attributes

None

Sample instance

<DespatchAdvice>
   <cbc:UBLVersionID>2.0</cbc:UBLVersionID>
   <cbc:CustomizationID>urn:oasis:names:specification:ubl:xpath:DespatchAdvice-2.0:sbs-1.0-draft</cbc:CustomizationID>
   <cbc:ProfileID>bpid:urn:oasis:names:draft:bpss:ubl-2-sbs-despatch-advice-notification-draft</cbc:ProfileID>
   <cbc:ID>565899</cbc:ID>
   <cbc:CopyIndicator>false</cbc:CopyIndicator>
   <cbc:UUID>88C7280E-8F10-419F-9949-8EFFFA2842B8</cbc:UUID>
   <cbc:IssueDate>2005-06-20</cbc:IssueDate>
   <cbc:DocumentStatusCode>NoStatus</cbc:DocumentStatusCode>
   <cbc:DespatchAdviceTypeCode>delivery</cbc:DespatchAdviceTypeCode>
   <cbc:Note>sample</cbc:Note>
   <cac:OrderReference>
      <cbc:ID>AEG012345</cbc:ID>
      <cbc:SalesOrderID>CON0095678</cbc:SalesOrderID>
      <cbc:UUID>6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1</cbc:UUID>
      <cbc:IssueDate>2005-06-20</cbc:IssueDate>
   </cac:OrderReference>
   <cac:DespatchSupplierParty>
      <cbc:CustomerAssignedAccountID>CO001</cbc:CustomerAssignedAccountID>
      <cac:Party>
         <cac:PartyName>
            <cbc:Name>Consortial</cbc:Name>
         </cac:PartyName>
         <cac:PostalAddress>
            <cbc:StreetName>Busy Street</cbc:StreetName>
            <cbc:BuildingName>Thereabouts</cbc:BuildingName>
            <cbc:BuildingNumber>56A</cbc:BuildingNumber>
            <cbc:CityName>Farthing</cbc:CityName>
            <cbc:PostalZone>AA99 1BB</cbc:PostalZone>
            <cbc:CountrySubentity>Heremouthshire</cbc:CountrySubentity>
            <cac:AddressLine>
               <cbc:Line>The Roundabout</cbc:Line>
            </cac:AddressLine>
            <cac:Country>
               <cbc:IdentificationCode>GB</cbc:IdentificationCode>
            </cac:Country>
         </cac:PostalAddress>
         <cac:PartyTaxScheme>
            <cbc:RegistrationName>Farthing Purchasing Consortium</cbc:RegistrationName>
            <cbc:CompanyID>175 269 2355</cbc:CompanyID>
            <cbc:ExemptionReason>N/A</cbc:ExemptionReason>
            <cac:TaxScheme>
               <cbc:ID>VAT</cbc:ID>
               <cbc:TaxTypeCode>VAT</cbc:TaxTypeCode>
            </cac:TaxScheme>
         </cac:PartyTaxScheme>
         <cac:Contact>
            <cbc:Name>Mrs Bouquet</cbc:Name>
            <cbc:Telephone>0158 1233714</cbc:Telephone>
            <cbc:Telefax>0158 1233856</cbc:Telefax>
            <cbc:ElectronicMail>bouquet@fpconsortial.co.uk</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:DespatchSupplierParty>
   <cac:DeliveryCustomerParty>
      <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: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>Mr Fred Churchill</cbc:Name>
            <cbc:Telephone>0127 2653214</cbc:Telephone>
            <cbc:Telefax>0127 2653215</cbc:Telefax>
            <cbc:ElectronicMail>fred@iytcorporation.gov.uk</cbc:ElectronicMail>
         </cac:Contact>
      </cac:Party>
   </cac:DeliveryCustomerParty>
   <cac:Shipment>
      <cbc:ID>1</cbc:ID>
      <cac:Consignment>
         <cbc:ID>1</cbc:ID>
      </cac:Consignment>
      <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-20</cbc:StartDate>
            <cbc:StartTime>10:30:47.0Z</cbc:StartTime>
            <cbc:EndDate>2005-06-21</cbc:EndDate>
            <cbc:EndTime>10:30:47.0Z</cbc:EndTime>
         </cac:RequestedDeliveryPeriod>
      </cac:Delivery>
   </cac:Shipment>
   <cac:DespatchLine>
      <cbc:ID>1</cbc:ID>
      <cbc:Note>Mrs Green agreed to waive charge</cbc:Note>
      <cbc:LineStatusCode>NoStatus</cbc:LineStatusCode>
      <cbc:DeliveredQuantity unitCode="KGM">90</cbc:DeliveredQuantity>
      <cbc:BackorderQuantity unitCode="KGM">10</cbc:BackorderQuantity>
      <cbc:BackorderReason>lack of stock as explained on telephone today</cbc:BackorderReason>
      <cac:OrderLineReference>
         <cbc:LineID>1</cbc:LineID>
         <cbc:SalesOrderLineID>A</cbc:SalesOrderLineID>
         <cac:OrderReference>
            <cbc:ID>AEG012345</cbc:ID>
            <cbc:SalesOrderID>CON0095678</cbc:SalesOrderID>
            <cbc:UUID>6E09886B-DC6E-439F-82D1-7CCAC7F4E3B1</cbc:UUID>
            <cbc:IssueDate>2005-06-20</cbc:IssueDate>
         </cac:OrderReference>
      </cac:OrderLineReference>
      <cac:Item>
         <cbc:Description>Acme beeswax</cbc:Description>
         <cbc:Name>beeswax</cbc:Name>
         <cac:BuyersItemIdentification>
            <cbc:ID>6578489</cbc:ID>
         </cac:BuyersItemIdentification>
         <cac:SellersItemIdentification>
            <cbc:ID>17589683</cbc:ID>
         </cac:SellersItemIdentification>
         <cac:ItemInstance>
            <cac:LotIdentification>
               <cbc:LotNumberID>546378239</cbc:LotNumberID>
               <cbc:ExpiryDate>2010-01-01</cbc:ExpiryDate>
            </cac:LotIdentification>
         </cac:ItemInstance>
      </cac:Item>
   </cac:DespatchLine>
</DespatchAdvice>