Skip to content

Commit

Permalink
Fix Usecase Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Oct 11, 2024
1 parent d9f8d87 commit ac2cd07
Show file tree
Hide file tree
Showing 19 changed files with 182 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<cbc:IssueDate>2021-09-29</cbc:IssueDate>
<cbc:IssueTime>09:49:00+02:00</cbc:IssueTime>
<cbc:DocumentStatusCode>9</cbc:DocumentStatusCode>

<cac:TransportUserParty>
<cbc:EndpointID schemeID="0007">5560125220</cbc:EndpointID>
<cac:PartyIdentification>
Expand All @@ -30,6 +31,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportUserParty>

<cac:TransportServiceProviderParty>
<cbc:EndpointID schemeID="0184">33572190</cbc:EndpointID>
<cac:PartyIdentification>
Expand All @@ -56,6 +58,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportServiceProviderParty>

<cac:PayeeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -72,20 +75,24 @@
<cbc:RegistrationName>Skanska Sverige AB</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:PayeeParty>

<cac:MainTransportationService>
<cbc:TransportServiceCode>3</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Transport from door to door</cbc:TransportationServiceDescription>
</cac:MainTransportationService>

<cac:AdditionalTransportationService>
<cbc:TransportServiceCode>12</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Insurance</cbc:TransportationServiceDescription>
</cac:AdditionalTransportationService>

<cac:Consignment>
<cbc:ID schemeID="GINC">735005233GS1TRANSPORT000001</cbc:ID>
<cbc:GrossWeightMeasure unitCode="KGM">2460</cbc:GrossWeightMeasure>
<cbc:GrossVolumeMeasure unitCode="MTQ">3.10</cbc:GrossVolumeMeasure>
<cbc:HazardousRiskIndicator>false</cbc:HazardousRiskIndicator>
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">2</cbc:TotalTransportHandlingUnitQuantity>

<cac:RequestedPickupTransportEvent>
<cbc:IdentificationID>21412312412</cbc:IdentificationID>
<cac:Location>
Expand All @@ -106,6 +113,7 @@
<cbc:EndTime>13:00:00+02:00</cbc:EndTime>
</cac:Period>
</cac:RequestedPickupTransportEvent>

<cac:RequestedDeliveryTransportEvent>
<cbc:IdentificationID>625435485674654132</cbc:IdentificationID>
<cac:Location>
Expand All @@ -130,6 +138,7 @@
<cbc:EndTime>11:00:00+01:00</cbc:EndTime>
</cac:Period>
</cac:RequestedDeliveryTransportEvent>

<cac:ConsigneeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -151,6 +160,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsigneeParty>

<cac:ConsignorParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560125220</cbc:ID>
Expand All @@ -172,21 +182,25 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsignorParty>

<cac:OriginalDepartureCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:OriginalDepartureCountry>
<cac:FinalDestinationCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:FinalDestinationCountry>

<cac:DeliveryTerms>
<cbc:ID>DAP</cbc:ID>
</cac:DeliveryTerms>
<cac:PaymentTerms>
<cbc:Note>Please send invoice via Peppol to payee party</cbc:Note>
</cac:PaymentTerms>
</cac:PaymentTerms>

<cac:MainCarriageShipmentStage>
<cbc:TransportModeCode>3</cbc:TransportModeCode>
</cac:MainCarriageShipmentStage>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000016</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand All @@ -203,7 +217,8 @@
<cbc:ID>1</cbc:ID>
<cbc:Description>Stolpförankring galvaniserad</cbc:Description>
</cac:GoodsItem>
</cac:TransportHandlingUnit>
</cac:TransportHandlingUnit>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000023</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<cbc:IssueTime>09:49:00+02:00</cbc:IssueTime>
<cbc:DocumentStatusCode>9</cbc:DocumentStatusCode>
<cbc:TransportUserRemarks>Some remarks</cbc:TransportUserRemarks>

<cac:TransportUserParty>
<cbc:EndpointID schemeID="0007">5560339086</cbc:EndpointID>
<cac:PartyIdentification>
Expand All @@ -31,6 +32,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportUserParty>

<cac:TransportServiceProviderParty>
<cbc:EndpointID schemeID="0198">85955619</cbc:EndpointID>
<cac:PartyIdentification>
Expand Down Expand Up @@ -58,6 +60,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportServiceProviderParty>

<cac:PayeeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -74,6 +77,7 @@
<cbc:RegistrationName>Skanska Sverige AB</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:PayeeParty>

<cac:AdditionalDocumentReference>
<cbc:ID>7648779</cbc:ID>
<cbc:DocumentTypeCode>380</cbc:DocumentTypeCode>
Expand All @@ -85,20 +89,24 @@
</cac:ExternalReference>
</cac:Attachment>
</cac:AdditionalDocumentReference>

<cac:MainTransportationService>
<cbc:TransportServiceCode>4</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Transport from door to door</cbc:TransportationServiceDescription>
</cac:MainTransportationService>

<cac:AdditionalTransportationService>
<cbc:TransportServiceCode>12</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Insurance</cbc:TransportationServiceDescription>
</cac:AdditionalTransportationService>

<cac:Consignment>
<cbc:ID schemeID="GINC">735005233GS1TRANSPORT000001</cbc:ID>
<cbc:GrossWeightMeasure unitCode="KGM">2460</cbc:GrossWeightMeasure>
<cbc:GrossVolumeMeasure unitCode="MTQ">3.10</cbc:GrossVolumeMeasure>
<cbc:HazardousRiskIndicator>false</cbc:HazardousRiskIndicator>
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">2</cbc:TotalTransportHandlingUnitQuantity>

<cac:RequestedPickupTransportEvent>
<cbc:IdentificationID>21412312412</cbc:IdentificationID>
<cac:Location>
Expand All @@ -119,6 +127,7 @@
<cbc:EndTime>13:00:00+02:00</cbc:EndTime>
</cac:Period>
</cac:RequestedPickupTransportEvent>

<cac:RequestedDeliveryTransportEvent>
<cbc:IdentificationID>625435485674654132</cbc:IdentificationID>
<cac:Location>
Expand All @@ -142,7 +151,8 @@
<cbc:EndDate>2021-09-29</cbc:EndDate>
<cbc:EndTime>11:00:00+01:00</cbc:EndTime>
</cac:Period>
</cac:RequestedDeliveryTransportEvent>
</cac:RequestedDeliveryTransportEvent>

<cac:ConsigneeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -164,6 +174,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsigneeParty>

<cac:ConsignorParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560125220</cbc:ID>
Expand All @@ -185,12 +196,14 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsignorParty>

<cac:OriginalDepartureCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:OriginalDepartureCountry>
<cac:FinalDestinationCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:FinalDestinationCountry>

<cac:DeliveryTerms>
<cbc:ID>EXW</cbc:ID>
<cac:DeliveryLocation>
Expand All @@ -199,11 +212,13 @@
</cac:DeliveryTerms>
<cac:PaymentTerms>
<cbc:Note>Please send invoice via Peppol to payee party</cbc:Note>
</cac:PaymentTerms>
</cac:PaymentTerms>

<cac:MainCarriageShipmentStage>
<cbc:TransportModeCode>3</cbc:TransportModeCode>
<cbc:HazardousRiskIndicator>false</cbc:HazardousRiskIndicator>
</cac:MainCarriageShipmentStage>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000016</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand All @@ -220,7 +235,8 @@
<cbc:ID>1</cbc:ID>
<cbc:Description>Stolpförankring galvaniserad</cbc:Description>
</cac:GoodsItem>
</cac:TransportHandlingUnit>
</cac:TransportHandlingUnit>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000023</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<cbc:IssueDate>2021-09-29</cbc:IssueDate>
<cbc:IssueTime>09:49:00+02:00</cbc:IssueTime>
<cbc:DocumentStatusCode>9</cbc:DocumentStatusCode>

<cac:TransportUserParty>
<cbc:EndpointID schemeID="0007">2321000180</cbc:EndpointID>
<cac:PartyIdentification>
Expand All @@ -30,6 +31,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportUserParty>

<cac:TransportServiceProviderParty>
<cbc:EndpointID schemeID="0088">5790001963576</cbc:EndpointID>
<cac:PartyName>
Expand All @@ -53,6 +55,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:TransportServiceProviderParty>

<cac:PayeeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -69,20 +72,24 @@
<cbc:RegistrationName>Skanska Sverige AB</cbc:RegistrationName>
</cac:PartyLegalEntity>
</cac:PayeeParty>

<cac:MainTransportationService>
<cbc:TransportServiceCode>3</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Transport from door to door</cbc:TransportationServiceDescription>
</cac:MainTransportationService>

<cac:AdditionalTransportationService>
<cbc:TransportServiceCode>12</cbc:TransportServiceCode>
<cbc:TransportationServiceDescription>Insurance</cbc:TransportationServiceDescription>
</cac:AdditionalTransportationService>

<cac:Consignment>
<cbc:ID schemeID="GINC">735005233GS1TRANSPORT000001</cbc:ID>
<cbc:GrossWeightMeasure unitCode="KGM">2460</cbc:GrossWeightMeasure>
<cbc:GrossVolumeMeasure unitCode="MTQ">3.10</cbc:GrossVolumeMeasure>
<cbc:HazardousRiskIndicator>false</cbc:HazardousRiskIndicator>
<cbc:TotalTransportHandlingUnitQuantity unitCode="EA">2</cbc:TotalTransportHandlingUnitQuantity>

<cac:RequestedPickupTransportEvent>
<cbc:IdentificationID>21412312412</cbc:IdentificationID>
<cac:Location>
Expand All @@ -103,6 +110,7 @@
<cbc:EndTime>13:00:00+02:00</cbc:EndTime>
</cac:Period>
</cac:RequestedPickupTransportEvent>

<cac:RequestedDeliveryTransportEvent>
<cbc:IdentificationID>625435485674654132</cbc:IdentificationID>
<cac:Location>
Expand All @@ -127,6 +135,7 @@
<cbc:EndTime>11:00:00+01:00</cbc:EndTime>
</cac:Period>
</cac:RequestedDeliveryTransportEvent>

<cac:ConsigneeParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560339086</cbc:ID>
Expand All @@ -148,6 +157,7 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsigneeParty>

<cac:ConsignorParty>
<cac:PartyIdentification>
<cbc:ID schemeID="0007">5560125220</cbc:ID>
Expand All @@ -169,21 +179,25 @@
<cbc:ElectronicMail>[email protected]</cbc:ElectronicMail>
</cac:Contact>
</cac:ConsignorParty>

<cac:OriginalDepartureCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:OriginalDepartureCountry>
<cac:FinalDestinationCountry>
<cbc:IdentificationCode>SE</cbc:IdentificationCode>
</cac:FinalDestinationCountry>

<cac:DeliveryTerms>
<cbc:ID>DAP</cbc:ID>
</cac:DeliveryTerms>
<cac:PaymentTerms>
<cbc:Note>Please send invoice via Peppol to payee party</cbc:Note>
</cac:PaymentTerms>
</cac:PaymentTerms>

<cac:MainCarriageShipmentStage>
<cbc:TransportModeCode>3</cbc:TransportModeCode>
</cac:MainCarriageShipmentStage>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000016</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand All @@ -201,6 +215,7 @@
<cbc:Description>Stolpförankring galvaniserad</cbc:Description>
</cac:GoodsItem>
</cac:TransportHandlingUnit>

<cac:TransportHandlingUnit>
<cbc:ID schemeID="SSCC">173500538500000016</cbc:ID>
<cbc:TransportHandlingUnitTypeCode>AG</cbc:TransportHandlingUnitTypeCode>
Expand Down
Loading

0 comments on commit ac2cd07

Please sign in to comment.