UN layout formatting specification for UBL Receipt Advice instances

$Date: 2004/09/09 01:30:40 $(UTC)


Contents

1. Receipt advice formatting specification
1.1. Status
1.2. Example rendering
1.3. Layout order and information
1.4. Namespaces
2. Miscellaneous information
3. Main document and party information
3.1. Seller
3.2. Receipt advice reference
3.3. Receipt advice reference
3.4. Despatch advice reference
3.5. Date
3.6. Despatch advice date
3.7. Buyer’s reference
3.8. Other reference
3.9. Consignee
3.10. Buyer
4. Additional document and party information
4.1. Freight forwarder
4.2. Country of origin of goods
4.3. Country of destination
5. Delivery and transport
5.1. Mode of transport
5.2. Date of despatch
5.3. Means of transport
5.4. Place of despatch
5.5. Vessel/flight No.
5.6. Port/airport of loading
5.7. Port/airport of discharge
5.8. Place of delivery
5.9. Delivery requirements
6. Consignment information
6.1. Shipping marks; container number
6.2. No. and kind of packages; description of goods
6.3. Total gross weight (kg)
6.4. Total cube (m3)
6.5. Total net weight (kg)
7. Line item information
7.1. Item / Packages
7.2. Description
7.3. Received Quantity
7.4. Short quantity /Rejected quantity
7.5. Reject reason
7.6. Action
8. Summary information
8.1. Notes
8.2. Name of signatory
8.3. Place and date of issue
8.4. Signature
9. Continuation page
9.1. Item / Packages
9.2. Description
9.3. Received Quantity
9.4. Short quantity /Rejected quantity
9.5. Reject reason
9.6. Action

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:

  • 632 Goods receipt: Document issued by a port, warehouse/shed, or terminal operator acknowledging receipt of goods specified therein on conditions stated or referred to in the document.

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 rendering

The following is an example rendering that illustrates the position and decoration of the information items found in an instance of the document type:

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:ra="urn:oasis:names:specification:ubl:schema:xsd:ReceiptAdvice-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"

2.  Miscellaneous information

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. Main document and party information

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

3.1. Seller

Box Label: "Seller"

Table 1. 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:CountrySubentity
/​ra:ReceiptAdvice/​cac:SellerParty/​cac:Party/​cac:Address/​cac:CountrySubentityCode
/​ra:ReceiptAdvice/​cac:SellerParty/​cac:Party/​cac:Address/​cbc:PostalZone
/​ra:ReceiptAdvice/​cac:SellerParty/​cac:Party/​cac:Address/​cac:Country/​cbc:Name

Table 2. Box Geometry

row1height6
column1width4

Table 3. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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.

3.2. Receipt advice reference

Box Label: "Receipt advice reference"

Table 4. XPath information

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

Table 5. Box Geometry

row1height2
column5width2

Table 6. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

3.3. Receipt advice reference

Box Label: "Receipt advice reference"

Table 7. XPath information

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

Table 8. Box Geometry

row1height2
column5width2

Table 9. Box Borders

line-beforetrue
line-after
line-starttrue
line-endtrue

The unique number related to the change order.

3.4. Despatch advice reference

Box Label: "Despatch advice reference"

Table 10. XPath information

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

Table 11. Box Geometry

row1height2
column7width2

Table 12. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

3.5. Date

Box Label: "Date"

Table 13. XPath information

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

Table 14. Box Geometry

row3height2
column5width2

Table 15. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

This field states the date of the receipt advice.

3.6. Despatch advice date

Box Label: "Despatch advice date"

Table 16. XPath information

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

Table 17. Box Geometry

row3height2
column7width2

Table 18. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

This field provides the date of the corresponding despatch advice.

3.7. Buyer’s reference

Box Label: "Buyer’s reference"

Table 19. XPath information

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

Table 20. Box Geometry

row5height2
column5width2

Table 21. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

3.8. Other reference

Box Label: "Other reference"

Table 22. Box Geometry

row5height2
column7width2

Table 23. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

3.9. Consignee

Box Label: "Consignee"

Table 24. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:PartyName/​cbc:Name
/​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:CountrySubentity
/​ra:ReceiptAdvice/​cac:Delivery/​cac:DeliveryAddress/​cac:CountrySubentityCode
/​ra:ReceiptAdvice/​cac:Delivery/​cac:DeliveryAddress/​cbc:PostalZone
/​ra:ReceiptAdvice/​cac:Delivery/​cac:DeliveryAddress/​cac:Country/​cbc:Name

Table 25. Box Geometry

row7height6
column1width4

Table 26. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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.

3.10. Buyer

Box Label: "Buyer"

Table 27. 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:CountrySubentity
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cac:CountrySubentityCode
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cbc:PostalZone
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cac:Country/​cbc:Name

Table 28. Box Geometry

row7height6
column5width4

Table 29. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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.

4.  Additional document and party information

4.1. Freight forwarder

Box Label: "Freight forwarder"

Table 30. XPath information

XPath addresses
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:PartyName/​cbc:Name
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cbc:BuildingNumber
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cbc:StreetName
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cbc:CityName
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cbc:CountrySubentity
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cac:CountrySubentityCode
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cbc:PostalZone
/​ra:ReceiptAdvice/​ra:FreightForwarderParty/​cac:Address/​cac:Country/​cbc:Name

Table 31. Box Geometry

row13height4
column1width4

Table 32. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

These fields are used to provide the name and address of the freight forwarder 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.

4.2. Country of origin of goods

Box Label: "Country of origin of goods"

Table 33. Box Geometry

row15height2
column5width2

Table 34. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

4.3. Country of destination

Box Label: "Country of destination"

Table 35. Box Geometry

row15height2
column7width2

Table 36. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

5. Delivery and transport

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

5.1. Mode of transport

Box Label: "Mode of transport"

Table 37. Box Geometry

row17height2
column1width2

Table 38. Box Borders

line-beforetrue
line-after
line-starttrue
line-endtrue

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

5.2. Date of despatch

Box Label: "Date of despatch"

Table 39. Box Geometry

row17height2
column3width2

Table 40. Box Borders

line-beforetrue
line-after
line-starttrue
line-endtrue

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

5.3. Means of transport

Box Label: "Means of transport"

Table 41. Box Geometry

row19height2
column5width2

Table 42. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

5.4. Place of despatch

Box Label: "Place of despatch"

Table 43. Box Geometry

row19height2
column7width2

Table 44. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-end

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

5.5. Vessel/flight No.

Box Label: "Vessel/flight No."

Table 45. Box Geometry

row21height2
column5width2

Table 46. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

5.6. Port/airport of loading

Box Label: "Port/airport of loading"

Table 47. Box Geometry

row21height2
column7width2

Table 48. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-end

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

5.7. Port/airport of discharge

Box Label: "Port/airport of discharge"

Table 49. Box Geometry

row23height2
column5width2

Table 50. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

5.8. Place of delivery

Box Label: "Place of delivery"

Table 51. Box Geometry

row23height2
column7width2

Table 52. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-end

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

5.9. Delivery requirements

Box Label: "Delivery requirements"

Table 53. Box Geometry

row17height8
column5width4

Table 54. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

6. Consignment information

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

6.1. Shipping marks; container number

Box Label: "Shipping marks; container number"

Table 55. Box Geometry

row25height8
column1width2

Table 56. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-end

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

6.2. No. and kind of packages; description of goods

Box Label: "No. and kind of packages; description of goods"

Table 57. Box Geometry

row25height8
column3width4

Table 58. Box Borders

line-beforetrue
line-aftertrue
line-start
line-end

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

6.3. Total gross weight (kg)

Box Label: "Total gross weight (kg)"

Table 59. Box Geometry

row25height4
column7width1

Table 60. Box Borders

line-beforetrue
line-aftertrue
line-start
line-end

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

6.4. Total cube (m3)

Box Label: "Total cube (m3)"

Table 61. Box Geometry

row25height4
column8width1

Table 62. Box Borders

line-beforetrue
line-after
line-start
line-endtrue

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

6.5. Total net weight (kg)

Box Label: "Total net weight (kg)"

Table 63. Box Geometry

row29height4
column7width1

Table 64. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

At this time this field is not being used in the Invoice.

7. Line item information

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

7.1. Item / Packages

Box Label: "Item / Packages"

Table 65. XPath information

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

Table 66. Box Geometry

row33height16
column1width1

Table 67. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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.

7.2. Description

Box Label: "Description"

Table 68. XPath information

XPath address
/​ra:ReceiptAdvice/​cac:ReceiptLine/​cac:OrderedItemIdentification/​cac:PhysicalAttribute/​cbc:Description

Table 69. Box Geometry

row33height16
column2width2

Table 70. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

This provides a free text description of the line item.

7.3. Received Quantity

Box Label: "Received Quantity"

Table 71. Box Geometry

row33height16
column4width1

Table 72. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

7.4. Short quantity /Rejected quantity

Box Label: "Short quantity /Rejected quantity"

Table 73. Box Geometry

row33height16
column5width1

Table 74. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

These fields provide the recipients response to the items received.

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

7.5. Reject reason

Box Label: "Reject reason"

Table 75. XPath information

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

Table 76. Box Geometry

row33height16
column6width2

Table 77. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

7.6. Action

Box Label: "Action"

Table 78. XPath information

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

Table 79. Box Geometry

row33height16
column8width1

Table 80. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

8. Summary information

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

8.1. Notes

Box Label: "Notes"

Table 81. XPath information

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

Table 82. Box Geometry

row49height40
column1width5

Table 83. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-end

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

8.2. Name of signatory

Box Label: "Name of signatory"

Table 84. XPath information

XPath address
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Contact/​cbc:Name

Table 85. Box Geometry

row59height2
column6width3

Table 86. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

8.3. Place and date of issue

Box Label: "Place and date of issue"

Table 87. XPath information

XPath addresses
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cbc:CityName
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cbc:CountrySubentity
/​ra:ReceiptAdvice/​cac:BuyerParty/​cac:Party/​cac:Address/​cac:CountrySubentityCode
/​ra:ReceiptAdvice/​cbc:IssueDate

Table 88. Box Geometry

row61height2
column6width3

Table 89. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

Note that only one of cbc:CountrySubentity and cac:CountrySubentityCode need be used, with preference to cbc:CountrySubentity if it exists.

8.4. Signature

Box Label: "Signature"

Table 90. Box Geometry

row63height2
column6width3

Table 91. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

9.  Continuation page

The continuation page comprises only a copy of the document identification information described in Section 3, “Main document and party information” and room for additional line item entries described in Section 7, “Line item information”. Alternative box representations are described below:

9.1. Item / Packages

Box Label: "Item / Packages"

Table 92. XPath information

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

Table 93. Box Geometry

row13height52
column1width1

Table 94. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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.

9.2. Description

Box Label: "Description"

Table 95. XPath information

XPath address
/​ra:ReceiptAdvice/​cac:ReceiptLine/​cac:OrderedItemIdentification/​cac:PhysicalAttribute/​cbc:Description

Table 96. Box Geometry

row13height52
column2width2

Table 97. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

This provides a free text description of the line item.

9.3. Received Quantity

Box Label: "Received Quantity"

Table 98. Box Geometry

row13height52
column4width1

Table 99. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

9.4. Short quantity /Rejected quantity

Box Label: "Short quantity /Rejected quantity"

Table 100. Box Geometry

row13height52
column5width1

Table 101. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

These fields provide the recipients response to the items received.

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

9.5. Reject reason

Box Label: "Reject reason"

Table 102. XPath information

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

Table 103. Box Geometry

row13height52
column6width2

Table 104. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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

9.6. Action

Box Label: "Action"

Table 105. XPath information

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

Table 106. Box Geometry

row13height52
column8width1

Table 107. Box Borders

line-beforetrue
line-aftertrue
line-starttrue
line-endtrue

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