UN-like layout formatting specification for UBL Receipt Advice instances

$Date: 2003/11/18 15:40:45 $(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. Party information
3.1. Seller
3.2. Receipt advice reference
3.3. Despatch advice reference
3.4. Date
3.5. Despatch advice date
3.6. Buyer's reference
3.7. Other reference
3.8. Consignee
3.9. Buyer
3.10. Freight forwarder
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. Vessel/flight no. and date
4.6. Port/airport of loading
4.7. Port/airport of discharge
4.8. Place of delivery
4.9. Delivery requirements
5. Consignment information
5.1. Shipping marks; container number
5.2. Number and kind of packages; description of goods
5.3. Total gross weight (Kg)
5.4. Cube m3
6. Line item information
6.1. Item / References
6.2. Description
6.3. Received quantity
6.4. Short quantity / Rejected quantity
6.5. Reject reason
6.6. Action
7. Summary information
7.1. Receipt advice notes
7.2. Name of signatory
7.3. Place and date of issue
7.4. Signature

1.  Receipt advice formatting specification

This formatting specification describes a rendering of the UBL Receipt Advice document model numbered according to the United Nations Layout Key for Trade Documents guidelines for application for the 632 Goods Receipt 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:po="urn:oasis:names:tc:ubl:Order: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
/​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. 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
/​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:CountrySubentity
/​ra:ReceiptAdvice/​cat:SellerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​ra:ReceiptAdvice/​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. Receipt advice reference

Table 3. XPath information

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

This number is a unique number assigned to the receipt advice by the buyer.

3.3. Despatch advice reference

Table 4. XPath information

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

This number is the unique number assigned to the corresponding despatch advice by the seller.

3.4. Date

Table 5. XPath information

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

This field states the date of the receipt advice.

3.5. Despatch advice date

Table 6. XPath information

XPath address
/​ra:ReceiptAdvice/​ra:DespatchDocumentReference/​cat:IssueDate

This field provides the date of the corresponding despatch advice.

3.6. Buyer's reference

Table 7. XPath information

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

This field provides the buyer's reference to the original order.

3.7. Other reference

At this time this field is not being used in the receipt advice.

3.8. Consignee

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

3.9. Buyer

Table 8. 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:CountrySubentity
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:PostalZone
/​ra:ReceiptAdvice/​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. Freight forwarder

Table 9. XPath information

XPath addresses
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:PartyName/​cat:Name
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:Address/​cat:StreetName
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:Address/​cat:CityName
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:Address/​cat:CountrySubentity
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:Address/​cat:PostalZone
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cat:Address/​cat:Country/​cat:Name

These fields are used to provide the name and address of the freight forwarder involved in the transaction.

3.11. Country of origin

At this time this field is not being used in the receipt advice.

3.12. Country of destination

At this time this field is not being used in the receipt advice.

4. Delivery and transport

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

4.1. Mode of transport

At this time this field is not being used in the receipt advice.

4.2. Date of despatch

At this time this field is not being used in the receipt advice.

4.3. Means of transport

At this time this field is not being used in the receipt advice.

4.4. Place of despatch

At this time this field is not being used in the receipt advice.

4.5. Vessel/flight no. and date

At this time this field is not being used in the receipt advice.

4.6. Port/airport of loading

At this time this field is not being used in the receipt advice.

4.7. Port/airport of discharge

At this time this field is not being used in the receipt advice.

4.8. Place of delivery

At this time this field is not being used in the receipt advice.

4.9. Delivery requirements

At this time this field is not being used in the receipt advice.

5. Consignment information

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

5.1. Shipping marks; container number

At this time this field is not being used in the receipt advice.

5.2. Number and kind of packages; description of goods

At this time this field is not being used in the receipt advice.

5.3. Total gross weight (Kg)

At this time this field is not being used in the receipt advice.

5.4. Cube m3

At this time this field is not being used in the receipt advice.

6. Line item information

Line item information is associated with the individual item of goods in the receipt advice.

6.1. Item / References

Table 10. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ID
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:OrderLineReference/​cat:BuyersLineID
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:OrderLineReference/​cat:SellersLineID

The item field is the identification of the receipt line according to the buyer's system.

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
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:OrderedItemIdentification/​cat:PhysicalAttribute/​cat:DescriptionID

This provides a free text description of the line item.

6.3. Received quantity

Table 12. XPath information

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

This field provides the number of received item for the line item.

6.4. Short quantity / Rejected quantity

Table 13. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ShortQuantity
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:RejectedQuantity

These fields provide the recipients response to the items received.

The receipient will confirm the number of missing items OR the number of rejected items.

6.5. Reject reason

Table 14. XPath information

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

This field provides the reason for a rejection, the rejection reason code should be translated into text for clarity.

6.6. Action

Table 15. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:RejectActionCode
/​ra:ReceiptAdvice/​cat:ReceiptLine/​cat:ShortageActionCode

These fields provides the action to be taken for missing or rejected items, the shortage action code OR the rejection reason code should be translated into text for clarity.

7. Summary information

Summary information is associated to the entire receipt advice and not to any individual line item.

7.1. Receipt advice notes

Table 16. XPath information

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

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

7.2. Name of signatory

Table 17. XPath information

XPath address
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Contact/​cat:Name

This field provides the name of signatory in the receipt advice.

7.3. Place and date of issue

Table 18. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CityName
/​ra:ReceiptAdvice/​cat:BuyerParty/​cat:Party/​cat:Address/​cat:CountrySubentity
/​ra:ReceiptAdvice/​cat:IssueDate

The above fields provide information relating to the date and place of issue of the receipt advice.

7.4. Signature

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