Copyright © 2004 OASIS
$Date: 2004/09/05 15:14:03 $(UTC)
Table of Contents
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.
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.
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 stylesheets.
The following namespaces are mapped to the prefixes in the expressions below:
cac = "urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0"
cbc = "urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0"
ra = "urn:oasis:names:specification:ubl:schema:xsd:ReceiptAdvice-1.0"
The following information is unrelated to the visible fields of the form.
Header information is associated with the form as a whole, not to the individual items of goods.
Table 6. XPath information
XPath addresses |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:PartyName/cbc:Name |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:Address/cbc:BuildingNumber |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:Address/cbc:StreetName |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:Address/cbc:CityName |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:Address/cbc:PostalZone |
/ra:ReceiptAdvice/cac:BuyerParty/cac:Party/cac:Address/cac:CountrySubentityCode |
The field for the name and address to which documents are sent (buyer).
Table 7. XPath information
XPath addresses |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:PartyName/cbc:Name |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:Address/cbc:BuildingNumber |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:Address/cbc:StreetName |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:Address/cbc:CityName |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:Address/cbc:PostalZone |
/ra:ReceiptAdvice/cac:SellerParty/cac:Party/cac:Address/cac: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.
Table 8. XPath information
XPath addresses |
/ra:ReceiptAdvice/cac:Delivery/cac:DeliveryAddress/cbc:BuildingNumber |
/ra:ReceiptAdvice/cac:Delivery/cac:DeliveryAddress/cbc:StreetName |
/ra:ReceiptAdvice/cac:Delivery/cac:DeliveryAddress/cbc:CityName |
/ra:ReceiptAdvice/cac:Delivery/cac:DeliveryAddress/cbc:PostalZone |
/ra:ReceiptAdvice/cac:Delivery/cac:DeliveryAddress/cac:CountrySubentityCode |
The address where the order was delivered.
Line item information is associated with the individual items of the goods in the order.