Skip to content

Commit c5dab74

Browse files
committed
Changed Example files
1 parent 16b62d4 commit c5dab74

File tree

8 files changed

+84
-298
lines changed

8 files changed

+84
-298
lines changed

guides/profiles/74-AdvancedTransportExecutionPlan/description/parties.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ The sender is the sender of the document. This is often the same as Transport Us
4343
Example:
4444
[source, xml, indent=0]
4545
----
46-
include::{snippet-dir}/snippet-2.xml[tags=sender-party]
46+
include::{snippet-dir}/snippet-1.xml[tags=sender-party]
4747
----
4848
[[Receiver-party]]
4949
== Receiver (ReceiverParty)
5050
The Receiver is the sender of the document. This is often the Transport Service Provider but can also be a party who receives it on behalf of the Transport Service Provider.
5151
Example:
5252
[source, xml, indent=0]
5353
----
54-
include::{snippet-dir}/snippet-2.xml[tags=receiver-party]
54+
include::{snippet-dir}/snippet-1.xml[tags=receiver-party]
5555
----
5656

5757
[[transport-user-party]]

rules/examples/Advanced Transport Execution Plan use cases/ApplicationResponseAccept.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<cbc:IssueTime>12:00:00</cbc:IssueTime>
1111
<cac:SenderParty>
1212
<cbc:EndpointID schemeID="0088">5798000012349</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>5798000012349</cbc:ID>
15+
</cac:PartyIdentification>
1316
<cac:PartyLegalEntity>
1417
<cbc:RegistrationName>Buyer organization</cbc:RegistrationName>
1518
</cac:PartyLegalEntity>
@@ -21,6 +24,9 @@
2124
</cac:SenderParty>
2225
<cac:ReceiverParty>
2326
<cbc:EndpointID schemeID="0088">7330001000000</cbc:EndpointID>
27+
<cac:PartyIdentification>
28+
<cbc:ID>7330001000000</cbc:ID>
29+
</cac:PartyIdentification>
2430
<cac:PartyLegalEntity>
2531
<cbc:RegistrationName>Seller company</cbc:RegistrationName>
2632
</cac:PartyLegalEntity>

rules/examples/Advanced Transport Execution Plan use cases/TransportExecutionPlanRequest_ArrivalNotice.xml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
<cbc:TransportUserRemarks>Some terms for approval</cbc:TransportUserRemarks>
1111
<cac:TransportUserParty>
1212
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>41955619</cbc:ID>
15+
</cac:PartyIdentification>
1316
<cac:PartyLegalEntity>
1417
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
1518
</cac:PartyLegalEntity>
@@ -20,11 +23,17 @@
2023
</cac:TransportUserParty>
2124
<cac:TransportServiceProviderParty>
2225
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
26+
<cac:PartyIdentification>
27+
<cbc:ID>85955619</cbc:ID>
28+
</cac:PartyIdentification>
2329
<cac:PartyLegalEntity>
2430
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
2531
</cac:PartyLegalEntity>
2632
</cac:TransportServiceProviderParty>
2733
<cac:PayeeParty>
34+
<cac:PartyIdentification>
35+
<cbc:ID>12346790</cbc:ID>
36+
</cac:PartyIdentification>
2837
<cac:PartyLegalEntity>
2938
<cbc:RegistrationName>Varemottaker A/S</cbc:RegistrationName>
3039
</cac:PartyLegalEntity>
@@ -47,7 +56,19 @@
4756
<cbc:ID>1</cbc:ID>
4857
<cbc:DeclaredCustomsValueAmount currencyID="NOK">1000</cbc:DeclaredCustomsValueAmount>
4958
<cbc:GrossWeightMeasure unitCode="KGM">103</cbc:GrossWeightMeasure>
50-
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">6</cbc:TotalTransportHandlingUnitQuantity>
59+
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">1</cbc:TotalTransportHandlingUnitQuantity>
60+
<cac:RequestedPickupTransportEvent>
61+
<cbc:IdentificationID>21412312412</cbc:IdentificationID>
62+
<cac:Location>
63+
<cbc:Name>Beijer Byggmaterial port 2</cbc:Name>
64+
</cac:Location>
65+
<cac:Period>
66+
<cbc:StartDate>2025-05-25</cbc:StartDate>
67+
<cbc:StartTime>12:45:00+02:00</cbc:StartTime>
68+
<cbc:EndDate>2025-05-25</cbc:EndDate>
69+
<cbc:EndTime>13:00:00+02:00</cbc:EndTime>
70+
</cac:Period>
71+
</cac:RequestedPickupTransportEvent>
5172
<cac:ConsigneeParty>
5273
<cac:PartyName>
5374
<cbc:Name>Importer AS</cbc:Name>

rules/examples/Advanced Transport Execution Plan use cases/TransportExecutionPlanRequest_DigitalMOHouse.xml

Lines changed: 0 additions & 113 deletions
This file was deleted.

rules/examples/Advanced Transport Execution Plan use cases/TransportExecutionPlan_ConfirmationArrivalNotice.xml

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
<cbc:Note>Some notes from the requester</cbc:Note>
1212
<cac:SenderParty>
1313
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
14+
<cac:PartyIdentification>
15+
<cbc:ID>85955619</cbc:ID>
16+
</cac:PartyIdentification>
1417
<cac:PartyLegalEntity>
1518
<cbc:RegistrationName>Transport Sender A/S</cbc:RegistrationName>
1619
</cac:PartyLegalEntity>
@@ -21,16 +24,25 @@
2124
</cac:SenderParty>
2225
<cac:ReceiverParty>
2326
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
27+
<cac:PartyIdentification>
28+
<cbc:ID>41955619</cbc:ID>
29+
</cac:PartyIdentification>
2430
<cac:PartyLegalEntity>
2531
<cbc:RegistrationName>Transport Receiver A/S</cbc:RegistrationName>
2632
</cac:PartyLegalEntity>
2733
</cac:ReceiverParty>
2834
<cac:TransportUserParty>
35+
<cac:PartyIdentification>
36+
<cbc:ID>41955619</cbc:ID>
37+
</cac:PartyIdentification>
2938
<cac:PartyLegalEntity>
3039
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
3140
</cac:PartyLegalEntity>
3241
</cac:TransportUserParty>
3342
<cac:TransportServiceProviderParty>
43+
<cac:PartyIdentification>
44+
<cbc:ID>85955619</cbc:ID>
45+
</cac:PartyIdentification>
3446
<cac:PartyLegalEntity>
3547
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
3648
</cac:PartyLegalEntity>
@@ -54,7 +66,46 @@
5466
<cbc:DeclaredCustomsValueAmount currencyID="NOK">1000</cbc:DeclaredCustomsValueAmount>
5567
<cbc:GrossWeightMeasure unitCode="KGM">103</cbc:GrossWeightMeasure>
5668
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">6</cbc:TotalTransportHandlingUnitQuantity>
57-
<cac:TransportHandlingUnit>
69+
<cac:PlannedPickupTransportEvent>
70+
<cbc:IdentificationID>21412312412</cbc:IdentificationID>
71+
<cac:Location>
72+
<cbc:Name>Beijer Byggmaterial port 2</cbc:Name>
73+
</cac:Location>
74+
<cac:Period>
75+
<cbc:StartDate>2021-09-25</cbc:StartDate>
76+
<cbc:StartTime>12:45:00+02:00</cbc:StartTime>
77+
<cbc:EndDate>2021-09-25</cbc:EndDate>
78+
<cbc:EndTime>13:00:00+02:00</cbc:EndTime>
79+
</cac:Period>
80+
</cac:PlannedPickupTransportEvent>
81+
82+
<cac:PlannedDeliveryTransportEvent>
83+
<cbc:IdentificationID>625435485674654132</cbc:IdentificationID>
84+
<cac:Location>
85+
<cbc:ID schemeID="0088">5790000435951</cbc:ID>
86+
<cbc:Name>Skanska Sverige AB</cbc:Name>
87+
</cac:Location>
88+
<cac:Period>
89+
<cbc:StartDate>2021-09-29</cbc:StartDate>
90+
<cbc:StartTime>10:00:00+01:00</cbc:StartTime>
91+
<cbc:EndDate>2021-09-29</cbc:EndDate>
92+
<cbc:EndTime>11:00:00+01:00</cbc:EndTime>
93+
</cac:Period>
94+
</cac:PlannedDeliveryTransportEvent>
95+
<cac:ConsigneeParty>
96+
<cac:PartyName>
97+
<cbc:Name>Importer AS</cbc:Name>
98+
</cac:PartyName>
99+
</cac:ConsigneeParty>
100+
<cac:ConsignorParty>
101+
<cac:PartyName>
102+
<cbc:Name>Exporter AS</cbc:Name>
103+
</cac:PartyName>
104+
</cac:ConsignorParty>
105+
<cac:MainCarriageShipmentStage>
106+
<cbc:TransportModeCode>3</cbc:TransportModeCode>
107+
</cac:MainCarriageShipmentStage>
108+
<cac:TransportHandlingUnit>
58109
<cbc:ID>11111222222222</cbc:ID>
59110
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
60111
<cac:TransportEquipment>

rules/snippets/transport-execution-plan-request/snippet-1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ubl:TransportExecutionPlanRequest xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2 https://docs.oasis-open.org/ubl/os-UBL-2.4/xsd/maindoc/UBL-TransportExecutionPlanRequest-2.4.xsd">
2+
<ubl:TransportExecutionPlanRequest xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
33
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan_request:1</cbc:CustomizationID>
44
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:transport_execution_plan_w_request:1</cbc:ProfileID>
55
<!-- tag::document-id[] -->

rules/snippets/transport-execution-plan-request/snippet-2.xml

Lines changed: 1 addition & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<ubl:TransportExecutionPlanRequest xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2 https://docs.oasis-open.org/ubl/os-UBL-2.4/xsd/maindoc/UBL-TransportExecutionPlanRequest-2.4.xsd">
2+
<ubl:TransportExecutionPlanRequest xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:TransportExecutionPlanRequest-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
33
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan_request:1</cbc:CustomizationID>
44
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:transport_execution_plan_w_request:1</cbc:ProfileID>
55
<cbc:ProfileExecutionID>1234</cbc:ProfileExecutionID>
@@ -9,58 +9,6 @@
99
<cbc:IssueDate>2021-09-29</cbc:IssueDate>
1010
<cbc:IssueTime>09:49:00+01:00</cbc:IssueTime>
1111
<cbc:DocumentStatusCode>9</cbc:DocumentStatusCode>
12-
<!-- tag::sender-party[] -->
13-
<cac:SenderParty>
14-
<cbc:EndpointID schemeID="0198">13246149</cbc:EndpointID>
15-
<cac:PartyIdentification>
16-
<cbc:ID schemeAgencyName="GS1" schemeName="GLN">4058673827641</cbc:ID>
17-
</cac:PartyIdentification>
18-
<cac:PartyName>
19-
<cbc:Name>NECOSS</cbc:Name>
20-
</cac:PartyName>
21-
<cac:PartyLegalEntity>
22-
<cbc:RegistrationName>Consortial</cbc:RegistrationName>
23-
<cbc:CompanyID schemeID="0089">SC234567</cbc:CompanyID>
24-
<cac:RegistrationAddress>
25-
<cbc:CityName>Farthing</cbc:CityName>
26-
<cac:Country>
27-
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
28-
</cac:Country>
29-
</cac:RegistrationAddress>
30-
</cac:PartyLegalEntity>
31-
<cac:Contact>
32-
<cbc:Name>SomeName</cbc:Name>
33-
<cbc:Telephone>+49450557000</cbc:Telephone>
34-
<cbc:ElectronicMail>SomeName@necoss.de</cbc:ElectronicMail>
35-
</cac:Contact>
36-
</cac:SenderParty>
37-
<!-- end::sender-party[] -->
38-
<!-- tag::receiver-party[] -->
39-
<cac:ReceiverParty>
40-
<cbc:EndpointID schemeID="0198">13246149</cbc:EndpointID>
41-
<cac:PartyIdentification>
42-
<cbc:ID schemeAgencyName="GS1" schemeName="GLN">4058673827000</cbc:ID>
43-
</cac:PartyIdentification>
44-
<cac:PartyName>
45-
<cbc:Name>Consignor</cbc:Name>
46-
</cac:PartyName>
47-
<cac:PartyLegalEntity>
48-
<cbc:RegistrationName>Consortial</cbc:RegistrationName>
49-
<cbc:CompanyID schemeID="0089">SC234567</cbc:CompanyID>
50-
<cac:RegistrationAddress>
51-
<cbc:CityName>Farthing</cbc:CityName>
52-
<cac:Country>
53-
<cbc:IdentificationCode>GB</cbc:IdentificationCode>
54-
</cac:Country>
55-
</cac:RegistrationAddress>
56-
</cac:PartyLegalEntity>
57-
<cac:Contact>
58-
<cbc:Name>SomeName</cbc:Name>
59-
<cbc:Telephone>+8687878763</cbc:Telephone>
60-
<cbc:ElectronicMail>SomeName@consignor.cn</cbc:ElectronicMail>
61-
</cac:Contact>
62-
</cac:ReceiverParty>
63-
<!-- end::receiver-party[] -->
6412
<!-- tag::transport-user-party[] -->
6513
<cac:TransportUserParty>
6614
<cbc:EndpointID schemeID="0198">13246149</cbc:EndpointID>

0 commit comments

Comments
 (0)