Skip to content

Commit

Permalink
Merge pull request #152 from hmrc/DCWL-520
Browse files Browse the repository at this point in the history
DCWL-520 TTM19.0.1 XML Samples
  • Loading branch information
IanWood-HMRC authored Jul 20, 2022
2 parents 593a3af + 76a875b commit 64d8b9d
Show file tree
Hide file tree
Showing 80 changed files with 1,282 additions and 762 deletions.
2 changes: 1 addition & 1 deletion public/api/conf/1.0/docs/schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ Schema definitions for all the API endpoints request and response payloads can b
<a href="/api-documentation/docs/api/download/customs-inventory-linking-exports/1.0/inventory-linking-exports-schemas.zip" class="govuk-link">Schemas and example messages</a>
</p>

<p class="govuk-body-s" style="font-size: 16px;margin-bottom: 15px;">ZIP, 2.0MB last updated 17/06/2022</p>
<p class="govuk-body-s" style="font-size: 16px;margin-bottom: 15px;">ZIP, 2.0MB last updated 20/07/2022</p>

<p class="govuk-body-s" style="font-size: 16px;margin-bottom: 15px;">The ZIP file contains XML files. Open in your preferred file viewer.</p>
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,11 @@
<LineNumeric>1</LineNumeric>
</PreviousDocument>
</GoodsShipment>
<!--DE 5/27: Supervising customs office. The Supervising Office Code for the
HMRC Office overseeing the Customs Warehouse procedure. In this scenario, this
is Nottingham Customs Office.-->
<!--DE 5/27: Supervising Customs Office.
In this scenario, this is Nottingham Customs Office. -->
<SupervisingOffice>
<ID>GBNTG004</ID>
</SupervisingOffice>
</Declaration>
</md:MetaData>

Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,8 @@
<LineNumeric>1</LineNumeric>
</PreviousDocument>
</GoodsShipment>
<!--DE 5/27: Supervising customs office. The Supervising Office Code for the
HMRC Office overseeing the Customs Warehouse procedure. In this scenario, this
is Nottingham Customs Office.-->
<!--DE 5/27: Supervising customs office.
In this scenario, this is Nottingham Customs Office. -->
<SupervisingOffice>
<ID>GBNTG004</ID>
</SupervisingOffice>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,28 @@
<IssueDateTime>
<p1:DateTimeString formatCode="304">20210923080000+01</p1:DateTimeString>
</IssueDateTime>
<!--DE 1/1: EX to represent an Export declaration.-->
<!--DE 1/2: A to represent a standard frontier declaration.-->
<!--DE 1/1: Declaration Type.
EX to represent an Export declaration. -->
<!--DE 1/2: Additional Declaration Type.
A to represent a standard frontier declaration. -->
<TypeCode>EXA</TypeCode>
<!--DE 1/9: Total number of goods items on the declaration.-->
<!--DE 1/9: Total Number of Items. -->
<GoodsItemQuantity>1</GoodsItemQuantity>
<!--DE 5/26: Customs Office of Presentation.
Note 1: This information is only required when centralised clearance/SASP is being used, and
may be removed in the next version of this sample.
Note 1: This information is only required when centralised clearance/SASP is being used, and may be removed in the next version of this sample.
Note 2: 'DeclarationOfficeID' and 'Declaration/PresentationOffice/ID' are two different fields. DeclarationOfficeID is unassigned from any UCC/Data Element number so this can apply to any Data Element number: in this case 5/26. -->
<DeclarationOfficeID>GBLBA001</DeclarationOfficeID>
<!--DE 4/11: Total invoice amount. -->
<!--DE 4/11: Total Amount Invoiced. -->
<InvoiceAmount currencyID="JPY">15000</InvoiceAmount>
<!--DE 6/18: Total packages. -->
<!--DE 6/18: Total Packages. -->
<TotalPackageQuantity>50</TotalPackageQuantity>
<!--DE 3/39: Holder of the authorisation identification number.
OPO indicates authorisation for the use of outward processing procedure. -->
<AuthorisationHolder>
<ID>GB896458895023</ID>
<CategoryCode>OPO</CategoryCode>
</AuthorisationHolder>
<!--DE 3/39: Holder of the authorisation identification number.
<!--DE 3/39: Holder of the Authorisation Identification Number.
An authorisation type code of CSE indicates Customs Supervised Exports authorisation issued by the competent authorities of the Member States. -->
<AuthorisationHolder>
<ID>GB896458895023</ID>
Expand All @@ -89,11 +90,12 @@
<PostcodeID>SE1 7PB</PostcodeID>
</Address>
</Carrier>
<!-- DE 4/2: Transport charges method of payment. C indicating payment by cheque. -->
<!--DE 4/2: Transport charges method of payment.
C indicating payment by cheque. -->
<Freight>
<PaymentMethodCode>C</PaymentMethodCode>
</Freight>
<!-- DE 5/18: Countries of routing codes.
<!--DE 5/18: Countries of Routing Codes.
GBJP Routing from GB to JP.
This is Security and Safety Data. -->
<Itinerary>
Expand All @@ -105,20 +107,22 @@
<RoutingCountryCode>JP</RoutingCountryCode>
</Itinerary>
</Consignment>
<!--DE 3/18: EORI number of the Declarant. -->
<!--DE 3/18: Declarant Identification Number.
EORI number of the Declarant. -->
<Declarant>
<ID>GB896458895023</ID>
</Declarant>
<!--DE 5/12 Customs office of exit. -->
<!--DE 5/12: Customs Office of Exit. -->
<ExitOffice>
<ID>GB000051</ID>
</ExitOffice>
<!--DE 3/2: EORI number of the Exporter, the same as 3/18. -->
<!--DE 3/2: Exporter Identification Number.
EORI number of the Exporter, the same as 3/18. -->
<Exporter>
<ID>GB896458895023</ID>
</Exporter>
<GoodsShipment>
<!-- DE 3/9: Consignee name and address details. -->
<!--DE 3/9: Consignee Name and Address. -->
<Consignee>
<Name>Tokyo Export</Name>
<Address>
Expand All @@ -129,16 +133,19 @@
</Address>
</Consignee>
<Consignment>
<!--DE 7/2: 1 to indicate that the goods are transported in containers. -->
<!--DE 7/2: Container.
1 to indicate that the goods are transported in containers. -->
<ContainerCode>1</ContainerCode>
<!--DE 7/7: ID of the means of transport. -->
<!--DE 7/5: '3' indicating lorry from CSE location to the ship/boat. -->
<!--DE 7/7: Identity of the means of transport at departure. -->
<!--DE 7/5: Inland Mode of Transport.
'3' indicating lorry from CSE location to the ship/boat. -->
<DepartureTransportMeans>
<ID>123</ID>
<IdentificationTypeCode>10</IdentificationTypeCode>
<ModeCode>3</ModeCode>
</DepartureTransportMeans>
<!--DE 5/23: ID to give a unique position of the location.
<!--DE 5/23: Location of Goods.
ID to give a unique position of the location.
FXTFXTFXT Indicating Felixstowe. -->
<GoodsLocation>
<Name>FXTFXTFXT</Name>
Expand All @@ -153,19 +160,19 @@
Sequence number and ID of the container. -->
<SequenceNumeric>1</SequenceNumeric>
<ID>Container123</ID>
<!--DE 7/18: Seal sequence number 1, then seal number. -->
<!--DE 7/18: Seal number. -->
<Seal>
<SequenceNumeric>1</SequenceNumeric>
<ID>12345</ID>
</Seal>
</TransportEquipment>
</Consignment>
<!--DE 5/8: Country code of the destination country.
<!--DE 5/8: Country of Destination Code.
JP Indicating Indicating Japan. -->
<Destination>
<CountryCode>JP</CountryCode>
</Destination>
<!--DE 5/14: Country of Destination Code.
<!--DE 5/14: Country of Dispatch/Export Code.
In this case GB. -->
<ExportCountry>
<ID>GB</ID>
Expand Down Expand Up @@ -196,31 +203,31 @@
<ID>GBCSE896458895023E</ID>
<TypeCode>019</TypeCode>
</AdditionalDocument>
<!--DE 2/2: Additional information.
<!--DE 2/2: Additional Information.
00400 Indicating Self representation i.e. the declarant and the exporter are the same party. -->
<AdditionalInformation>
<StatementCode>00400</StatementCode>
<StatementDescription>EXPORTER</StatementDescription>
<StatementTypeCode>ACB</StatementTypeCode>
</AdditionalInformation>
<Commodity>
<!--DE 6/8: Description of the goods. -->
<!--DE 6/8: Description of Goods. -->
<Description>Straw envelopes for bottles</Description>
<!--DE 6/14: Commodity code - combined nomenclature code. -->
<!--DE 6/14: Commodity Code - Combined Nomenclature Code. -->
<Classification>
<ID>46021910</ID>
<IdentificationTypeCode>TSP</IdentificationTypeCode>
</Classification>
<GoodsMeasure>
<!--DE 6/5: Gross Mass.
Mass of the goods in kilograms including packaging. -->
Weight of the goods in kilograms including packaging. -->
<GrossMassMeasure unitCode="KGM">700</GrossMassMeasure>
<!--DE 6/1: Net Mass.
Mass of the goods in kilograms without any packaging. -->
Weight of the goods in kilograms without any packaging. -->
<NetNetWeightMeasure unitCode="KGM">500</NetNetWeightMeasure>
</GoodsMeasure>
</Commodity>
<!--DE 1/10: Procedure Code.
<!--DE 1/10: Procedure.
Requested procedure of 2100 indicating temporary export under outward processing where the goods have not been subject to any previous procedure. -->
<GovernmentProcedure>
<CurrentCode>21</CurrentCode>
Expand All @@ -244,7 +251,7 @@
<TypeCode>BX</TypeCode>
</Packaging>
</GovernmentAgencyGoodsItem>
<!--DE 2/1: Simplified Declaration/ Previous Documents .
<!--DE 2/1: Simplified Declaration/ Previous Documents.
Previous document to show the DUCR assigned to the consignment. -->
<PreviousDocument>
<CategoryCode>Z</CategoryCode>
Expand All @@ -254,7 +261,6 @@
</PreviousDocument>
</GoodsShipment>
<!--DE 5/27: Supervising Customs Office.
The Supervising Office Code for the HMRC Office overseeing the Customs Warehouse procedure.
ID GBBEL004 is Belfast, Dorchester House (NIRU). -->
<SupervisingOffice>
<ID>GBBEL004</ID>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,9 @@
<MethodCode>1</MethodCode>
</CustomsValuation>
<GovernmentProcedure>
<!--DE 1/10: Requested Procedure of 40 indicating Release to free circulation where goods are released from a customs warehouse.-->
<!--DE 1/10: Requested Procedure of 40 indicating there is no previous procedure. -->
<CurrentCode>40</CurrentCode>
<!--DE 1/10: Previous Procedure of 00 indicating there is no previous procedure-->
<!--DE 1/10: Previous Procedure of 00 indicating there is no previous procedure. -->
<PreviousCode>00</PreviousCode>
</GovernmentProcedure>
<!--DE 1/11: Additional Procedure.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@
<MethodCode>1</MethodCode>
</CustomsValuation>
<GovernmentProcedure>
<!--DE 1/10: Requested Procedure of 40 indicating Release to free circulation where goods are released from a customs warehouse. -->
<!--DE 1/10: Requested Procedure of 40 indicating there is no previous procedure. -->
<CurrentCode>40</CurrentCode>
<!--DE 1/10: Previous Procedure of 00 indicating placing of goods under the customs warehousing procedure. -->
<!--DE 1/10: Previous Procedure of 00 indicating there is no previous procedure. -->
<PreviousCode>00</PreviousCode>
</GovernmentProcedure>
<!--DE 1/11: C28 to indicate simultaneous release for free circulation and home use of goods imported. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@
<IdentificationTypeCode>10</IdentificationTypeCode>
</ArrivalTransportMeans>
<GoodsLocation>
<!--DE 5/23: Location of Goods - Identification of location.
The location code for the Customs Warehouse.
<!--DE 5/23: Location of Goods - Identification of location.
Note that this declaration uses a frontier declaration at Wallasea Island, Baltic Wharf (NILP) for test purposes only: for business use a pre-lodged declaration must be submitted because Baltic Wharf is listed as an 'Other listed location'. -->
<Name>WLALONBTW</Name>
<!--DE 5/23: Location of Goods - Type of location.
Expand Down Expand Up @@ -278,8 +277,7 @@
<!--DE 1/10: Requested Procedure of 44 indicating Release to free circulation with duty
relief granted under the End Use Special Procedure.-->
<CurrentCode>44</CurrentCode>
<!--DE 1/10: Previous Procedure of 00 indicating there is no Previous Procedure a
customs warehouse.-->
<!--DE 1/10: Previous Procedure of 00 indicating there is no Previous Procedure. -->
<PreviousCode>00</PreviousCode>
</GovernmentProcedure>
<!--DE 1/11: Goods imported under the shipwork end-use procedure.-->
Expand Down Expand Up @@ -353,9 +351,9 @@
<SecurityDetailsCode>3</SecurityDetailsCode>
</ObligationGuarantee>
<SupervisingOffice>
<!--DE 5/27: Supervising customs office. The Supervising Office Code for the HMRC Office
overseeing the Customs Warehouse procedure.
In this scenario, this is Belfast, Dorchester House (NIRU).-->
<!--DE 5/27: Supervising customs office.
The Supervising Office Code for the HMRC Office.
In this scenario, this is Belfast, Dorchester House (NIRU). -->
<ID>GBBEL004</ID>
</SupervisingOffice>
</Declaration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,7 @@
linked location.
Note that this declaration uses a frontier declaration at Wallasea Island, Baltic Wharf (NILP) for test purposes only: for business use a pre-lodged declaration must be submitted because Baltic Wharf is listed as an 'Other listed location'. -->
<Name>WLALONBTW</Name>
<!--DE 5/23: Location of Goods - Type of location.
Type of Location - B is used to identify inland locations such as
customs warehouses.-->
<!--DE 5/23: Location of Goods - Type of location.-->
<TypeCode>A</TypeCode>
<Address>
<!--DE 5/23: Location of Goods - Qualifier of the identification.
Expand Down Expand Up @@ -235,8 +233,7 @@
<!--DE 1/10: Requested Procedure of 44 indicating Release to free circulation with
duty relief granted under the End Use Special Procedure. -->
<CurrentCode>44</CurrentCode>
<!--DE 1/10: Previous Procedure of 00 indicating there is no Previous Procedure a
customs warehouse.-->
<!--DE 1/10: Previous Procedure of 00 indicating there is no Previous Procedure. -->
<PreviousCode>00</PreviousCode>
</GovernmentProcedure>
<!--DE 1/11: 000 to indicate no additional procedure.-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@
</ArrivalTransportMeans>
<GoodsLocation>
<!--DE 5/23: Location of Goods - Identification of location.
The location code for the Customs Warehouse.
Note that this declaration uses a frontier declaration at Wallasea Island, Baltic Wharf (NILP) for test purposes only: for business use a pre-lodged declaration must be submitted because Baltic Wharf is listed as an 'Other listed location'. -->
<Name>WLALONBTW</Name>
<!--DE 5/23: Location of Goods - Type of location.
B is used to identify inland locations such as customs warehouses. -->
<!--DE 5/23: Location of Goods - Type of location. -->
<TypeCode>A</TypeCode>
<Address>
<!--DE 5/23: Location of Goods - Qualifier of the identification.
Expand Down Expand Up @@ -210,8 +208,7 @@
<!--DE 1/10: Procedure.
Requested Procedure of 44 indicating Release to free circulation with duty relief granted under the End Use Special Procedure. -->
<CurrentCode>44</CurrentCode>
<!--DE 1/10: Procedure.
Previous Procedure of 00 indicating there is no Previous Procedure a customs warehouse. -->
<!--DE 1/10: Procedure. -->
<PreviousCode>00</PreviousCode>
</GovernmentProcedure>
<!--DE 1/11: Additional Procedure Code.
Expand Down
Loading

0 comments on commit 64d8b9d

Please sign in to comment.