Skip to content

Commit

Permalink
LLC-3, LLC-12
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Oct 9, 2024
1 parent fbd1d22 commit f166ac4
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ indicated by the attribute @schemeID. If it is not, the attribute can be omitted
identifies a shipment and is assigned by the seller of goods. The goods shipper collects one or more logistic units for transportation to a recipient.
A GSIN is assigned to this group of logistic units to identify them as a shipment.

In some uses of the Despath Advice, there is no unique identifier assigned to the shipment.
In some uses of the Despath Advice, there is no unique identifier assigned to the shipment.
However, the UBL syntax requires the Shipment ID.
Consequently, to be able to use elements such as GrossWeightMeasure or CarrierParty, the Shipment/ID must be filled in.
To cater for scenarios where no ID exist a dummy value must be applied.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ image:images/PackingStructure.png[image,width=662,height=428]

Serial shipping container code (SSCC) issued by GS1 should be used to identify the transport handling unit. If the ID has the format of an SSCC, the
attribute @schemeID should be included to indicate it.
Note that the same physical handling unit may contain items from different despatch lines.
Note that the same physical handling unit may contain items from different despatch lines.
Besides the ID you also need to provide a Type-code of the THU from the code-list.

.Example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The table below gives the definitions of key concepts of the fulfillment process

[cols="2,4",options="header",]
|====
|Term |Definition
|Term |Definition
|*Shipment* |A contractual arrangement whereby an identifiable collection of goods items is to be transported from one party (usually a Supplier) to another
party (usually a Customer). Can be identified by a GS1 GSIN (Global Shipment Identification Number) or an identity in any other format.
|*Consignment* |The transportation of an identifiable collection of goods items from one party (the Despatch Party) to another party (the Consignee) via one
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
= Consignment

The Consignment describes how and when the goods/service has been delivered.
If the ID is a GS1 GINC (Global Identification Number for Consignment), it should be indicated by the attribute @schemeID. If it is not,
the attribute can be omitted. The Global Identification Number for Consignment (GINC) is a number that identifies a Consignment, which is a logical grouping of goods (one or more
logistics units) transferred to a freight forwarder to be transported for a specific journey. The consignment number must be allocated by a freight
forwarder (or a carrier acting as a freight forwarder) or a consignor, but only if prior agreement of the freight forwarder is given.

The Reciver can accept or reject everything in the Consignment with a Condition code, a Reason Code and a text describing why it is rejected when rejected.
Valid Condition codes are:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

A list of Transport Handling Units can be provided in the Receipt Advice. If one is included, all must be.
It is not allowed to show only some of the Transport Handling Units.
If the ID has the format of an SSCC, the attribute @schemeID should be included to indicate it.

If any damage is found on the Transport Handling Unit at arrival, it can be reported here. If a photo (or other document) is required for documentation, they can be sent at header level in AdditionalDocumentReference.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ For the concepts in the Advanced Despatch Advice, please read the BIS Advanvced
|====
|Term |Definition
|*Shipment* |A contractual arrangement whereby an identifiable collection of goods items is to be transported from one party (usually a Supplier) to another party (usually a Customer).
Can be identified by a GS1 GSIN (Global Shipment Identification Number) or an identity in any other format.
|*Consignment* |The transportation of an identifiable collection of goods items from one party (the Despatch Party) to another party (the Consignee) via one or more modes of transport.
|*Transport Handling Unit* |A description of individual handling units in which the line items are packed.
Can be identified by a GS1 GINC (Global Identification Number for Consignments) or an identity in any other format.
|*Transport Handling Unit* |A description of individual handling units in which the line items are packed. The Transport Handling Unit is identified by a GS1 SSCC.
|*Master Data* |Master data is data which is generally static.  Data such as locations or product item can be considered master data.
The process of data alignment is the exchange, “up-front”, between trading partners of location and/or item data.  In a GS1 context, master data is referenced by GS1 identification keys; the GLN – the global location number for locations, and the GTIN – global trade item number for item products.
|*Logistics Label* |A logistics’ label has been applied to each of the pallets where the SSCCs are used and rendered as clear text numbers, address details and GS1 128 barcode.  NB where multiple SSCCs are applied to logistics’ units on one pallet, there needs to be a GS1 logistics label applied and exterior of the pallet.  The subordinate SSCCs on the individual logistics units should be packaged in such a way that they are not visible to the naked eye (in this scenario). For a full description of how to apply SSCCs and the GS1 Logistic label  see link; http://www.gs1.eu/?page=&tudasbazis=60&lister=26
Expand Down
6 changes: 3 additions & 3 deletions rules/snippets/receipt-advice/snippet-2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,12 +184,12 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1 </cbc:ID>
<cbc:ID schemeID="GSIN">73500538500000019</cbc:ID>
<cbc:Information> text </cbc:Information>

<!-- tag::consignment[] -->
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cbc:ID schemeID="GINC">735005233GS1TRANSPORT000001</cbc:ID>
<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
<cbc:StatusReasonCode>4</cbc:StatusReasonCode>
Expand Down Expand Up @@ -228,7 +228,7 @@

<!-- tag::transporthandlingunit[] -->
<cac:TransportHandlingUnit>
<cbc:ID>11111222222222</cbc:ID>
<cbc:ID schemeID="SSCC">173500538500000016</cbc:ID>
<cbc:TransportHandlingUnitTypeCode> AG </cbc:TransportHandlingUnitTypeCode>
<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
Expand Down
29 changes: 22 additions & 7 deletions structure/source/ubl-receipt-advice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -388,9 +388,14 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<?Description Use the Shipment group only when the Receipt Advice is used as a response to a received shipment. ?>
<cbc:ID> 1
<?Description Identifies a shipment. Freight forwarder's reference number.?>
<?Description A contractual arrangement whereby an identifiable collection of goods items is to be transported from one party (usually a Supplier) to another party (usually a Customer)?>
<cbc:ID schemeID="GSIN">73500538500000019
<?Description Identifies a shipment. Freight forwarders reference number. If this ID is in the GSIN format, it should be indicated in the attribute @schemeID. Use NA as a dummy value if the ID is unknown.?>
<?schemeID-usage optional?>
<?schemeID-CodeList ShipmentIDType?>
<?schemeID-Description Used to indicate that the ID is in the GSIN format. The Global Shipment Identification Number (GSIN) is a number that
identifies a shipment and is assigned by the seller of goods. The goods shipper collects one or more logistic units for transportation to
a recipient. A GSIN is assigned to this group of logistic units to identify them as a shipment.?>
<?Rule PEPPOL-T128-R023?>
</cbc:ID>
<cbc:Information> text
Expand All @@ -399,8 +404,15 @@
</cbc:Information>

<cac:Consignment>
<cbc:ID> NA
<?Description Use a dummy value if the Consignment ID is unknown since this element is mandatory.?>
<?Description An identifiable collection of goods items sent from one party (the Despatch Party) to another party (the Consignee) via one or more modes of transport.?>
<cbc:ID schemeID="GINC">735005233GS1TRANSPORT000001
<?Description If this ID is in the GINC format, it should be indicated in the attribute @schemeID. Use NA as a dummy value if the ID is unknown.?>
<?schemeID-usage optional?>
<?schemeID-CodeList ConsignmentIDType?>
<?schemeID-Description Used to indicate that the ID is in the GINC (Global Identification Number for Consignment) format. This number
identifies a consignment, which is a logical grouping of goods (one or more logistics units) transferred to a freight forwarder to be
transported for a specific journey. The consignment number must be allocated by a freight forwarder (or a carrier acting as a freight
forwarder) or a consignor, but only if prior agreement of the freight forwarder is given. ?>
</cbc:ID>
<cac:Status>
<?Name Status?>
Expand Down Expand Up @@ -500,10 +512,13 @@
<?Description Used to specify how the goods is marked and if there are any damages.
If this group is used, all Transport Handling Units in the Advanced Despatch Advice must be included, not just some. ?>
<?Cardinality 0..n?>
<cbc:ID>11111222222222
<cbc:ID schemeID="SSCC">173500538500000016
<?Name Identifier transport handling unit?>
<?Description The SSCC identification code of this Transport Handling Unit.?>
<?Description The Transport Handling Unit is identified with a Serial Shipping Container Code (SSCC). The GS1 identification key used
to identify logistics units. The key comprises an extension digit, GS1 Company Prefix, serial reference and check digit. ?>
<?Cardinality 1..1?>
<?schemeID-usage Optional?>
<?schemeID-CodeList TransportHandlingUnitIDType?>
</cbc:ID>
<cbc:TransportHandlingUnitTypeCode> AG
<?Name Transport Handling Unit type code?>
Expand Down

0 comments on commit f166ac4

Please sign in to comment.