Office-oriented formatting specification for UBL Receipt Advice instances

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


Table of Contents

1. Receipt advice 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. Header information
3.1. Purchase Order No.
3.2. Sales Order No.
3.3. Receipt Number
3.4. Comment
3.5. From
3.6. To
3.7. Delivery address
3.8. Shipment Date
4. Line item information
4.1. Line no.
4.2. Part number
4.3. Quantity U/M

1.  Receipt advice formatting specification

This formatting specification describes a rendering of an instance of the UBL Receipt Advice document model according to a conceptual office-oriented layout.

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.

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:

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

    ra = "urn:oasis:names:tc:ubl:ReceiptAdvice: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
/​ra:ReceiptAdvice/​cat:ID
/​ra:ReceiptAdvice/​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. Header information

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

3.1. Purchase Order No.

Table 2. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:OrderReference/​cat:BuyersID

3.2. Sales Order No.

Table 3. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:OrderReference/​cat:SellersID

3.3. Receipt Number

Table 4. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:ID

3.4. Comment

Table 5. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:Note

3.5. From

Table 6. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:PartyName/​cat:Name
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:StreetName
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CityName
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CountrySubentityCode

The field for the name and address to which documents are sent (buyer).

3.6. To

Table 7. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:PartyName/​cat:Name
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:Address/​cat:StreetName
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:Address/​cat:CityName
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:Address/​cat:CountrySubentityCode

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.7.  Delivery address

Table 8. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:Delivery/​cat:DeliverToAddress/​cat:StreetName
/​ra:ReceiptAdvice/​cat:Delivery/​cat:DeliverToAddress/​cat:CityName
/​ra:ReceiptAdvice/​cat:Delivery/​cat:DeliverToAddress/​cat:PostalZone
/​ra:ReceiptAdvice/​cat:Delivery/​cat:DeliverToAddress/​cat:CountrySubentityCode

The address where the order was delivered.

3.8. Shipment Date

Table 9. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:Delivery/​cat:ActualDeliveryDateTime

The date portion is derived from the date-time

4. Line item information

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

4.1. Line no.

Table 10. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ID

4.2.  Part number

Table 11. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:OrderedItemIdentification/​cat:ID

4.3. Quantity U/M

Table 12. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ReceivedQuantity
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ReceivedQuantity/​@unitCode

One of these exists for each line item.