Skip to content

Commit 6729170

Browse files
committed
Regression test
1 parent d10a005 commit 6729170

18 files changed

+1548
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ApplicationResponse xmlns="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2"
3+
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
4+
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
5+
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:application_response:1</cbc:CustomizationID>
6+
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:advanced_transport_execution_plan:1</cbc:ProfileID>
7+
<cbc:ProfileExecutionID>35a75b8c-83ed-11f0-8de9-0242ac120002</cbc:ProfileExecutionID>
8+
<cbc:ID>3f108cde-83ed-11f0-8de9-0242ac120002</cbc:ID>
9+
<cbc:IssueDate>2025-06-01</cbc:IssueDate>
10+
<cbc:IssueTime>12:00:00</cbc:IssueTime>
11+
<cac:SenderParty>
12+
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>85955619</cbc:ID>
15+
</cac:PartyIdentification>
16+
<cac:PartyLegalEntity>
17+
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
18+
</cac:PartyLegalEntity>
19+
<cac:Contact>
20+
<cbc:Telephone>004710233714</cbc:Telephone>
21+
<cbc:ElectronicMail>msreceiver@tplogistics.no</cbc:ElectronicMail>
22+
</cac:Contact>
23+
</cac:SenderParty>
24+
<cac:ReceiverParty>
25+
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
26+
<cac:PartyIdentification>
27+
<cbc:ID>41955619</cbc:ID>
28+
</cac:PartyIdentification>
29+
<cac:PartyLegalEntity>
30+
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
31+
</cac:PartyLegalEntity>
32+
</cac:ReceiverParty>
33+
<cac:DocumentResponse>
34+
<cac:Response>
35+
<cbc:ResponseCode>AP</cbc:ResponseCode>
36+
</cac:Response>
37+
<cac:DocumentReference>
38+
<cbc:ID>565</cbc:ID>
39+
<cbc:IssueDate>2025-05-09</cbc:IssueDate>
40+
<cbc:DocumentType>TransportExecutionPlanRequest</cbc:DocumentType>
41+
</cac:DocumentReference>
42+
</cac:DocumentResponse>
43+
</ApplicationResponse>
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<ApplicationResponse xmlns="urn:oasis:names:specification:ubl:schema:xsd:ApplicationResponse-2"
3+
xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
4+
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2">
5+
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:application_response:1</cbc:CustomizationID>
6+
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:advanced_transport_execution_plan:1</cbc:ProfileID>
7+
<cbc:ProfileExecutionID>35a75b8c-83ed-11f0-8de9-0242ac120002</cbc:ProfileExecutionID>
8+
<cbc:ID>3f108cde-83ed-11f0-8de9-0242ac120002</cbc:ID>
9+
<cbc:IssueDate>2025-06-01</cbc:IssueDate>
10+
<cbc:IssueTime>12:00:00</cbc:IssueTime>
11+
<cac:SenderParty>
12+
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>85955619</cbc:ID>
15+
</cac:PartyIdentification>
16+
<cac:PartyLegalEntity>
17+
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
18+
</cac:PartyLegalEntity>
19+
<cac:Contact>
20+
<cbc:Telephone>004710233714</cbc:Telephone>
21+
<cbc:ElectronicMail>msreceiver@tplogistics.no</cbc:ElectronicMail>
22+
</cac:Contact>
23+
</cac:SenderParty>
24+
<cac:ReceiverParty>
25+
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
26+
<cac:PartyIdentification>
27+
<cbc:ID>41955619</cbc:ID>
28+
</cac:PartyIdentification>
29+
<cac:PartyLegalEntity>
30+
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
31+
</cac:PartyLegalEntity>
32+
</cac:ReceiverParty>
33+
<cac:DocumentResponse>
34+
<cac:Response>
35+
<cbc:ResponseCode>RE</cbc:ResponseCode>
36+
<cbc:Description>Here is an explanation of why it is rejected</cbc:Description>
37+
</cac:Response>
38+
<cac:DocumentReference>
39+
<cbc:ID>565</cbc:ID>
40+
<cbc:IssueDate>2025-05-09</cbc:IssueDate>
41+
<cbc:DocumentType>TransportExecutionPlanRequest</cbc:DocumentType>
42+
</cac:DocumentReference>
43+
</cac:DocumentResponse>
44+
</ApplicationResponse>
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?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">
3+
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan_request:1</cbc:CustomizationID>
4+
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:advanced_transport_execution_plan:1</cbc:ProfileID>
5+
<cbc:ProfileExecutionID>b95a9804-79cf-11f0-8de9-0242ac120002</cbc:ProfileExecutionID>
6+
<cbc:ID>e2663b86-79cf-11f0-8de9-0242ac120002</cbc:ID>
7+
<cbc:IssueDate>2025-05-09</cbc:IssueDate>
8+
<cbc:IssueTime>09:49:00+02:00</cbc:IssueTime>
9+
<cbc:Note>Some notes from the requester</cbc:Note>
10+
<cbc:TransportUserRemarks>Some terms for approval</cbc:TransportUserRemarks>
11+
<cac:TransportUserParty>
12+
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>41955619</cbc:ID>
15+
</cac:PartyIdentification>
16+
<cac:PartyLegalEntity>
17+
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
18+
</cac:PartyLegalEntity>
19+
<cac:Contact>
20+
<cbc:Telephone>0158 1233714</cbc:Telephone>
21+
<cbc:ElectronicMail>transport-user@transportuser.dk</cbc:ElectronicMail>
22+
</cac:Contact>
23+
</cac:TransportUserParty>
24+
<cac:TransportServiceProviderParty>
25+
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
26+
<cac:PartyIdentification>
27+
<cbc:ID>85955619</cbc:ID>
28+
</cac:PartyIdentification>
29+
<cac:PartyLegalEntity>
30+
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
31+
</cac:PartyLegalEntity>
32+
</cac:TransportServiceProviderParty>
33+
<cac:PayeeParty>
34+
<cac:PartyIdentification>
35+
<cbc:ID>123456789</cbc:ID>
36+
</cac:PartyIdentification>
37+
<cac:PartyLegalEntity>
38+
<cbc:RegistrationName>Varemottaker A/S</cbc:RegistrationName>
39+
</cac:PartyLegalEntity>
40+
</cac:PayeeParty>
41+
<cac:AdditionalDocumentReference>
42+
<cbc:ID>inv-123456</cbc:ID>
43+
<cbc:DocumentType>SenderInvoiceReference</cbc:DocumentType>
44+
<cac:Attachment>
45+
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="ArrivalNotice.pdf">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>
46+
<cac:ExternalReference>
47+
<cbc:URI>https://documents.semantic.biz?documentID=d1b34d9d-8020-49a2-a43c-75f5518d77e6</cbc:URI>
48+
</cac:ExternalReference>
49+
</cac:Attachment>
50+
</cac:AdditionalDocumentReference>
51+
<cac:MainTransportationService>
52+
<cbc:TransportServiceCode>19</cbc:TransportServiceCode>
53+
<cbc:TransportationServiceDescription>ArrivalNotice</cbc:TransportationServiceDescription>
54+
</cac:MainTransportationService>
55+
<cac:Consignment>
56+
<cbc:ID>1</cbc:ID>
57+
<cbc:DeclaredCustomsValueAmount currencyID="NOK">1000</cbc:DeclaredCustomsValueAmount>
58+
<cbc:GrossWeightMeasure unitCode="KGM">103</cbc:GrossWeightMeasure>
59+
<cac:ConsigneeParty>
60+
<cac:PartyName>
61+
<cbc:Name>Importer AS</cbc:Name>
62+
</cac:PartyName>
63+
</cac:ConsigneeParty>
64+
<cac:ConsignorParty>
65+
<cac:PartyName>
66+
<cbc:Name>Exporter AS</cbc:Name>
67+
</cac:PartyName>
68+
</cac:ConsignorParty>
69+
<cac:MainCarriageShipmentStage>
70+
<cbc:TransportModeCode>3</cbc:TransportModeCode>
71+
<cac:TransportMeans>
72+
<cbc:RegistrationNationalityID>NO</cbc:RegistrationNationalityID>
73+
<cac:RoadTransport>
74+
<cbc:LicensePlateID>AB12345</cbc:LicensePlateID>
75+
</cac:RoadTransport>
76+
</cac:TransportMeans>
77+
</cac:MainCarriageShipmentStage>
78+
<cac:TransportHandlingUnit>
79+
<cbc:ID>1</cbc:ID>
80+
<cbc:TransportHandlingUnitTypeCode>ZZ</cbc:TransportHandlingUnitTypeCode>
81+
<cac:TransportEquipment>
82+
<cbc:ID>1234567</cbc:ID>
83+
<cbc:TransportEquipmentTypeCode>CN</cbc:TransportEquipmentTypeCode>
84+
</cac:TransportEquipment>
85+
<cac:GoodsItem>
86+
<cbc:ID>10</cbc:ID>
87+
<cbc:SequenceNumberID>234</cbc:SequenceNumberID>
88+
<cbc:Description>Torsk sl u/h fersk fulliset 20kg iso 2-4 kg</cbc:Description>
89+
<cbc:Quantity unitCode="EA">6</cbc:Quantity>
90+
</cac:GoodsItem>
91+
</cac:TransportHandlingUnit>
92+
</cac:Consignment>
93+
</ubl:TransportExecutionPlanRequest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?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">
3+
<cbc:CustomizationID>urn:fdc:peppol.eu:logistics:trns:transport_execution_plan_request:1</cbc:CustomizationID>
4+
<cbc:ProfileID>urn:fdc:peppol.eu:logistics:bis:advanced_transport_execution_plan:1</cbc:ProfileID>
5+
<cbc:ProfileExecutionID>b95a9804-79cf-11f0-8de9-0242ac120002</cbc:ProfileExecutionID>
6+
<cbc:ID>e2663b86-79cf-11f0-8de9-0242ac120002</cbc:ID>
7+
<cbc:IssueDate>2025-05-09</cbc:IssueDate>
8+
<cbc:IssueTime>09:49:00+02:00</cbc:IssueTime>
9+
<cbc:Note>Some notes from the requester</cbc:Note>
10+
<cbc:TransportUserRemarks>Some terms for approval</cbc:TransportUserRemarks>
11+
<cac:TransportUserParty>
12+
<cbc:EndpointID schemeID="0198">41955619</cbc:EndpointID>
13+
<cac:PartyIdentification>
14+
<cbc:ID>41955619</cbc:ID>
15+
</cac:PartyIdentification>
16+
<cac:PartyLegalEntity>
17+
<cbc:RegistrationName>Transport UserParty A/S</cbc:RegistrationName>
18+
</cac:PartyLegalEntity>
19+
<cac:Contact>
20+
<cbc:Telephone>0158 1233714</cbc:Telephone>
21+
<cbc:ElectronicMail>transport-user@transportuser.dk</cbc:ElectronicMail>
22+
</cac:Contact>
23+
</cac:TransportUserParty>
24+
<cac:TransportServiceProviderParty>
25+
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
26+
<cac:PartyIdentification>
27+
<cbc:ID>85955619</cbc:ID>
28+
</cac:PartyIdentification>
29+
<cac:PartyLegalEntity>
30+
<cbc:RegistrationName>Transport provider A/S</cbc:RegistrationName>
31+
</cac:PartyLegalEntity>
32+
</cac:TransportServiceProviderParty>
33+
<cac:PayeeParty>
34+
<cac:PartyIdentification>
35+
<cbc:ID>123456789</cbc:ID>
36+
</cac:PartyIdentification>
37+
<cac:PartyLegalEntity>
38+
<cbc:RegistrationName>Varemottaker A/S</cbc:RegistrationName>
39+
</cac:PartyLegalEntity>
40+
</cac:PayeeParty>
41+
<cac:AdditionalDocumentReference>
42+
<cbc:ID>inv-123456</cbc:ID>
43+
<cbc:DocumentType>SenderInvoiceReference</cbc:DocumentType>
44+
<cac:Attachment>
45+
<cbc:EmbeddedDocumentBinaryObject mimeCode="application/pdf" filename="DigitalMODirectHouse.pdf">aHR0cHM6Ly90ZXN0LXZlZmEuZGlmaS5uby9wZXBwb2xiaXMvcG9hY2MvYmlsbGluZy8zLjAvYmlzLw==</cbc:EmbeddedDocumentBinaryObject>
46+
</cac:Attachment>
47+
</cac:AdditionalDocumentReference>
48+
<cac:MainTransportationService>
49+
<cbc:TransportServiceCode>19</cbc:TransportServiceCode>
50+
<cbc:TransportationServiceDescription>DigitalMODirectHouse</cbc:TransportationServiceDescription>
51+
</cac:MainTransportationService>
52+
<cac:Consignment>
53+
<cbc:ID>1</cbc:ID>
54+
<cbc:DeclaredCustomsValueAmount currencyID="NOK">1000</cbc:DeclaredCustomsValueAmount>
55+
<cbc:GrossWeightMeasure unitCode="KGM">103</cbc:GrossWeightMeasure>
56+
<cac:CustomsDeclaration>
57+
<cbc:ID>3456234567</cbc:ID>
58+
<cbc:FunctionCode>UGE_EXPORT</cbc:FunctionCode>
59+
<cac:AdditionalDocumentReference>
60+
<cbc:ID>mnr2342322</cbc:ID>
61+
<cbc:DocumentType>N270</cbc:DocumentType>
62+
</cac:AdditionalDocumentReference>
63+
</cac:CustomsDeclaration>
64+
<cac:ConsigneeParty>
65+
<cac:PartyName>
66+
<cbc:Name>Importer AS</cbc:Name>
67+
</cac:PartyName>
68+
</cac:ConsigneeParty>
69+
<cac:ConsignorParty>
70+
<cac:PartyName>
71+
<cbc:Name>Exporter AS</cbc:Name>
72+
</cac:PartyName>
73+
</cac:ConsignorParty>
74+
<cac:CarrierParty>
75+
<cac:PartyLegalEntity>
76+
<cbc:RegistrationName>Carrier party A/S</cbc:RegistrationName>
77+
<cbc:CompanyID schemeID="0198">122448855</cbc:CompanyID>
78+
</cac:PartyLegalEntity>
79+
</cac:CarrierParty>
80+
<cac:TransportEvent>
81+
<cac:Period>
82+
<cbc:StartDate>2025-05-29</cbc:StartDate>
83+
<cbc:StartTime>10:00:00+01:00</cbc:StartTime>
84+
</cac:Period>
85+
</cac:TransportEvent>
86+
<cac:MainCarriageShipmentStage>
87+
<cbc:TransportModeCode>3</cbc:TransportModeCode>
88+
<cac:TransportMeans>
89+
<cbc:RegistrationNationalityID>NO</cbc:RegistrationNationalityID>
90+
<cac:RoadTransport>
91+
<cbc:LicensePlateID>AB12345</cbc:LicensePlateID>
92+
</cac:RoadTransport>
93+
</cac:TransportMeans>
94+
</cac:MainCarriageShipmentStage>
95+
<cac:TransportHandlingUnit>
96+
<cbc:ID>1</cbc:ID>
97+
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
98+
<cac:TransportEquipment>
99+
<cbc:ID>234567</cbc:ID>
100+
<cbc:TransportEquipmentTypeCode>CN</cbc:TransportEquipmentTypeCode>
101+
</cac:TransportEquipment>
102+
<cac:GoodsItem>
103+
<cbc:Description>Torsk sl u/h fersk fulliset 20kg iso 2-4 kg</cbc:Description>
104+
<cbc:Quantity unitCode="EA">6</cbc:Quantity>
105+
</cac:GoodsItem>
106+
<cac:ShipmentDocumentReference>
107+
<cbc:ID>243452326</cbc:ID>
108+
<cbc:DocumentType>N741</cbc:DocumentType>
109+
</cac:ShipmentDocumentReference>
110+
</cac:TransportHandlingUnit>
111+
<cac:OfficeOfEntryLocation>
112+
<cbc:ID>NO351001</cbc:ID>
113+
</cac:OfficeOfEntryLocation>
114+
</cac:Consignment>
115+
</ubl:TransportExecutionPlanRequest>

0 commit comments

Comments
 (0)