Skip to content

Commit

Permalink
issue 193
Browse files Browse the repository at this point in the history
  • Loading branch information
JorgenErlandsson committed Oct 24, 2023
1 parent 4110419 commit f019c50
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ but also a classification of waste or other classifications.
Besides the classification code you need to provide information about the code in the attributes.
In @listID you need to refer to a valid code in codelist UNCL7143. If there is none that matches, you can use ZZZ.
If you use ZZZ as @listID, you can in @listVersionID provide further information about the origin of the code.
The @name attribute is the key to the classification code.
The @name attribute is the key to the classification code and it must be provided if @listID is set to ZZZ.

.Example - to classify the item according to BEAst's codelist over SBMI items:
[source, xml, indent=0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ include::{snippet-dir}/snippet-30-1.xml[tags=shipment]

In some uses of the Despath Advice, there is a need to report the licence plate number or machine number, i.e. the vehicle ID.

If you need to specify more than one license plate, use a semi-colon (;) between the license plate id:s.
For foreign license plates, set the countrycode in front of the license plate id, with a dash between. See example.
If no countrycode is provided, a domestic license plate is assumed.
If a license plate is unknow, use "UNKNOWN" as the license plate id.
If a license plate is not relevant, use "NA" as the license plate id.

Example:

[source, xml, indent=0]
Expand Down
6 changes: 5 additions & 1 deletion rules/snippets/advanceddespatch/snippet-30-1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@
<cbc:TransportModeCode>3</cbc:TransportModeCode>
<cac:TransportMeans>
<cac:RoadTransport>
<cbc:LicensePlateID>ABC123</cbc:LicensePlateID>
<cbc:LicensePlateID>SE-ABC123;SE-DEF456</cbc:LicensePlateID>
</cac:RoadTransport>
</cac:TransportMeans>
</cac:ShipmentStage>
Expand Down Expand Up @@ -586,9 +586,13 @@

<!-- tag::hazardous[] -->
<cac:HazardousItem>
<cbc:ID>123</cbc:ID>
<cbc:UNDGCode>ADR</cbc:UNDGCode>
<cbc:TechnicalName>Corrosive liquid, n.o.s., 8, UN 1760, II (contains Octanoyl chloride)</cbc:TechnicalName>
<cbc:CategoryName>Acute toxicity</cbc:CategoryName>
<cbc:HazardClassID>2.3</cbc:HazardClassID>
<cbc:NetWeightMeasure unitCode="KGM">123</cbc:NetWeightMeasure>
<cbc:NetVolumeMeasure unitCode="MTQ">12.3</cbc:NetVolumeMeasure>
</cac:HazardousItem>
<!-- end::hazardous[] -->

Expand Down

0 comments on commit f019c50

Please sign in to comment.