UN layout formatting specification for UBL Order Change instances

$Date: 2003/11/18 15:40:39 $(UTC)


Table of Contents

1. Order change formatting specification
1.1. Status
1.2. Example renderings and implementations
1.3. Layout order and information
1.4. Namespaces
2. Miscellaneous information
2.1. Document header information
3. Party information
3.1. Seller
3.2. Order change number
3.3. Order reference (Buyer's)
3.4. Date
3.5. Order issue date
3.6. Change sequence number
3.7. Order reference (Seller's)
3.8. Consignee
3.9. Buyer
3.10. Buyer's bank
3.11. Country of origin
3.12. Country of destination
4. Delivery and transport
4.1. Mode of transport
4.2. Date of despatch
4.3. Means of transport
4.4. Place of despatch
4.5. Place of loading
4.6. Place of discharge
4.7. Place of delivery
4.8. Terms of delivery
4.9. Location
4.10. Time of delivery
4.11. Transport charges
4.12. Terms of payment
4.13. Currency of payment
5. Consignment information
5.1. Shipping marks
5.2. Container nr.
5.3. Number and kind of packages; description of goods
5.4. Total gross weight (Kg)
5.5. Cube m3
5.6. Total net weight (Kg)
6. Line item information
6.1. Item / Reference
6.2. Description
6.3. Country of origin
6.4. Commodity code
6.5. Quantity
6.6. Unit price
6.7. Amount
7. Summary information
7.1. Notes
7.2. Total amount
7.3. Name of signatory
7.4. Place and date of issue
7.5. Signature

1.  Order change formatting specification

This formatting specification describes a rendering of the UBL Order Change document model numbered according to the United Nations Layout Key for Trade Documents guidelines for application for the 230 Order Change form.

For a list of all formatting specifications and an overview of the documentation conventions, please visit the formatting specification home page.

1.1.  Status

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.

1.2.  Example renderings and implementations

Example renderings:

1.3.  Layout order and information

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.

1.4.  Namespaces

The following namespaces are mapped to the prefixes in the expressions below:

  • xmlns:co="urn:oasis:names:tc:ubl:OrderChange:1:0-beta"

  • xmlns:cat="urn:oasis:names:tc:ubl:CommonAggregateTypes:1:0-beta"

2.  Miscellaneous information

The following information is unrelated to the visible fields of the form.

2.1.  Document header information

Table 1. XPath information

XPath addresses
/​co:OrderChange/​cat:BuyersID
/​co:OrderChange/​cat:IssueDate

This information shows up in the window-title bar of the HTML browser, and in the document title supported by some XSL-FO processors.

3. Party information

Header information is associated with the form as a whole, not to the individual items of goods.

3.1. Seller

Table 2. XPath information

XPath addresses
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:PartyName/​cat:Name
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:Address/​cat:StreetName
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:Address/​cat:CityName
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:Address/​cat:CountrySubentity
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​co:OrderChange/​cat:SellerParty/​cat:Party/​cat:Address/​cat:Country/​cat: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.

3.2. Order change number

Table 3. XPath information

XPath address
/​co:OrderChange/​cat:BuyersID

This number is a unique number assigned to the order change by the buyer.

3.3. Order reference (Buyer's)

Table 4. XPath information

XPath address
/​co:OrderChange/​cat:OrderReference/​cat:BuyersID

This number is the reference number of the original order.

3.4. Date

Table 5. XPath information

XPath address
/​co:OrderChange/​cat:IssueDate

This field states the date of the order change.

3.5. Order issue date

Table 6. XPath information

XPath address
/​co:OrderChange/​cat:OrderReference/​cat:IssueDate

This fields provides the date of the original order.

3.6. Change sequence number

Table 7. XPath information

XPath address
/​co:OrderChange/​co:SequenceNumberID

The Order Change Sequence Number is a unique number assigned to ensure the proper sequencing of the change requests.

3.7. Order reference (Seller's)

Table 8. XPath information

XPath address
/​co:OrderChange/​cat:OrderReference/​cat:SellersID

This field provides a seller assigned reference to the orinal order.

3.8. Consignee

Currently the contents of this field is the same as the Section 3.9, “Buyer” field.

3.9. Buyer

Table 9. XPath information

XPath addresses
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:PartyName/​cat:Name
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:StreetName
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CityName
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CountrySubentity
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:Country/​cat:Name

These fields are used to provide the name and address of the buyer of the goods involved in the transaction.

3.10. Buyer's bank

At this time this field is not being used in the order change.

3.11. Country of origin

At this time this field is not being used in the order change.

3.12. Country of destination

At this time this field is not being used in the order change.

4. Delivery and transport

Transportation fields are header-like and applicable to the entire order change.

4.1. Mode of transport

At this time this field is not being used in the order change.

4.2. Date of despatch

At this time this field is not being used in the order change.

4.3. Means of transport

At this time this field is not being used in the order change.

4.4. Place of despatch

At this time this field is not being used in the order change.

4.5. Place of loading

At this time this field is not being used in the order change.

4.6. Place of discharge

At this time this field is not being used in the order change.

4.7. Place of delivery

At this time this field is not being used in the order change.

4.8. Terms of delivery

At this time this field is not being used in the order change.

4.9. Location

At this time this field is not being used in the order change.

4.10. Time of delivery

At this time this field is not being used in the order change.

4.11. Transport charges

At this time this field is not being used in the order change.

4.12. Terms of payment

At this time this field is not being used in the order change.

4.13. Currency of payment

At this time this field is not being used in the order change.

5. Consignment information

The consignment information holds generic details and totals relating to all the goods items in the order change.

5.1. Shipping marks

At this time this field is not being used in the order change.

5.2. Container nr.

At this time this field is not being used in the order change.

5.3. Number and kind of packages; description of goods

At this time this field is not being used in the order change.

5.4. Total gross weight (Kg)

At this time this field is not being used in the order change.

5.5. Cube m3

At this time this field is not being used in the order change.

5.6. Total net weight (Kg)

At this time this field is not being used in the order change.

6. Line item information

Line item information is associated with the individual item of goods in the order change.

6.1. Item / Reference

Table 10. XPath information

XPath addresses
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:BuyersID
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat: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.

6.2. Description

Table 11. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:Item/​cat:Description

This provides a free text description of the line item.

6.3. Country of origin

Table 12. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:Item/​cat:OriginCountry/​cat:Name

This field is used to provide to country of origin for the line item.

6.4. Commodity code

Table 13. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:Item/​cat:CommodityClassification/​cat:CommodityCode

This field is used to provide the commodity code for the line item.

6.5. Quantity

Table 14. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:Quantity

This field states the number of order change items ordered for the line item.

6.6. Unit price

Table 15. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:BasePrice/​cat:PriceAmount

This field is used to specify the unit price of the line item.

6.7. Amount

Table 16. XPath information

XPath address
/​co:OrderChange/​cat:OrderLine/​cat:LineItem/​cat:LineExtensionAmount

This field states the actual line item amount which will be quantity mutiplied by the unit price, the result is not calculated it will be transmitted.

7. Summary information

Summary information is associated to the entire order change and not to any individual line item.

7.1. Notes

Table 17. XPath information

XPath address
/​co:OrderChange/​cat:Note

This notes field is used for any free text information that relates to the entire order change.

7.2. Total amount

Table 18. XPath information

XPath addresses
/​co:OrderChange/​co:TransactionCurrencyCode
/​co:OrderChange/​cat:LineExtensionTotalAmount

Two data fields populate this one form field: the currency and the total amount.

The total amount is the total of all the individual line items and is not calculated it will be transmitted.

7.3. Name of signatory

Table 19. XPath information

XPath address
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Contact/​cat:Name

This fields identified the name of the signatory.

7.4. Place and date of issue

Table 20. XPath information

XPath addresses
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CityName
/​co:OrderChange/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CountrySubentity
/​co:OrderChange/​cat:IssueDate

The above fields provide information relating to the date and place of issue of the order change.

7.5. Signature

This field is not currently being filled automatically as it is a manual entry.