Skip to content

Commit

Permalink
LLC-12
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Sep 28, 2024
1 parent ce53f4b commit 610972f
Show file tree
Hide file tree
Showing 10 changed files with 59 additions and 36 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[[consignment]]
= Consignment

The Consignment describes how and when the goods/service has been delivered.
The Consignment describes how and when the goods/service has been delivered. It is identified by the ID.
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 @@ -8,7 +8,9 @@ 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.
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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>AP</cbc:ConditionCode>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cac:Status>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>RE</cbc:ConditionCode>
<cbc:StatusReasonCode>1</cbc:StatusReasonCode>
<cbc:StatusReason>Delivery outside requested time window.</cbc:StatusReason>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,11 +158,11 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cac:Status>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
<cbc:StatusReasonCode>1</cbc:StatusReasonCode>
<cbc:StatusReason>Delivery outside requested time window.</cbc:StatusReason>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cac:Status>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
<cbc:StatusReasonCode>2</cbc:StatusReasonCode>
<cbc:StatusReason>One Transport Handling Unit broken.</cbc:StatusReason>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,11 +175,11 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cac:Status>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
<cbc:StatusReasonCode>2</cbc:StatusReasonCode>
<cbc:StatusReason>One Transport Handling Unit missing.</cbc:StatusReason>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@
</cac:SellerSupplierParty>

<cac:Shipment>
<cbc:ID> 1</cbc:ID>
<cac:Consignment>
<cbc:ID> NA</cbc:ID>
<cac:Status>
<cbc:ID schemeID="GSIN"> 73500538500000019 </cbc:ID>
<cac:Consignment>
<cbc:ID schemeID="GINC"> 735005233GS1TRANSPORT000001 </cbc:ID>

<cac:Status>
<cbc:ConditionCode>CA</cbc:ConditionCode>
<cbc:StatusReasonCode>1</cbc:StatusReasonCode>
<cbc:StatusReason>A shortage and a quality problem is found. </cbc:StatusReason>
Expand Down
4 changes: 2 additions & 2 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
28 changes: 22 additions & 6 deletions structure/source/ubl-receipt-advice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -381,26 +381,42 @@
<cbc:Line>3rd Floor, Room 5</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
</cac:Party>
</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 Use the Shipment group only when the Receipt Advice is used as a response to a received shipment.
A shipment is 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 forwarder's 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.?>
<?Rule PEPPOL-T128-R023?>
<?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.?>
</cbc:ID>
<cbc:Information> text
<?Description Information from Goods receiver to Supplier.?>
<?Cardinality 0..1?>
</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. Use a dummy value if the Consignment ID is unknown since this element is mandatory.?>
<?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

0 comments on commit 610972f

Please sign in to comment.