PurchaseOrder Schema
PurchaseOrder Schema / purchaseOrder Element
In This Topic
    purchaseOrder Element
    In This Topic
    Description
    The purchase order.
    Namespace (none)
    Type
    Diagram
    item Element Sequence items Element comment Element zip Element state Element city Element street Element name Element Sequence billTo Element zip Element state Element city Element street Element name Element Sequence shipTo Element Sequence purchaseOrder Element
    Overview
    orderDate optional xs:date
    The date of the order.
    Sequence
    shipTo USAddress Complex Type
    The shipping address.
    country optional xs:NMTOKEN
    The country name.
    Sequence
    name xs:string
    The name of the recipient.
    street xs:string
    The street name and house number.
    city xs:string
    The city name.
    state xs:string
    The state name.
    zip xs:decimal
    The zip code.
    billTo USAddress Complex Type
    The billing address.
    country optional xs:NMTOKEN
    The country name.
    Sequence
    name xs:string
    The name of the recipient.
    street xs:string
    The street name and house number.
    city xs:string
    The city name.
    state xs:string
    The state name.
    zip xs:decimal
    The zip code.
    comment optional xs:string
    Any comments about the order/item.
    items Items Complex Type
    The items in the order.
    Sequence
    item 0..∞
    Describes an item in the purchase order.
    Sequence
    productName xs:string
    The name of the product.
    quantity Restriction of xs:positiveInteger
    The number of units.
    USPrice xs:decimal
    The price of the item.
    comment optional xs:string
    Any comments about the order/item.
    shipDate optional xs:date
    The date the item was shipped.
    Source
    <xs:element name="purchaseOrder" type="PurchaseOrderType" xmlns:xs="http://www.w3.org/2001/XMLSchema">
      <xs:annotation>
        <xs:documentation xml:lang="en">The purchase order.</xs:documentation>
      </xs:annotation>
    </xs:element>
    See Also