Copyright © 2004 OASIS
$Date: 2004/09/09 01:30:40 $(UTC)
Contents
This formatting specification describes a rendering of the UBL Order Response document model according to the United Nations Layout Key for Trade Documents guidelines for application for the 320 Acknowledgement of Order form:
320 Acknowledgement of Order: Document acknowledging an undertaking to fulfill an order and confirming conditions or acceptance of conditions.
For a list of all formatting specifications and an overview of the documentation conventions, please visit the formatting specification home page.
This specification has no formal status at this time. It should not be considered a reference interpretation of UBL documents. Feedback is sought from users of stylesheets that implement this formatting specification regarding suggestions for change for consideration by the OASIS UBL committees for incorporation into these formatting specifications.
Presentational semantics may never be formalized or normative in the UBL project due to differing international requirements and conventions for the presentation of information found in business documents. This document contains only examples from a few of what will probably be many available UBL stylesheet libraries.
The following is an example rendering that illustrates the position and decoration of the information items found in an instance of the document type:
PDF printable format (A4 page size)
PDF printable format (US-letter page size)
Items in this formatting specification are ordered roughly from the laid out fields on the form in the order left-to-right, top to bottom.
Certain descriptions are verbatim quotes from the United Nations guidelines document.
Important: the rendering of a number of fields is very simplified, reflecting a Western European interpretation of a subset of fields (as in names and addresses). User requirements need to be better understood for the level of granularity in these formatting specifications.
The following namespaces are mapped to the prefixes in the expressions below:
xmlns:ro="urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-1.0"
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0"
Header information is associated with the form as a whole, not to the individual items of goods.
Box Label: "Seller"
Table 1. XPath information
XPath addresses |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:PartyName/cbc:Name |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cbc:BuildingNumber |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cbc:StreetName |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cbc:CityName |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cbc:CountrySubentity |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cac:CountrySubentityCode |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cbc:PostalZone |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Address/cac:Country/cbc:Name |
This field is intended to show the name and address of the sender of goods or the originator of the documents, as the case may be.
Note that only one of cbc:CountrySubentity and cac:CountrySubentityCode need be used, with preference to cbc:CountrySubentity if it exists.
Box Label: "Seller's reference"
This number is a unique number assigned to the order response by the seller.
Box Label: "Date"
Table 7. XPath information
XPath addresses |
/ro:OrderResponse/cbc:IssueDate |
/ro:OrderResponse/cbc:IssueDate |
This field states the date of the order response.
Box Label: "Buyer’s reference"
This field provides a reference to the original order.
Box Label: "Purchase Order Date"
This field provides a location for additiona reference information.
Box Label: "Purchase Order Date"
This field provides the issue date of the original order.
Box Label: "Consignee"
Table 17. XPath information
XPath addresses |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:PartyName/cbc:Name |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cbc:BuildingNumber |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cbc:StreetName |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cbc:CityName |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cbc:CountrySubentity |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:CountrySubentityCode |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cbc:PostalZone |
/ro:OrderResponse/cac:Delivery/cac:DeliveryAddress/cac:Country/cbc:Name |
These fields are used to provide the name and address of the receiver of the goods involved in the transaction.
Note that only one of cbc:CountrySubentity and cac:CountrySubentityCode need be used, with preference to cbc:CountrySubentity if it exists.
Box Label: "Buyer"
Table 20. XPath information
XPath addresses |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:PartyName/cbc:Name |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cbc:BuildingNumber |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cbc:StreetName |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cbc:CityName |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cbc:CountrySubentity |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cac:CountrySubentityCode |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cbc:PostalZone |
/ro:OrderResponse/cac:BuyerParty/cac:Party/cac:Address/cac:Country/cbc:Name |
These fields are used to provide the name and address of the buyer of the goods involved in the transaction.
Note that only one of cbc:CountrySubentity and cac:CountrySubentityCode need be used, with preference to cbc:CountrySubentity if it exists.
Box Label: "Order response status"
This field provides the status of the order response, the response status code should be translated into text form for clarity.
Box Label: "Country of origin"
Table 26. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cac:OriginCountry/cbc:Name |
At this time this field is not being used in the order response.
Box Label: "Country of destination"
This fields provides the name of the destination country.
Transportation fields are header-like information and are applicable to the entire order response.
Box Label: "Mode of transport"
At this time this field is not being used in the order response.
Box Label: "Date of despatch"
At this time this field is not being used in the order response.
Box Label: "Means of transport"
At this time this field is not being used in the order response.
Box Label: "Place of despatch"
At this time this field is not being used in the order response.
Box Label: "Vessel/flight No."
At this time this field is not being used in the order response.
Box Label: "Port of loading"
At this time this field is not being used in the order response.
Box Label: "Port of discharge"
At this time this field is not being used in the order response.
Box Label: "Place of delivery"
At this time this field is not being used in the order response.
Box Label: "Terms of delivery"
This fields provides the INCOTERM code for the terms of delivery.
Box Label: "Location"
This field provides the location name (if relevant) associated to the delivery terms.
Box Label: "Special terms"
This field provides free text description of special conditions relating to the delivery terms.
Box Label: "Terms of payment"
At this time this field is not being used in the order response.
Box Label: "Currency of payment"
This specifies the payment currency for the entire order response.
The consignment information holds generic details and totals relating to all the goods items in the order response.
Box Label: "Shipping marks; container number"
At this time this field is not being used in the order response.
Box Label: "No. and kind of packages; description of goods"
At this time this field is not being used in the order response.
Box Label: "Total gross weight (kg)"
This field provides the gross weight of the order response (not the shipment as it is not known at the order response stage).
Box Label: "Total cube(m3)"
This field provides the gross volume of the order response (not the shipment as it is not known at the order response stage).
Box Label: "Total net weight (kg)"
This field provides the net weight of the order response (not the shipment as it is not known at the order response stage).
Line item information is associated with the individual item of goods in the order response
Box Label: "Item / References"
Table 74. XPath information
XPath addresses |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:BuyersID |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:SellersID |
The first reference is the buyer's assigned reference to the line item.
The second reference is the seller's assigned reference to the line item.
Box Label: "Description"
Table 77. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cbc:Description |
This provides a free text description of the line item.
Box Label: "Country of origin"
Table 80. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cac:OriginCountry/cbc:Name |
This field is used to provide to country of origin for the line item.
Box Label: "Commodity code"
Table 83. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cac:CommodityClassification/cac:CommodityCode |
This field is used to provide the commodity code for the line item.
Box Label: "Quantity"
Table 86. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cbc:Quantity |
This field states the number of items ordered for the line item.
Summary information is associated to the entire order response and not to any individual line item.
Box Label: "Notes"
This notes field is used for any free text information that relates to the entire order response.
Box Label: "Seller's company and telephone no."
Table 94. XPath information
XPath addresses |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:PartyName/cbc:Name |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Contact/cbc:Telephone |
These fields identified the name of the seller's company and a contact telephone number.
Box Label: "Name of contact"
Table 97. XPath information
XPath address |
/ro:OrderResponse/cac:SellerParty/cac:Party/cac:Contact/cbc:Name |
This field identified the name of the seller's contact.
The continuation page comprises only a copy of the document identification information described in Section 6, “Main document and party information” and room for additional line item entries described in Section 10, “Line item information”. Alternative box representations are described below:
Box Label: "Item / References"
Table 105. XPath information
XPath addresses |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:BuyersID |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:SellersID |
The first reference is the buyer's assigned reference to the line item.
The second reference is the seller's assigned reference to the line item.
Box Label: "Description"
Table 108. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cbc:Description |
This provides a free text description of the line item.
Box Label: "Country of origin"
Table 111. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cac:OriginCountry/cbc:Name |
This field is used to provide to country of origin for the line item.
Box Label: "Commodity code"
Table 114. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cac:Item/cac:CommodityClassification/cac:CommodityCode |
This field is used to provide the commodity code for the line item.
Box Label: "Quantity"
Table 117. XPath information
XPath address |
/ro:OrderResponse/ro:RespondedOrderLine/cac:LineItem/cbc:Quantity |
This field states the number of items ordered for the line item.