NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 l International Trade New Computerised Transit System (NCTS) Phase 4 Technical Interface Specification (TIS) Appendices Version 3.9 Page 1 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 DOCUMENT SUMMARY This document is the second part of the Technical Interface Specification (TIS) for Direct Trader Input (DTI) to NCTS. It shows the detailed structure of the IE messages, their conditions and rules, and the codes they use. It also shows the structure of the reference numbers and the EDIFACT messages, and a sample EDI message. KEY PERSONNEL Role Name Author Paul Martin Approved by John Evans REFERENCES No Document Title 1. Functional Transit System Specification – NCTS CORR 2009-final Approval Signature / Date 15/07/2015 15/07/2015 Document Reference FTSS-CORR-2009 final 2. Design Document for National Transit Applications – V17.00 CUST-DEV2-SC09-DDNTA v17.00.doc 2. DDNA_KEL_Known Error List v0.26 DDNA_KEL_Known Error List v0.26.mdb 4 Guidelines For Printing of TAD & List of Items http://ec.europa.eu/taxation_customs/resources/ documents/customs/procedural_aspects/transit/ common_community/transit_manual_consolidati on_en.pdf 5. Draft of Accompanying Documents DGXXI/1471/97-r1 6. NCTS – Transit Manual Supplement V3.3 - August 2011 TAXUD/801/2004 Page 2 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 CHANGE HISTORY Version Date No. 0.1 07/06/2000 Details of Changes included in Update Author(s) Initial draft issue. M Thomas 0.2 05/02/2001 Amendments after review by Linden Currie Fiona Byatt 0.3 28/03/2001 Amendments resulting from release of DDNTA v4.00 Fiona Byatt 0.4 08/06/2001 Amendments following review by the Customs Outfield Incorporation of NCTS External Messages Overview document Amendments resulting from release of KEL v0.30 15/6/01 Amendments following review by CSPs and software suppliers Fiona Byatt 0.5 07/05/2002 Amendments following review by James Douglas-Hamilton Amendments resulting from release of MCC v3.1.8.0 Fiona Byatt 0.6 17/05/2002 Fiona Byatt 0.7 27/05/2002 Removal of messages that are not being delivered with Phase 3.1 of the MCC i.e. IE04, IE05, IE13, IE19, IE21, IE23, IE100, and those that are not being used by the UK i.e. IE54, IE62 Amendments following review by Business Change 1.0 30/5/02 Issued to the Trade Fiona Byatt Fiona Byatt Page 3 of 198 NCTS 09/06/2015 1.1 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 7/2/2003 Inclusion of Authentication Information/Identifier in IE29 message and in printing of TAD Fiona Byatt Amendments resulting from release of MCC v 3.2.3.0 Amendments following review by Trade/Software suppliers The following have changed: Appendix A introduction codelist 71 and rule TR0301 in the IE15, IE29 and IE51 GUARANTEE data groups rule TR0103 in the IE15, IE29, IE43, IE44 and IE51 PRODUCED DOCUMENTS/CERTIFICATES data groups Sensitive Goods Code data item in the IE15, IE29, IE43, IE44 and IE51 SGI CODES data group is n..2 not an2 Binding Itinerary data item in the IE15 HEADER data group is required Gross Mass data item in the IE29 GOODS ITEM data group is optional AUTHENTICATION data group at the end of IE29 occurrence of RESULTS OF CONTROL data group on IE44 Type of Declaration data item in the IE51 HEADER data group (this should also appear in IE51 in the main document, as per IE29) condition C099, rules R115, R211and R520 removed rules R010, R011, R027, R95 technical rules TR0019 and TR0103 added technical rule TR0095 technical rules TR0101 and TR0106 removed List 17 Kind of Packages List 60 Message Types List 63 Country Codes (Common Transit outside Community) List 71 Country Codes (Guarantee Management – non EC) sections F1, G2, G5 and G6 CUSDEC, CUSRES and FUNACK UNB segments CUSDEC FTX segment for Authentication CUSDEC FTX segment for Packaging Information removed Appendix H The TAD documents reflect the addition of the Authentication Information. Page 4 of 198 NCTS 09/06/2015 1.2 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 16/5/2003 Inclusion of IE907 CONTRL error message Fiona Byatt Amendments following review by Trade/Software suppliers The following have changed: 1.3 19/9/03 The maximum number of goods items, per declaration, is 200 SEALS ID (IE44) changed from R to D The optional field ‘Seals Identity Lng’ should not be used The optional field ‘Type of means of transport crossing border’ should not be used Condition C005 Guarantee reference number and access code must be entered in upper case Suggested structure of Local Reference Number Section G Example messages Inclusion of data item acronyms, for ‘Error pointer’ field of IE08/16/58 functional error messages, as Code List 100 Fiona Byatt Amendments resulting from changes to EDCS Amendments following review by Trade/Software suppliers The following have changed: section 1.4 removal of superfluous elements from MESSAGE group section A.2.1 condition C135 rules R155, R165 and R240 sections G2 and G3 appendix H Page 5 of 198 NCTS 09/06/2015 1.4 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 27/02/04 Amendments in line with MCC version P31 1.0.0 and ECN version P31 1.0.0 Inclusion of IE917 FUNACK error message The trader who presents a movement at destination can be from a country outside the Contracting Parties, therefore Destination Trader Country Code will be validated against code list 8 (full list of countries) addition of condition C236 against Principal’s TIN The maximum number of goods items, per declaration, is 999 Technical Rule TR0095 is applicable to GOODS ITEM.Item Number rather than HEADER.Total Number of Items HEADER.Total Gross Mass must be larger than zero Representative Capacity data item is an..35 rather than a..35 The optional field ‘Type of means of transport crossing border’ can be used The optional field ‘Seals Identity Lng’ can be used Removal of code list 42 (values already held in code list 41) Addition of character set ISO 8859-4 Fiona Byatt Page 6 of 198 NCTS 09/06/2015 2.0 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71, 100 Fiona Byatt Value of ‘A3’, in codelist 47, changed from ‘Authorised Consignor’ to ‘Simplified Procedure’ Logical message structures moved from appendices to main document Branching diagrams and Edifact message structures moved from main document to appendices Amendments in line with MCC version P32 4.0.0 and ECN version P32 4.0.0 Addition of character sets ISO 8859-3 and ISO 8859-5 Incident flag (IE007) now conditional and subject to TR9030 New declarations after the 01/01/2005 are not accepted if they contain PLL Addition of IE055 (Guarantee not valid) message Ability to input liability amount, on IE15, for foreign guarantees Change to condition C236 Change to rule R035 GOODS ITEM.PACKAGES group on IE044 changed to ‘dependent’ Number pf loading lists (IE029, IE043) subject to TR0096 Country of dispatch/export code (IE029, IE043) subject to TR0097 Additional code list 52 for guarantee management Additional code lists 65, 66, 80 and 85 for additional character sets Change to ‘Test indicator’ data item in UNB segment and now subject to TR9085 Removal of Authentication data group from IE029. Authentication information is not printed on the TAD any more. 2.1 19/04/05 Addition of footnote in section 3.1 Fiona Byatt 2.2 20/05/05 Clarification of format of liability amount Fiona Byatt Page 7 of 198 NCTS 09/06/2015 2.3 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 20/06/05 Clarification of processing following sending of IE55 (Guarantee not valid) message, in section 3.1 Fiona Byatt Following a legislation amendment, from 01/07/05 new ‘Kind of Packages’ codes, three new ‘Guarantee Type’ codes and one new ‘Declaration Type’ code will be introduced. In order to allow for this, the format of ‘Guarantee Type’ has changed from n1 to an1. The format of ‘Kind of Packages’ in appendix H.7 has been changed from a2 to an..3, in line with sections 3 and 4 and appendix B. New values have been added to code lists 31 and 51 in appendix F. 2.4 20/10/06 New message IE928 (Positive Acknowledgement) sent in response to an IE015 submitted remotely under normal procedure (Sections 3.1, 3.2, 3.4, Appendix B.23, codelist 60) Conditions C005 and C006 replaced by technical rules TR9090 and TR9095 on ‘Identity of means of transport at Fiona Byatt departure’ and ‘Nationality of means of transport at departure’ on IE015, IE029, IE043 and IE051 (Sections 3.3, 3.7, 3.9, 4.5, Appendix B.9, B.13, B.14, B.17, C, E) 2.5 05/12/06 Package codes “NF” and “NG”, as well as “NE”, are “unpacked” package types in condition C060 (Appendix C) The field “Seals Number” on the IE015 is permitted to contain the value “0” when there is a waiver for the use of seals. The text “waiver” is entered in the ‘Seals Identity’ field (rule R165 in Appendix D) When an IE015 contains ‘CAL’ details in the ‘Special Mentions’ field, the actual ‘CAL’ details will be included in the IE029 message so as to inform the trader of the actual guarantee amount in comparison to the original guarantee amount that had been declared (Section 1.3) Updated rule R330 (Appendix D) Updated technical rule TR0013 (Appendix E) New technical rule TR1200 applied to ‘Goods Item. Item Number’ (Section 3.3, 3.7, 3.9, 4.5, Appendix B.9, B.13, B.14, B.17, E) Updated conditions C086, C125 and C236 (Appendix C) Addition of Bulgaria and Romania to code lists 63 and 71 (Appendix F) In anticipation of Bulgaria and Romania becoming members of the EU on 01/01/07, these countries are removed from code lists 63 and 71 and Romania is added to code list 65 (Appendix F) Fiona Byatt Page 8 of 198 NCTS 09/06/2015 2.6 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 18/06/2008 Implementation of the NCTS-TIR for NCTS Fiona Byatt o Guarantee type for TIR changed from ‘b’ to ‘B’ o Addition of conditions C900, C901, C902, C903 and rules R900, R901, R902, R903 to messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, C, D) o Data group GOODS ITEM.PRODUCED DOCUMENTS/CERTIFICATES changed from Optional to Dependant in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (DOC(111))) o Data item GOODS ITEM.PRODUCED DOCUMENTS/CERTIFICATES.Document type changed from Optional to Dependant and from an..3 to an..4 in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (DOC(111))) o Data item GOODS ITEM.PRODUCED DOCUMENTS/CERTIFICATES.Document reference changed from Optional to Dependant and from an..20 to an..35 in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (DOC(111))) o Inclusion of guarantee type ‘B’ in condition C085 (Appendix C) Implementation of the connection of Andorra (AD) and San Marino (SM) to NCTS o Addition of rules R904, R905, R906, R907, R908, R909, R910 to messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, D) o Changes to conditions C001, C002, C030 in messages IE015, IE029, IE051 Amendments in line with MCC version P32 6.2.0 and ECN version P32 6.2.0 Rule R035 replaced by technical rule TR0035 (Sections 3.3, 3.7, 3.9, 4.5, Appendices B9, B13, B14, B17, C, E) Amendments to codelists 9, 10, 39, 51, 63 Removal of redundant technical rules TR0096 and TR0097 3.0 18/12/2008 Amendments in line with MCC P4 version 7.0.0 and ECN P4 version 7.0.0 Fiona Byatt Safety and security information on the following messages: IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17) Data items HEADER. Specific Circumstance Indicator HEADER.Transport charges/ Method of Payment HEADER.Commercial Reference Number HEADER.Security HEADER.Conveyance reference number Page 9 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 HEADER.Place of unloading, code HEADER. Place of unloading LNG (TRANSIT)CUSTOMS OFFICE.Arrival Time GOODS ITEM. Transport charges/ Method of Payment GOODS ITEM.Commercial Reference Number GOODS ITEM.UN dangerous goods code Data Groups (CONSIGNOR-SECURITY) TRADER (CONSIGNEE-SECURITY) TRADER at item level ITINERARY (CARRIER) TRADER (CONSIGNOR-SECURITY) TRADER (CONSIGNEE-SECURITY) TRADER and their data Items Name of data item TIN changed to EORI-TIN in anticipation of the introduction of EORI numbers for traders from 01/07/2009 Addition of segments FII(7), EQD(9), TDT(98) in CUSDEC messages Data group PACKAGES changed from Dependent to Required in messages IE015, IE029 (Sections 3.3, 3.7, Appendices B9, B13, H17 (PAC(99)) Data group PREVIOUS ADMINISTRATIVE REFERENCE changed from Optional to Dependent in message IE051 (Section 3.9, Appendix B17, H17(DOC(111)) Data item HEADER. Total No. of Packages changed from Dependent to Optional in messages IE015, IE029, IE043, IE051 (Section 3.3, 3.7, 3.9, 4.5, Appendix B9, B13, B14, B17, H17 (CNT(145)) Data item HEADER.Place of loading code changed from Optional to Dependent in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (LOC(4)) Data item HEADER.Identity of means of transport crossing border changed from Optional to Dependent in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (TDT(17)) Data item HEADER.Binding itinerary changed from an..140 to n1 in message IE029 (Sections 3.7, Appendices B13, H17 (FTX(11)) Data item GOODS ITEM.PREVIOUS ADMINISTRATIVE REFERENCES.Previous Document Reference changed from an..20 to an..35 in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (DOC(111)) Data item GOODS ITEM.SPECIAL MENTIONS.Additional information coded changed from an..3 to an..5 in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, H17 (FTX(117)) Addition of codes C011, C186, C187, C188, C191, C567, C576, C577, C587, C589 in messages IE015, IE029, IE051 (Appendix C) Page 10 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Addition of rules R181, R229, R660, R840, R876 in messages IE015, IE029, IE051 (Appendix D) Addition of technical rule TR9120 in messages IE015, IE029, IE051 (Appendix E) Additional values in codelist 100 (Appendix F) Additional codelists 96, 101, 116, 117 (Appendix F) C hange to values in codelist 60 3.1 23/12/2008 Correction to appendices B9, B13 and B17 which incorrectly showed the Consignor-Security and Consignee-Security at item level as being in the NAD segments at position 22 with qualifiers of ‘GL’ and ‘UC’ respectively. The appendices now show them in the NAD segments at position 97 with qualifiers of ’GM’ and ’DP’ respectively. Fiona Byatt 3.2 23/01/20009 Amendments in line with MCC P4 version 7.1.0 and ECN P4 version 7.1.0 Fiona Byatt New dependent data item (PRINCIPAL)TRADER.Holder ID TIR in messages IE009, IE014, IE015, IE028, IE043, IE045, IE051, IE060 (Sections 3.3, 3.6, 3.9, 3.10, 4.5, 5.3, 6.3, 6.4, B.7, B.8, B.9, B.12, B14, B.16, B.17, B.20, H.7, H.8) New optional data item GUARANTOR.EORI-TIN in message IE045 (Sections 5.3, B.16, H.7) Condition C186 is removed from data items HEADER.Conveyance Reference Number, (TRANSIT) CUSTOMS OFFICE.Arrival Time in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B.17) Data item HEADER.Conveyance Reference Number changed from Dependent to Optional in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B.17, H.7) Data item (DESTINATION)TRADER.EORI-TIN changed from Dependent to Optional in message IE007 (Sections 4.3, B.5) Rule R174 removed from data item (PRINCIPAL)TRADER.EORI-TIN in message IE055 (Sections 3.8, B.18) Rules R026, R101, R840 removed from all data items to which they were applicable in messages IE007, IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, 4.3, B.5, B.9, B.13, B.17, D) Condition C110 removed from data item (PRINCIPAL)TRADER.EORI-TIN in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B.17, B.20, C) Condition C165 removed from data item (DESTINATION)TRADER.EORI-TIN in message IE007 (Sections 4.3, B.5, C) Condition C577 removed from data item (TRANSIT) CUSTOMS OFFICE.Arrival Time in messages IE015, Page 11 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B.17, C) Data item GOODS ITEM-PRODUCED DOCUMENTS/CERTIFICATES.Document Type changed from Dependent to Required in messages IE015. IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17, H.7) Data item GOODS ITEM-PRODUCED DOCUMENTS/CERTIFICATES.Document Type changed from Optional to Required in messages IE043, IE044 (Sections 4.5, 4.6, B.14, B15, H.7) Data item GOODS ITEM-PRODUCED DOCUMENTS/CERTIFICATES.Document Reference changed from Optional to Dependent in message IE044 (Sections 4.6, B15) Data item (PRINCIPAL)TRADER.EORI-TIN changed from Optional to Dependent in message IE009 (Sections 6.4, B.7) Data item (DESTINATION)TRADER.EORI-TIN changed from Optional to Dependent in message IE044 (Sections 4.6, B.15) The following data items changed from Required to Dependent in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17, H.7) (CARRIER)TRADER.Name, (CARRIER)TRADER.Street and number (CARRIER)TRADER.Postal code (CARRIER)TRADER.City (CARRIER)TRADER.Country code (CONSIGNOR-SECURITY)TRADER.Name, (CONSIGNOR-SECURITY)TRADER.Street and number (CONSIGNOR-SECURITY)TRADER.Postal code (CONSIGNOR-SECURITY)TRADER.City (CONSIGNOR-SECURITY)TRADER.Country code (CONSIGNEE-SECURITY)TRADER.Name, (CONSIGNEE-SECURITY)TRADER.Street and number (CONSIGNEE-SECURITY)TRADER.Postal code (CONSIGNEE-SECURITY)TRADER.City (CONSIGNEE-SECURITY)TRADER.Country code GOODS ITEM-(CONSIGNORSECURITY)TRADER.Name, GOODS ITEM-(CONSIGNORSECURITY)TRADER.Street and number GOODS ITEM-(CONSIGNORSECURITY)TRADER.Postal code GOODS ITEM-(CONSIGNORSECURITY)TRADER.City GOODS ITEM-(CONSIGNORSECURITY)TRADER.Country code GOODS ITEM-(CONSIGNEESECURITY)TRADER.Name, GOODS ITEM-(CONSIGNEESECURITY)TRADER.Street and number GOODS ITEM-(CONSIGNEESECURITY)TRADER.Postal code GOODS ITEM-(CONSIGNEESECURITY)TRADER.City Page 12 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 GOODS ITEM-(CONSIGNEESECURITY)TRADER.Country code The following data items changed from Optional to Dependent in messages IE015. IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17, H.7) (CONSIGNOR-SECURITY)TRADER.EORI-TIN (CONSIGNEE-SECURITY)TRADER.EORI-TIN GOODS ITEM-(CONSIGNORSECURITY)TRADER.EORI-TIN GOODS ITEM-(CONSIGNEESECURITY)TRADER.EORI-TIN Amendment to wording of conditions C045, C901 and rules R100, R143, R231, R510 (Sections C, D) New conditions C111, C112, C113, C501, C531, C572, C596, C598, C599, C904 (Section C) New rules R012, R825 (Section D) Country codes LI and SJ removed from code list 71 (Section F) Data group (PRESENTATION OFFICE)CUSTOMS OFFICE changed from Dependent to Required in message IE043 (Sections 4.5, B.14) Code list 27 removed from CTL_CONTROL.Continue unloading in message IE043 (Sections 4.5, B.14) Condition C567 applied to data group GOODS ITEMPRODUCED DOCUMENTS/CERTIFICATES in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B13, B17) Condition C599 applied to data item HEADER.Transport mode at border in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B13, B17) Condition C531 applied to data item HEADER.Conveyance reference number in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B13, B17) Rule R825 applied to data item HEADER.Specific circumstance indicator in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B13, B17) Rule R012 applied to data items GUARANTOR.EORITIN in message IE045 (Sections 5.3, B.16), (PRINCIPAL)TRADER.EORI-TIN in messages IE009, IE028, IE043, IE045, IE055, IE060 (Sections 3.6, 3.8, 3.10, 4.5, 5.3, 6.4, B.7, B.12, B.14, B.16, B.18, B.20), (CONSIGNOR)TRADER.EORI-TIN in message IE043 (Sections 4.5, B.14), (CONSIGNEE)TRADER.EORITIN in message IE043 (Sections 4.5, B.14), GOODS ITEM-(CONSIGNOR)TRADER.EORI-TIN in message IE043 (Sections 4.5, B.14), GOODS ITEM(CONSIGNEE)TRADER.EORI-TIN in message IE043 (Sections 4.5, B.14), (DESTINATION)TRADER.EORITIN in messages IE025, IE043 (Sections 4.5, 4.8, B.11, B.14) Page 13 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Condition C904 applied to data item (PRINCIPAL)TRADER.Holder ID TIR in messages IE009, IE014, IE015, IE028, IE043, IE045, IE051, IE060 (Sections 3.3, 3.6, 3.9, 3.10, 4.5, 5.3, 6.3, 6.4, B.7, B.8, B.9, B.12, B14, B.16, B.17, B.20) Condition C111 applied to data item (PRINCIPAL)TRADER.EORI-TIN in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B.17) Condition C501 applied to the following data items in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17) (CARRIER)TRADER.Name, (CARRIER)TRADER.Street and number (CARRIER)TRADER.Postal code (CARRIER)TRADER.City (CARRIER)TRADER.Country code (CONSIGNOR-SECURITY)TRADER.Name, (CONSIGNOR-SECURITY)TRADER.Street and number (CONSIGNOR-SECURITY)TRADER.Postal code (CONSIGNOR-SECURITY)TRADER.City (CONSIGNOR-SECURITY)TRADER.Country code (CONSIGNEE-SECURITY)TRADER.Name, (CONSIGNEE-SECURITY)TRADER.Street and number (CONSIGNEE-SECURITY)TRADER.Postal code (CONSIGNEE-SECURITY)TRADER.City (CONSIGNEE-SECURITY)TRADER.Country code GOODS ITEM-(CONSIGNORSECURITY)TRADER.Name, GOODS ITEM-(CONSIGNORSECURITY)TRADER.Street and number GOODS ITEM-(CONSIGNORSECURITY)TRADER.Postal code GOODS ITEM-(CONSIGNORSECURITY)TRADER.City GOODS ITEM-(CONSIGNORSECURITY)TRADER.Country code GOODS ITEM-(CONSIGNEESECURITY)TRADER.Name, GOODS ITEM-(CONSIGNEESECURITY)TRADER.Street and number GOODS ITEM-(CONSIGNEESECURITY)TRADER.Postal code GOODS ITEM-(CONSIGNEESECURITY)TRADER.City GOODS ITEM-(CONSIGNEESECURITY)TRADER.Country code Condition C572 applied to data items (CONSIGNORSECURITY)TRADER.EORI-TIN, GOODS ITEM(CONSIGNOR-SECURITY)TRADER.EORI-TIN in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17) Condition C596 applied to data items (CONSIGNEESECURITY)TRADER.EORI-TIN, GOODS ITEM(CONSIGNEE-SECURITY)TRADER.EORI-TIN in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17) Condition C598 applied to data item Page 14 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 (TRANSIT)CUSTOMS OFFICE.Arrival time in messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9, B.9, B.13, B17) 3.3 Condition C112 applied to data item (DESTINATION)TRADER.EORI-TIN in message IE007 (Sections 4.3, B.5) Condition C113 applied to data item (DESTINATION)TRADER.EORI-TIN in message IE044 (Sections 4.6, B.15) Condition C902 applied to data item GOODS ITEMPRODUCED DOCUMENTS/CERTIFICATES. Document Reference in message IE044 (Sections 4.6, B15) Technical rule TR0102 removed from GOODS ITEM.Commodity code in message IE015 (Sections 3.3, B.9) Change to wording of technical rule TR0102 (Section E) GOODS ITEM.Commodity code changed from an..10 to an..22 in messages IE015, IE029, IE043, IE044, IE051 (Sections 3.3, 3.7, 3.9, 4.5, 4.6, B.9, B.13, B.14, B.15, B.17, H7) Amendments in line with MCC P4 version 7.2 and ECN P4 version 7.2 Inclusion of printing of TSAD (Section 1.4) Change to wording of condition C567 (Appendix C) Addition of national condition NC050 to ‘(Principal) Trader.Name’, ‘(Principal) Trader.Street and Number’, ‘(Principal) Trader.Postal code’, ‘(Principal) Trader.City’, ‘(Principal) Trader.Country code’ (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, C) Addition of national rule NR001 to ‘(Principal) Trader.EORI-TIN’, ‘(Principal) Trader.Holder ID TIR’ (Sections 3.3, 3.7, 3.9, Appendices B9, B13, B17, D) Validation of ITINERARY Country of routing code changed from code list 10 to code list 8 (Sections 3.3, 3.7, 3.9, Fiona Byatt Appendices B9, B13, B17, H17) Technical rule TR1200 removed from ‘Goods Item. Item Number’ as it is covered by the wording of rule R007 (Section 3.3, 3.7, 3.9, 4.5, 4.6, Appendix B.9, B.13, B.14, B.15, B17, E) HEADER.Transport mode at border changed from optional to dependent (Sections 3.3, 3.7, 3.9, Appendix B9, B13, B17) PRODUCED DOCUMENTS/CERTIFICATES. Document reference changed from an..20 to an..35 (Sections 4.5, 4.6, Appendix B14, B15) (PRINCIPAL)TRADER.Holder ID TIR added to IE928 message (Section 3.4, Appendix B23) Additional values in code list 13 Document Type Page 15 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 (Appendix F) 3.4 3.5 01/04/2011 01/05/2012 Removal of ‘G13’ entry in code list 52 Invalid Guarantee Reason Code (Appendix F) Amendments in line with MCC P4 version 8 (7.3) and ECN P4 version 8 (7.3). Technical Rule TR0021 removed from Total gross mass (Sections 3.3, 3.7, 3.9, 4.5, & 4.6, Appendix B.9, B.13, B.14, B.15, B.17, E). New Rule R021 to replace TR0020 – MESSAGE – GOODS ITEM – PACKAGES. Number of packages (Sections 3.3, 3.7, 3.9, 4.5 & 4.6, Appendix B.9, B.13, B.14, B.15, B.17, D). Data group (PRESENTATION OFFICE)CUSTOMS OFFICE changed from Optional to Required in message IE07 (Appendix B.5, H.7) New Rule R911 applied to MESSAGE- HEADER. Type of Declaration in IE15, IE29 & IE51 (Sections 3.3 & 3.9, Appendix B.9, B.13, B.17, D). New Condition C547 to replace C567 in IE15, IE29, and IE51 on the following data group/fields: 1) MESSAGE – PRODUCED DOCUMENTS/CERTIFICATES 2) MESSAGE _HEADER.Commercial Reference Number 3) MESSAGE – GOODS ITEM.Commercial Reference Number (Sections 3.3, 3.7, 3.8, Appendix B.9, B.13, B.17, C). TR0022 applied to MESSAGE – GOODS ITEM – PACKAGES. ‘Number of Packages’ in IE15, IE29 & IE51 (Sections 3.3. 3.7, 3.9, Appendix B.9, B.13, B.17, E). n.b. This should have been documented when introduced in DDNTA v.10.30. Amendments to add Turkey/Croatia as ‘Common Transit’ countries w.e.f. 01/07/2012, plus other minor changes. Phil Dangerfield Phil Dangerfield C001 has been amended to include HR and TR as contracting parties (Appendix C). C035 has been amended to include HR and TR (Appendix C). R905 has been amended to include HR and TR (Appendix D). R908 has been amended to include HR and TR (Appendix D). Language-sensitive text fields amended to include UNOK (Appendix H.2). Amendments to Code Lists 63, 65 & 71 (Appendix F). New Code List 137 ‘UNOK Languages’ introduced (Appendix F). Other: 3.6 01/07/2012 Previous Document Type “ZZZ” added to Code List 14 (Appendix F). Note added to Section 1.5 to state that all numeric values must be greater than zero unless R021 applies. Amendments included to align with DDNTA V15.50 (i.e. KELv24 Phil Dangerfield Page 16 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 changes), and some typos. 3.7 3.7.1 01/01/2013 11/06/2013 TR0102 removed from Comcode and R060 added to Comcode in IE044 to align the reporting format for external messages (Section 3.7, 3.9, 4.5, 4.6, Appendix B.13, B.14, B.15, B.17 & E). Increase in the iteration of the Goods Item data group from 999 to 9999 where TR0011 applies, (Section 4.6, Appendix A.3, B.15 & H.7). TR0008 is to be amended (in accordance with TR0011) to align the treatment of the reporting of discrepancies of found goods items, where produced documents are present (Appendix E). TR0011 has been amended to allow optionally 1 or 2 Goods Items to be reported when there are differences, (Appendix E). A new TR9250 introduced to allow for non-ASCII characters in error message reference data, thus citing the original values (Section 7.2, 7.3, Appendix B.21, B.22 & E). Amendments included to align with DDNTA V16.00 (i.e. KELv25 changes), for implementation on 01/07/2013. TR9250 has been amended to extend the printable characters that are acceptable and now includes those from the UNOK (Turkish ISO 8859-9) character set (Appendix E). Croatia is to join the EU on the 1st July 2013 and therefore participate in NCTS as a member state. Conditions, Rules & Code Lists will need to be changed to reflect this new status. C001, C035, R905, R908, and Code Lists 63 & 71 are to be amended to remove “HR” (Croatia) as a separate entity (Appendices C, D & F). The new code 'VS' (Bulk, scrap metal) to be handled as other Bulk types in condition C060 –Appendix C updated as below:- Phil Dangerfield Paul Martin IF "Kind of packages" (Box 31) indicates "BULK" (UNECE rec 21: 'VQ', 'VG', 'VL', 'VY','VR', 'VS' or 'VO') THEN "Marks & numbers of packages" (Box 31) = "O" "Number of packages" (box 31) cannot be used "Number of Pieces" (box 31) cannot be used ELSE IF "Kind of packages" (Box 31) indicates "UNPACKED" (UNECE rec 21 : = 'NE'; 'NF' or 'NG') THEN "Marks & numbers of packages" (Box 31) = "O" "Number of packages" cannot be used "Number of Pieces" (box 31) = "R" ELSE "Marks & numbers of packages" (Box 31) = "R" "Number of packages" (box 31) = "R" "Number of Pieces" (box 31) cannot be used ‘VS’ code added to Kind of Packages code list in Appendix F below 3.8 05/03/2014 Amendments included to align with DDNTA V17.00 (i.e. KELv26 Paul Martin Page 17 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 changes), for implementation on 02/06/2014. Documentary amendments:Appendix A, CUSDEC (96B) Branching Diagram – DMS [33] segment moved to after the UNS [32] segment (Another amendment – replacing TDT [128] with TDT [98] had previously been amended in this document). Appendix B, section B.2 added ‘s’ to one instance of ‘Result’ (of Control). Appendix H, Section H.3 – drop’s’ from ‘Controls’ An amendment to add rule R105 to IE015 (total number of packages) has previously been amended in this document 3.9 19/07/2014 Amendments included to align with DDNTA V18.00 (i.e. KELv27 changes), for implementation on 01/12/2014. Appendix C According to the voted legal change, the name and address data items shall not be provided when an EORI Trader Identification number (EORI-TIN) or a Third Country Unique Identification Number (TCUIN) is provided. This new requirement requires the rewording of Condition 501. 1) Amended condition C501 as follows:IF the attribute 'TIN' is present in the data group THEN this attribute ='O' cannot be used ELSE this attribute = 'R' 2) Amended conditions C001 & C035, rules R905 & R908. Added technical codelists C138 & C139. Amended codelist CL70. Added new Technical Rules TR0601, TR0630 & TR0635 Added TR0601 rule to IE015, IE029, IE43 & IE051 messages Added TR0630 rule to IE015, IE029 & IE051 messages Added TR0635 rule to IE015, IE029 & IE051 messages See Appendix B for changes to the messages, Appendix C for changes to Conditions, Appendix D for rule changes, Appedix E for Technical rule changes & Appendix F for Codelist changes 3.9.1 14/08/2014 3.9.2 09/06/15 3.9.2 10/07/2015 Updated country code lists 8, 9, 10 & 70 to include Croatia following review SEALS ID data group changed from 99x to 9999x EC Reg 756/2012 indicator ‘B’ removed from document Section B.14(for message IE043) Docum type amended from 3 to 4 Paul Martin Chris Taylor Chris Taylor Page 18 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 TABLE OF CONTENTS APPENDIX A – BRANCHING DIAGRAMS ................................................................................................. 22 A.1. INTRODUCTION ...................................................................................................................................... 22 A.2. SYMBOLISM USED .................................................................................................................................. 22 A.2.1. Definitions..................................................................................................................................... 22 A.2.2. Components .................................................................................................................................. 22 A.3. CUSDEC (96B) BRANCHING DIAGRAM ................................................................................................ 24 A.5. CUSRES (96B) BRANCHING DIAGRAM ................................................................................................. 27 A.6. FUNACK BRANCHING DIAGRAM - (CUSRES FUNCTIONAL ERRORS). .................................................. 27 A.7. CONTRL BRANCHING DIAGRAM .......................................................................................................... 28 APPENDIX B - TECHNICAL MESSAGE STRUCTURES .......................................................................... 29 B.1. CONTENT OF TABLES ............................................................................................................................. 29 B.2. RESULTS OF CONTROL ........................................................................................................................... 30 B.2.1. Header .......................................................................................................................................... 30 B.2.2. Goods Item .................................................................................................................................... 30 B.3. REJECTION MESSAGES IE08 (E_ARR_REJ), IE16 (E_DEC_REJ), IE58 (E_ULD_REJ) ..................... 31 B.4. UN/EDIFACT CONTRL MESSAGE ...................................................................................................... 32 B.5 ARRIVAL NOTIFICATION (IE07 - E_ARR_NOT) .................................................................................... 34 B.6 ARRIVAL NOTIFICATION REJECTION (IE08 - E_ARR_REJ) .................................................................... 37 B.7. CANCELLATION DECISION (IE09 - E_CAN_DEC) ................................................................................. 38 B.8. DECLARATION CANCELLATION REQUEST (IE14 - E_DEC_CAN) .......................................................... 39 B.9. DECLARED DATA (IE15 - E_DEC_DAT) .............................................................................................. 40 B.10. DECLARATION REJECTED (IE16 - E_DEC_REJ) ................................................................................ 49 B.11. GOODS RELEASE NOTIFICATION (IE25 - E_GDS_REL) ..................................................................... 50 B.12. MRN ALLOCATED (IE28 - E_MRN_ALL) ........................................................................................ 51 B.13. RELEASE FOR TRANSIT (IE29 - E_REL_TRA).................................................................................. 52 B.14. UNLOADING PERMISSION (IE43 - E_ULD_PER) ............................................................................... 61 B.15. UNLOADING REMARKS (IE44 – E_ULD_REM) ................................................................................ 65 B.16. WRITE-OFF NOTIFICATION (IE45 - E_WRT_NOT) ........................................................................... 68 B.17. NO RELEASE FOR TRANSIT (IE51 - E_REL_NOT) ............................................................................ 69 B.18. GUARANTEE NOT VALID (IE55 – E_GUA_INV) ................................................................................ 78 B.19. UNLOADING REMARKS REJECTION (IE58 – E_ULD_REJ) ................................................................. 79 B.20. CONTROL DECISION NOTIFICATION (IE60 – E_CTR_DEC) ............................................................... 80 B.21. EDIFACT NACK (IE907 – C_EDI_NCK) ....................................................................................... 81 B.22. XML NCK (IE917 – C_XML_NCK) ................................................................................................ 83 B.23. POSITIVE ACKNOWLEDGEMENT (IE928 - E_POS_ACK) ................................................................... 84 APPENDIX C – CONDITIONS AND NATIONAL CONDITIONS FOR IE MESSAGES ........................ 85 APPENDIX D – STRUCTURE RULES AND NATIONAL RULES FOR IE MESSAGES ....................... 90 APPENDIX E – TECHNICAL RULES FOR IE MESSAGES ...................................................................... 94 APPENDIX F – CODE LIST ............................................................................................................................ 97 LIST 1 LIST 8 LIST 9 LIST 10 LIST 12 LIST 13 LIST 14 LIST 17 LIST 18 LIST 21 LIST 22 LIST 23 LIST 27 NCTS UN/EDIFACT MESSAGE TYPES ............................................................................................ 98 COUNTRY CODES (FULL LIST) ............................................................................................................ 98 COUNTRY CODES (COMMON TRANSIT) ............................................................................................. 99 COUNTRY CODES (COMMUNITY TRANSIT) .................................................................................. 100 LANGUAGE CODES....................................................................................................................... 102 DOCUMENT TYPE ........................................................................................................................ 102 PREVIOUS DOCUMENT TYPE........................................................................................................ 103 KIND OF PACKAGES ..................................................................................................................... 104 TRANSPORT MODE ...................................................................................................................... 107 SYNTAX IDENTIFIER ..................................................................................................................... 107 SYNTAX VERSION NUMBER .......................................................................................................... 107 ERROR CODES FOR EDI NCK ...................................................................................................... 107 FLAG............................................................................................................................................ 109 Page 19 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 LIST 31 TYPE OF DECLARATION TRANSIT PROCEDURES........................................................................... 109 LIST 32 ACTION CODES ............................................................................................................................ 109 LIST 33 INTERCHANGE SERVICE SEGMENT TAGS ..................................................................................... 109 LIST 34 MESSAGE SERVICE SEGMENT TAGS............................................................................................. 110 LIST 35 VERSION NUMBERS ..................................................................................................................... 110 LIST 36 RELEASE NUMBERS ..................................................................................................................... 110 LIST 37 CONTROLLING AGENCIES............................................................................................................. 110 LIST 39 ADDITIONAL INFORMATION CODED ............................................................................................. 110 LIST 41 CONTROL INDICATOR GI-ROC..................................................................................................... 110 LIST 47 CONTROL RESULT ........................................................................................................................ 111 LIST 49 FUNCTIONAL ERROR CODES ........................................................................................................ 111 LIST 51 GUARANTEE TYPE CODES ............................................................................................................ 112 LIST 52 INVALID GUARANTEE REASON CODES ......................................................................................... 112 LIST 60 MESSAGE TYPES .......................................................................................................................... 112 For CUSDEC .............................................................................................................................................. 113 for CUSRES ................................................................................................................................................ 113 for FUNACK (CUSRES functional errors) ................................................................................................. 113 for CONTRL (EDIFACT errors) ................................................................................................................. 113 LIST 63 COUNTRY CODES (COMMON TRANSIT OUTSIDE COMMUNITY) .................................................... 113 LIST 64 SENSITIVE GOODS CODE .............................................................................................................. 114 LIST 65 UNOD LANGUAGES .................................................................................................................... 114 LIST 66 UNOF LANGUAGES ..................................................................................................................... 114 LIST 71 COUNTRY CODES (GUARANTEE MANAGEMENT – NON EC) ......................................................... 115 LIST 80 UNOH LANGUAGES .................................................................................................................... 116 LIST 85 UNOE LANGUAGES ..................................................................................................................... 116 LIST 96 SPECIFIC CIRCUMSTANCE INDICATOR .......................................................................................... 116 LIST 100 DATA ITEM ACRONYMS ............................................................................................................... 116 LIST 101 UN DANGEROUS GOODS CODE ................................................................................................... 118 LIST 116 TRANSPORT CHARGES – METHOD OF PAYMENT .......................................................................... 118 LIST 117 SECURITY INDICATOR .................................................................................................................. 118 LIST 137 UNOK LANGUAGES .................................................................................................................... 118 APPENDIX G – REFERENCE NUMBERS .................................................................................................. 120 G.1. G.2. G.3. G.4. G.5. G.6. MOVEMENT REFERENCE NUMBER (MRN) .......................................................................................... 120 GUARANTEE REFERENCE NUMBER (GRN) .......................................................................................... 120 CUSTOMS OFFICE REFERENCE NUMBER (COR) .................................................................................. 121 COMMODITY CODE (COM) ................................................................................................................. 121 SENSITIVE GOODS INDICATOR (SGI) ................................................................................................... 121 LOCAL REFERENCE NUMBER (LRN) ................................................................................................... 121 APPENDIX H- SEGMENT DESCRIPTIONS .............................................................................................. 122 H.1. H.2. H.3. H.4. H.5. H.6. H.7. H.8. H.9. H.10. SYMBOLISM USED ................................................................................................................................ 122 EDIFACT CONVENTIONS FOR NCTS UN/EDIFACT CHOICES ........................................................... 123 FORMAT CHANGES ............................................................................................................................... 124 STUFFING ............................................................................................................................................. 125 UNB SEGMENT.................................................................................................................................... 125 UNH SEGMENT ............................................................................................................................... 125 CUSDEC (CORE) SEGMENT TABLE .................................................................................................... 126 CUSRES (CORE) SEGMENT TABLE ..................................................................................................... 181 CUSRES (FUNCTIONAL ERRORS) SEGMENT TABLE ............................................................................ 187 CONTRL SEGMENT TABLE............................................................................................................. 193 APPENDIX I – SAMPLE EDI MESSAGES ................................................................................................. 196 Page 20 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 TABLE OF TABLES TABLE 1: BRANCHING DIAGRAM CONTENT DESCRIPTION.............................. 23 TABLE 2: EDIFACT CONTENT DESCRIPTION......................................................................................................... 29 TABLE3: DATA ITEMS FOR FUNCTIONAL ERROR ................................................................................................... 31 TABLE 4: EXAMPLES OF ERROR POINTER .............................................................................................................. 32 TABLE 4: SEGMENT CONTENT DESCRIPTION ....................................................................................................... 122 TABLE 5: MESSAGE FORMAT CHANGES .............................................................................................................. 125 TABLE 6: SEGMENT STUFFING ............................................................................................................................. 125 Page 21 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX A – BRANCHING DIAGRAMS A.1. Introduction This appendix presents the EDIFACT Branching Diagrams for the NCTS messages, and is provided for information only. It states how EDIFACT UNSMs are used for implementing the NCTS messages. Every NCTS IE is mapped upon one particular UNSM. The usage of the following UNSMs is foreseen for NCTS: CUSDEC CUSRES CONTRL Every UNSM should be considered as a hierarchy of EDIFACT segments and/or EDIFACT segment groups that needs to be built according to the standard EDIFACT rules. This section defines which parts of the standard UNSMs are used for the NCTS, and which modifications have been introduced for the UNSMs. Appendix H defines the details for every individual segment. As not all parts and components of the UNSMs are needed in order to implement the NCTS messages, only those elements and components from the UNSMs, that are foreseen for NCTS, are shown. A.2. Symbolism used A.2.1. Definitions A branching diagram describes the hierarchy, sequence, repeat count, and status of the segments in the message as published in the UN/EDIFACT Directory. A.2.2. Components The branching diagrams are read from left to right and from top to bottom, and each segment and segment group is identified with a reference number indicating its position in the message structure (numbers are thereby referring to the original UNSM). The numbers on the extreme left of the diagram show the level of the message. 0 denotes the top level, 1 the next level, etc. This symbolism can be useful when following a long message from one page to the next. BGM[2] M 1 Denotes a segment. The segment tag is in the top of the box (BGM in this example). The segment tag is followed by a number between square brackets. This number is the segment reference number (it is unique for every node in the message hierarchy). In the example, the segment reference number is equal to 2. Below left , the segment usage is specified as M (as in this example) for Mandatory or C for Conditional. The bottom right part of the box denotes the number of times the segment may occur (1 in this example). If the number is 9, 99, 999, etc., it denotes that the segment may repeat up to that number of lines or less. Page 22 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Group1 C 99 RFF[12] M 1 A Denotes a segment group. The group number on the top line (Group 1 in this example) gives a sequential number for segment groups throughout the message. Every segment group has a unique number. Following the usage and repeat factor of the group (C 99 in this example), the trigger segment is identified (RFF in this example). A trigger segment is always Mandatory (it must be used if the segment group is used) as it contains the key to which all subsequent segments in the group relate. Moreover, a trigger segment can appear only once within the occurrence of a group. Connector denoting the reference where the message continues to or from. Connectors are labelled A, B, C… Table 1: Branching Diagram Content description A message segment or group is always present at a particular level. Dashed lines separate the different levels. Solid lines connect the different segments and groups. A solid line should be understood as “consists of”. At the highest level is the UNSM. The UNSM consist of all components defined at level 0 and 1. Elements at level 0 are mandatory components of the UNSM. Elements at level 1 and below are conditional components of the UNSM. When different segments and/or groups are present at the same level, this should be understood as “consists of the sequence of the following items”. Page 23 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 A.3. CUSDEC (96B) Branching Diagram The CUSDEC hierarchy is defined in the following three diagrams. A Level 0 UNB[0] M 1 UNH[1] M BGM[2] 1 M 1 Level 1 LOC[4] C 99 DTM[5] C 15 GIS[6] C 25 FII[7] C 1 MEA[8] C 5 EQD[9] C 999 SEL[10] C 999 FTX[11] C 99 Group1 C Group4 99 C RFF[12] M 1 Level 2 DTM[13] C 1 M Group2 C 99 PAC[14] M 1 Level 3 Group3 C 999 PCI[15] M 1 Level 4 FTX[16] C Level 5 Page 24 of 198 5 TDT[17] 99 1 TPL[18] C 1 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Page 25 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B Level 0 UNS[144] M 1 UNT[151] UNZ[152] M M 1 1 CNT[145] Level 1 C C 5 Group44 Level 2 C 50 GIR[131] M 1 Level 3 Level 4 Level 5 Page 26 of 198 NCTS 09/06/2015 A.5. TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 CUSRES (96B) Branching Diagram The CUSRES hierarchy is defined in the following diagram. Level 0 UNB[0] M 1 UNH[1] M 1 BGM[2] M UNT[52] 1 M Level 1 DTM[3] C 9 FTX[4] C 9999 LOC[6] C 99 GIS[7] C 10 Group1 C 9 NAD[9] M 1 Level 2 Level 3 A.6. FUNACK Branching Diagram - (CUSRES functional errors). See A.5 Page 27 of 198 Group3 C 999 RFF[12] M 1 1 UNZ[53] M 1 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 A.7. CONTRL Branching Diagram The CONTRL hierarchy is defined in the following diagram. Level 0 UNB[0] M 1 UNH[1] M 1 UNT[10] UCI[2] M M 1 1 UNZ[11] M 1 Group1 Level 1 C 99999 UCM[3] M 1 Level 2 Group2 C 999 UCS[4] M 1 UCD[57] Level 3 C 99 Page 28 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX B - TECHNICAL MESSAGE STRUCTURES This appendix describes the detailed structure of each message to be exchanged with traders. B.1. Content of Tables The EDIFACT message tables are: CUSDEC CUSRES FUNACK (CUSRES functional errors) CONTRL Additionally, CONTRL (91.2) messages are returned by EDCS. The format of this message can be found at: http://customs.hmrc.gov.uk/channelsPortalWebApp/channelsPortalWebApp.portal?_nfpb=true&_page Label=pageImport_ShowContent&id=HMCE_PROD_011562&propertyType=document The tables contain the following columns: Column name SAD Box No. Message element Data type Data Requirements Pos EDIFACT mapping Code List Conditions / Rules Description The number of the corresponding box on the Single Administrative Document for this data item. These columns are only shown for the CUSDEC and CUSRES correlation tables. The full name of the data item, consisting of the data group name (full hierarchical name) to which the data item belongs and the name of the data item itself. To reduce some of the very long field names, names of headings that are displayed as grey filled are not repeated in all the subordinate fields. The format of the data item. R - Required O - Optional D - Dependent The position of the EDIFACT-segment in the UNSM. This position refers to the branching diagram (Chapter 5 of this TIS). The mapping information for a data item on a particular EDIFACT segment. If applicable, the code list (denoted by a number) that should be applied to this data item. Only values from this list can be applied to the data item in this case. These code lists can be found in Appendix F. C - Conditions for IE messages (See Appendix C) R - Structure Rules for IE messages (See Appendix D) TR - Technical Rules for IE messages (See Appendix E) Table 2: EDIFACT Content description Page 29 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.2. Results of Control For any corrected ‘HEADER’ data items, both the original and corrected values are exchanged. For each new or corrected ‘GOODS ITEM’, the complete set of data items is exchanged. B.2.1. Header Each data item of ‘HEADER’ can be accompanied by a control indicator with the value ‘DI’ (Differences) or ‘OT’ (Other). When differences are detected, the original and corrected values are exchanged. Otherwise, only the original values are exchanged. The original values of data items of ‘HEADER’ are exchanged by the original data group; the corrected values by the data group ‘RESULTS OF CONTROL’. A pointer is given in the ‘RESULTS OF CONTROL’ to the box number of the corrected data item (the structure of the pointer is specified below). When the control indicator is ‘DI’, the pointer to the data item and the corrected value are required. When the control indicator is ‘OT’, the pointer to the data item and the corrected value should not be used. B.2.2. Goods Item Each goods item can have one or more occurrences of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ values of ‘OR’ (Original), ‘DI’ (Difference), ‘OT’ (Other), ‘NE’ (New) ‘NP’ (Not Present). The following possibilities can occur: In the case of a discrepancy, the original goods item and the corrected one are exchanged. The original goods item group is indicated by an occurrence of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘OR’ (Original). The corrected goods item group is indicated by an occurrence of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘DI’ (Differences). If the totals of ‘HEADER’ are affected by any changes at goods item level, these are exchanged as for ‘HEADER’ above. In the case of a missing 'Goods item', the original goods item and the corrected one (i.e. an empty group except for the 'Item number' field and the 'RESULTS OF CONTROL' groups) are exchanged. The original goods item group is indicated by an occurrence of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘OR’ (Original). The corrected goods item group is indicated by an occurrence of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘DI’ (Differences) and optionally an 'OT' 'RESULTS OF CONTROL' group. If the totals of ‘HEADER’ are affected by any changes at goods item level, these are exchanged as for ‘HEADER’ above. In the case of one or more documents not being presented for a goods item, the corrected goods item group is exchanged with an additional occurrence of ‘RESULTS OF CONTROL’ for each of the missing documents, with ‘Control Indicator’ value ‘NP’. The pointer in ‘RESULTS OF CONTROL’ refers to the particular occurrence of ‘PRODUCED DOCUMENTS/ CERTIFICATES’ which is missing from that goods item. Upon receiving a ROC = "NP" the OoDep will determine a procedure for ascertaining which document has not been presented. Their options are to perform a computerised check of the two items returned (the original with ROC = "OR" and the other with ROC = "DI" and also ROC = "NP"), or to print/display the two versions of the item so that the Customs Officer can identify which document has not been produced. Page 30 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 In the case of some other reportable situation (i.e. a comment on a 'Goods item') which is not a discrepancy, the goods item group is exchanged with one ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘OR’ (Original) and one or more additional occurrences of ‘RESULTS OF CONTROL’ with ‘Control Indicator’ value ‘OT’. In the case of a new goods item being discovered, only the values of that new goods item are exchanged, there being no original values. The ‘Control Indicator’ of ‘RESULTS OF CONTROL’ of the new goods item group has value ‘NE’. Totals of ‘HEADER’ need to be updated according to the changes at goods item level. The pointer in ‘RESULTS OF CONTROL’ refers to the box number of the Transit Accompanying Documents of a particular data item. Where the data item is a further subdivision or if a particular occurrence of a document needs to be identified, this is denoted by : ‘box_number’ # ‘subdivision/occurrence’ NB: - ‘occurrence’ refers to the sequence in which the information was sent. - ‘/’ indicates that either a subdivision or an occurrence is given. - Example 1 (subdivision): 18#1 refers to ‘Identity of means of transport at departure (the first subdivision of Box 18)’ - Example 2 (occurrence): If the third document is missing, this is indicated as 44#3 (since documents are listed in Box 44). B.3. Rejection Messages IE08 (E_ARR_REJ), IE16 (E_DEC_REJ), IE58 (E_ULD_REJ) These messages identify functional errors e.g. missing functional data item or wrong value , in previously sent data. The message contains a Functional Error data group that consists of an error type, a pointer to the erroneous field, an error reason code and the original value of the attribute. Data Item Content Status Format Error type Values taken from code list 49 Required n2 Error pointer This Data Item points to the Data Item or Data Group that Required caused the error by listing the hierarchy of that Data Item and its occurrence in the hierarchy. an..210 In case of error type 90, 91 or 93, the error pointer points to the MRN. In case of error type 92, the error pointer points to the Message Type in UNH. The syntax for the value of the error pointer is as follows: (Data Group code ‘(‘ [(occurrence)] ’)’ ’.’ ) + [(Data Item name)] Error reason code This Data Item contains the identification of the condition Optional or rule in case error type ‘15’ is detected due to an error related to a condition or a rule or a technical rule (for example ‘C100’ to denote a violation of condition 100, and ‘TR01’ to denote a violation of technical rule 1). an..6 Original Data Item value This Data Item is used to exchange the original value in Optional case sequencing of Data Groups is changed at reception of a message. an..140 Table3: Data Items for Functional Error Notes to the ‘Error Pointer’ data item: The Data Group codes used for the error pointer are listed in appendix F. Page 31 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Occurrence is a sequence number for a Data Group. An occurrence is only given for repeatable or erroneously repeated Data Groups and is therefore optional. An occurrence relates to the sequence in which a message is received. The Data Item names are listed in the messages in the rest of this appendix. Examples of the error pointer are as follows: Error pointer value Semantics HEA.Containerised indicator Pointer to ‘containerised indicator’ of the Header Data Group. GUA(3).REF(5).Access code Pointer to ‘access code’ of the fifth Guarantee reference Data Group within the third Guarantee Data Group. GDS(3).GS2(4).Kind of packages Pointer to ‘Kind of packages’ of the fourth Package Data Group within the third goods item. CE1 Pointer to ‘(CONSIGNEE) TRADER’ Data Group. Table 4: Examples of Error Pointer B.4. UN/EDIFACT CONTRL Message The structure of CONTRL is based on four segments: UCI (Interchange Level) UCM (Message Level) UCS (Segment Level) UCD (Data Element Level) each containing a reference to a part of the subject interchange. The parts of the subject interchange are: The UNB and UNZ segments, referenced in the UCI segment. UCI refers to the original UN/EDIFACT interchange in which errors have been detected, by copying the sender identification, recipient identification, and interchange reference of that erroneous interchange. The UNH and UNT segments, referenced in the UCM segment. UCM refers to the original UN/EDIFACT message in which errors have been detected, by copying the message reference and the message type/version/release number/controlling agency/association assigned code of that erroneous message. The action taken by the recipient of the erroneous message as well as the specific error information (error code – message segment – position in this segment) is transmitted as well. A segment in a message, referenced in the UCS segment. UCS refers to a position of a segment for which an error has been detected in the original UN/EDIFACT message, by means of a segment position. The segment position is a sequence number of the erroneous segment in the UN/EDIFACT message. It starts with, and includes, the UNH segment as segment number ‘1’. To report a missing segment, this is the numerical count of the last segment that was processed before the position where the missing segment was expected to be. Identifying the first segment in the group as missing denotes a missing segment group. A simple, composite or component data element referenced in the UCD segment. UCD refers to a position of a data element in a segment for which an error has been detected in the original UN/EDIFACT message. EITHER the data element position is a counter of all fields starting at ‘1’ for the segment tag OR, if the information can be supplied by the EDI-converter, the data element position is a counter of simple and composite fields starting at ‘1’ for the segment tag and the data component position is the position of the component within the composite field. Page 32 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 The UCI segment can only report one error. If more than one error is detected at interchange level, NCTS only reports one error. It cannot exchange more than one CONTRL message to report several errors in the same interchange. The list of allowed error codes is given in Appendix F. Page 33 of 198 NCTS 09/06/2015 B.5 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Arrival notification (IE07 - E_ARR_NOT) SAD Box Message element Data Type MESSAGE (as per IE15 - E_DEC_DAT) HEADER Data Req Pos. R -- EDIFACT Mapping - CUSDEC Code List Conditions Rules R -- Document/reference number (MRN) an..21 R 2 BGM[2].C106.1004 - - Customs sub place an..17 D 4 LOC[4](3227=26).C517.3225 - C155, R245 Arrival notification place an..35 R 4 LOC[4](3227=60).C517.3224 Arrival notification place LNG a2 O 4 LOC[4](3227=60).5479 Arrival agreed location code an..17 D 4 Arrival agreed location of goods an..35 D 4 Arrival agreed location of goods LNG a2 O 4 LOC[4](3227=20).5479 Arrival authorised location of goods an..17 D 4 LOC[4](3227=84).C517.3225 - - 12 TR99 LOC[4](3227=20).C517.3225 - C155, R245 LOC[4](3227=20).C517.3224 - C155, R245 12 TR99 - C155, R245 Simplified procedure flag n1 R 6 GIS[6](C529.1131=119).C529.7365 Arrival notification date n8 R 5 DTM[5](C507.2005=132).C507.2380 Dialog language indicator at destination a2 O 11 FTX[11](4451=ACB).3453 (DESTINATION) TRADER 27 R230 - - 12 R -- Name an..35 D 22 NAD[22](3035=CPD).C080.3036#1 - C160 Street and number an..35 D 22 NAD[22](3035=CPD).C059.3042#1 - C160 Postal code an..9 D 22 NAD[22](3035=CPD).3251 - C160 City an..35 D 22 NAD[22](3035=CPD).3164 - C160 Country code a2 D 22 NAD[22](3035=CPD).3207 8 C160 NAD_LNG a2 O 22 NAD[22](3035=CPD).3229 12 TR99 EORI-TIN (Turn) an..17 D 22 NAD[22](3035=CPD).C082.3039 - C112 R -- R 4 LOC[4](3227=22).C517.3225 - - (PRESENTATION OFFICE) CUSTOMS OFFICE Reference number an8 EN ROUTE EVENT occurs 9 O -- Place an..35 R 12 RFF[12](C506.1153=AIV).C506.1154 - R240 - Place LNG a2 O 12 RFF[12](C506.1153=AIV).C506.1156 12 TR99 Page 34 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Country code Data Type a2 CTL_CONTROL CTL_CONTROL.Already in NCTS n1 INCIDENT Pos. R 14 R -- R 13 EDIFACT Mapping - CUSDEC Code List Conditions Rules RFF(C506.1153=AIV).PAC[14](7224=2).C402.7077 9 - RFF(C506.1153=AIV).DTM[13](C507.2005=311).C507.2380 27 R230 27 R230, TR9030 O -- INCIDENT.Incident flag n1 C 14 RFF(C506.1153=AIV).PAC[14](7224=3).C531.7075 INCIDENT.Incident information an..350 O 16 RFF(C506.1153=AIV).PAC(7224=3).PCI(4233=18).FTX[16](4451 =ABM).C108.4440#1 - INCIDENT.Incident information LNG a2 O 16 RFF(C506.1153=AIV).PAC(7224=3).PCI(4233=18).FTX[16](4451 =ABM).3453 12 INCIDENT.Endorsement date n8 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#1 - INCIDENT.Endorsement authority an..35 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#2 - INCIDENT.Endorsement authority LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#3 12 INCIDENT.Endorsement place an..35 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#4 - INCIDENT.Endorsement place LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#5 12 INCIDENT.Endorsement country a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.710 2#6 9 O -- SEALS INFO SEALS INFO.Seals number n..4 SEALS INFO - SEALS ID occurs 9999 R 14 R -- R240 RFF(C506.1153=AIV).PAC[14](7224=4).C402.7077 - an..20 R 15 RFF(C506.1153=AIV).PAC(7224=4).PCI[15](4233=21).C210.710 2#1 - SEALS INFO - SEALS ID.Seals identity LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=4).PCI[15](4233=21).C210.710 2#2 12 O -- O 16 TRANSHIPMENT.New transport means identity an..27 TR99 TR99 TR99 R240 SEALS INFO - SEALS ID.Seals identity TRANSHIPMENT 55 Data Req TR99 R240 RFF(C506.1153=AIV).PAC(7224=5).PCI(4233=23).FTX[16](4451 =TRA).C108.4440#1 Page 35 of 198 - R190 NCTS 09/06/2015 SAD Box 55 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type Data Req Pos. EDIFACT Mapping - CUSDEC Code List Conditions Rules TRANSHIPMENT.New transport means identity LNG a2 O 16 RFF(C506.1153=AIV).PAC(7224=5).PCI(4233=23).FTX[16](4451 =TRA).3453 12 TR99 TRANSHIPMENT.New transport means nationality TRANSHIPMENT.Endorsement date a2 n8 O O 14 15 8 - R190 TRANSHIPMENT.Endorsement authority an..35 O 15 TRANSHIPMENT.Endorsement authority LNG a2 O 15 TRANSHIPMENT.Endorsement place an..35 O 15 TRANSHIPMENT.Endorsement place LNG a2 O 15 TRANSHIPMENT.Endorsement country a2 O 15 RFF(C506.1153=AIV).PAC[14](7224=5).C202.7064 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#1 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#2 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#3 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#4 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#5 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.710 2#6 TRANSHIPMENT - CONTAINERS occurs 99 TRANSHIPMENT - CONTAINERS.Container number an..17 O R -15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=30).C210.710 2#1 Page 36 of 198 12 TR99 12 TR99 9 - R190 NCTS 09/06/2015 B.6 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Arrival notification rejection (IE08 - E_ARR_REJ) Message element Data Type Data Req Pos. R -- an..21 n8 an..350 a2 an..350 a2 R R R O O O O -2 3 4 4 4 4 BGM[2](1225=11).C106.1004 DTM[3](C507.2005=46).C507.2380 FTX[4](4451=ABD).C108.4440#1 FTX[4](4451=ABD).3453 FTX[4](4451=ARR).C108.4440#1 FTX[4](4451=ARR).3453 n2 an..210 an..6 an..140 D R R O O -4 4 4 4 FTX[4](4451=AAO).C107.4441 FTX[4](4451=AAO).C108.4440#1 FTX[4](4451=AAO).C108.4440#4 FTX[4](4451=AAP).C108.4440#1 MESSAGE (as per IE15 - E_DEC_DAT) HEADER Document/reference number (MRN) Arrival rejection date Action to be taken Action to be taken LNG Arrival rejection reason Arrival rejection reason LNG FUNCTIONAL ERROR occurs 999 Error type Error pointer Error reason Original attribute value EDIFACT Mapping - FUNACK Code List 12 12 Conditions Rules TR99 TR99 R123 Page 37 of 198 49 100- NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.7. Cancellation Decision (IE09 - E_CAN_DEC) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping - CUSRES Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 Cancellation decision n1 D 7 GIS[7](C529.1131=70).C529.7365 Date of cancellation request n8 D 3 DTM[3](C507.2005=318).C507.2380 Cancellation initiated by Customs n1 R 7 GIS[7](C529.1131=117).C529.7365 Date of cancellation decision n8 R 3 DTM[3](C507.2005=193).C507.2380 Code List Conditions Rules 27 C170, R180, R230 - C180 27 R175, R230 - Cancellation justification an..350 D 4 FTX[4](4451=ABY).C108.4440#1 Cancellation justification LNG a2 O 4 FTX[4](4451=ABY).3453 R -- (PRINCIPAL) TRADER - C175 12 TR99 50 Name an..35 D 9 NAD[9](3035=AF).C080.3036#1 - C160 50 Street and number an..35 D 9 NAD[9](3035=AF).C059.3042#1 - C160 50 Postal code an..9 D 9 NAD[9](3035=AF).3251 - C160 50 City an..35 D 9 NAD[9](3035=AF).3164 - C160 50 Country code a2 D 9 NAD[9](3035=AF).3207 8 C160 50 NAD_LNG a2 O 9 NAD[9](3035=AF).3229 12 TR99 50 EORI-TIN (Turn) an..17 D 9 NAD[9](3035=AF).C082.3039 - R012, R174 50 Holder ID TIR an..17 D` 9 NAD[9](3035=AF).C080.3036#2 - C904 R -- R 6 LOC[6](3227=118).C517.3225 - (DEPARTURE) CUSTOMS OFFICE Reference number an8 Page 38 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.8. Declaration cancellation request (IE14 - E_DEC_CAN) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping - CUSDEC Code List Document/reference number (MRN) an..21 R 2 BGM[2].C106.1004 - Date of cancellation request n8 R 5 DTM[5](C507.2005=318).C507.2380 - Cancellation reason an..350 R 11 FTX[11](4451=ACD).C108.4440#1 Cancellation reason LNG a2 O 11 FTX[11](4451=ACD).3453 R -- (PRINCIPAL) TRADER Conditions Rules 12 TR99 50 Name an..35 D 22 NAD[22](3035=AF).C080.3036#1 - C160 50 Street and number an..35 D 22 NAD[22](3035=AF).C059.3042#1 - C160 50 Postal code an..9 D 22 NAD[22](3035=AF).3251 - C160 50 City an..35 D 22 NAD[22](3035=AF).3164 - C160 50 Country code a2 D 22 NAD[22](3035=AF).3207 8 C160 50 NAD_LNG a2 O 22 NAD[22](3035=AF).3229 12 TR99 50 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=AF).C082.3039 - R174 50 Holder ID TIR an..17 D` 22 NAD[22](3035=AF).C080.3036#2 - C904 R -- R 4 LOC[4](3227=118).C517.3225 - (DEPARTURE) CUSTOMS OFFICE Reference number an8 Page 39 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.9. Declared Data (IE15 - E_DEC_DAT) SAD Box 7 1 17A 30 30 30 Message element MESSAGE Syntax identifier Syntax version number Message sender Message recipient Date of preparation Time of preparation Interchange control reference Interchange control reference Application reference Priority Acknowledgement request Communications agreement id Test indicator Message identification Message identification a4 n1 an..35 an..35 n6 n4 an..14 an..14 an..14 a1 n1 an..35 n1 an..14 an..14 Data Req R R R R R R R R R R O O O O R R Message type an..6 R 1 Common access reference an..35 O 1 n..6 n..6 R R R R R D D D O D 151 152 -12 2 4 4 4 4 4 Number of segments (exc.UNB and UNZ) in the message Number of messages in the interchange HEADER Reference number (LRN) Type of declaration Country of destination code Agreed location of goods, code Agreed location of goods Agreed location of goods LNG Authorised location of goods, code Data Type an..22 an..9 a2 an..17 an..35 a2 an..17 Pos. EDIFACT Mapping - CUSDEC 0 0 0 0 0 0 152 0 0 0 0 0 0 151 1 UNB[0].S001.0001 UNB[0].S001.0002 UNB[0].S002.0004 UNB[0].S003.0010 UNB[0].S004.0017 UNB[0].S004.0019 UNZ[152].0020 UNB[0].0020 UNB[0].0026 UNB[0].0029 UNB[0].0031 UNB[0].0032 UNB[0].0035 UNT[151].0062 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S 009.0051=UN).0062 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S 009.0051=UN).S009.0057 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S 009.0051=UN).0068 UNT[151].0074 UNZ[152].0036 RFF[12](C506.1153=ABE).C506.1154 BGM[2].C002.1000 LOC[4](3227=36).C517.3225 LOC[4](3227=14).C517.3225 LOC[4](3227=14).C517.3224 LOC[4](3227=14).5479 LOC[4](3227=14).C519.3223 Page 40 of 198 Code List -21 22 27 - Conditions Rules TR9085 60 31 8 12 - R909, R911 C140 C100,R41 C100,R41 TR99 C100,R41 NCTS 09/06/2015 SAD Box 27 15A TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Place of loading, code Country of dispatch/export code Customs sub place Inland transport mode Transport mode at border Identity of means of transport at departure (exp/trans) Data Type an..17 a2 an..17 n..2 n..2 an..27 Identity of means of transport at departure LNG a2 O 18 TDT(8051=12).TPL[18].C222.8453 12 18 Nationality of means of transport at departure a2 D 17 TDT[17](8051=12).C222.8453 8 21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 - TR0035, TR9095 C011 Identity of means of transport crossing border LNG a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99 Nationality of means of transport crossing border a2 D 17 TDT[17](8051=11).C222.8453 8 R36,C10 Type of means of transport crossing border Containerised indicator Dialog language indicator at departure NCTS accompanying document language code Total number of items Total number of packages Total gross mass n..2 n1 a2 a2 n..5 n..7 n..11,3 O R O R R O R 17 6 11 11 145 145 8 18 27 12 12 - Declaration date Declaration place Declaration place LNG Specific Circumstance Indicator Transport charges/ Method of Payment Commercial Reference Number n8 an..35 a2 a1 a1 an..70 R R O D D D 5 4 4 12 11 7 TDT[17](8051=11).C228.8179 GIS[6](C529.1131=109).C529.7365 FTX[11](4451=ACB).3453 FTX[11](4451=ALL).3453 CNT[145](C270.6069=5).C270.6066 CNT[145](C270.6069=11).C270.6066 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6 314 DTM[5](C507.2005=137).C507.2380 LOC[4](3227=91).C517.3224 LOC[4](3227=91).5479 RFF[12](C506.1153=AMJ).C506.1154 FTX[11](4451=PAI).4453 FII[7](3035=XX).C088.3436 12 96 116 - Security Conveyance reference number n1 an..35 O O 6 11 GIS[6](C529.1131=187).C529.7365 FTX[11](4451=ACR).C108.4440#1 117 - 26 25 18 21 19 5 6 35 50 50 50 Message element Data Req D D D O D D Pos. EDIFACT Mapping - CUSDEC 4 4 4 17 17 17 LOC[4](3227=9).C517.3225 LOC[4](3227=35).C517.3225 LOC[4](3227=26).C517.3225 TDT[17](8051=1).C220.8067 TDT[17](8051=11).C220.8067 TDT[17](8051=12).C222.8212 Page 41 of 198 Code List 8 18 18 - Conditions Rules C191 C135 C100,R41 C599 TR0035, TR9090 TR99 R230 R100 R105 TR99 C186, R825 C186 C186, C547, R876 R229 C531 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Place of unloading, code Place of unloading LNG Data Type an..35 a2 Data Req D O 50 50 50 50 50 50 50 (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 50 Holder ID TIR 2 2 2 2 2 2 2 EDIFACT Mapping - CUSDEC Code List 12 Conditions Rules C186, C589 TR0099 C50, NC50 C50, NC50 C50, NC50 C50, NC50 C50, NC50 TR99 C111, C236, NR1 C904, NR1 4 4 LOC[4](3227=58).C517.3224 LOC[4](3227=58).C517.3225 R D D D D D O D 22 22 22 22 22 22 22 NAD[22](3035=AF).C080.3036#1 NAD[22](3035=AF).C059.3042#1 NAD[22](3035=AF).3251 NAD[22](3035=AF).3164 NAD[22](3035=AF).3207 NAD[22](3035=AF).3229 NAD[22](3035=AF).C082.3039 8 12 - an..17 D` 22 NAD[22](3035=AF).C080.3036#2 - (CONSIGNOR) TRADER. Name Street and number Postal code an..35 an..35 an..9 O R R R 22 22 22 NAD[22](3035=CZ).C080.3036#1 NAD[22](3035=CZ).C059.3042#1 NAD[22](3035=CZ).3251 - City Country code NAD_LNG EORI-TIN (Turn) an..35 a2 a2 an..17 R R O O 22 22 22 22 NAD[22](3035=CZ).3164 NAD[22](3035=CZ).3207 NAD[22](3035=CZ).3229 NAD[22](3035=CZ).C082.3039 (CONSIGNEE) TRADER. 8 8 8 8 8 8 8 Pos. Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) R10 8 12 - D an..35 an..35 an..9 an..35 a2 a2 an..17 R R R R R O O TR99 R011,C001, TR0601 22 22 22 22 22 22 22 NAD[22](3035=CN).C080.3036#1 NAD[22](3035=CN).C059.3042#1 NAD[22](3035=CN).3251 NAD[22](3035=CN).3164 NAD[22](3035=CN).3207 NAD[22](3035=CN).3229 NAD[22](3035=CN).C082.3039 Page 42 of 198 8 12 - TR99 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (AUTHORISED CONSIGNEE) TRADER EORI-TIN (Turn) C (DEPARTURE) CUSTOMS OFFICE Reference number Data Type an..17 an8 (TRANSIT) CUSTOMS OFFICE occurs 9 51 Data Req O R Pos. -22 NAD[22](3035=TD).C082.3039 - R R -4 LOC[4](3227=118).C517.3225 - D -4 LOC[4](3227=50).C517.3225 - Reference number an8 R Arrival Time EDIFACT Mapping - CUSDEC Code List n12 D 4 LOC[4](3227=50).C519.3223 - 53 (DESTINATION) CUSTOMS OFFICE Reference number an8 R R -4 LOC[4](3227=45).C517.3225 - D D CONTROL RESULT Control result code Date limit an2 n8 O R R -11 5 FTX[11](4451=ADO).C107.4441 DTM[5](C507.2005=268).C507.2380 47 - REPRESENTATIVE Name Representative capacity Representative capacity LNG an..35 an ..35 a2 O R O O -22 11 11 NAD[22](3035=AH).C080.3036#1 FTX[11](4451=ACP).C108.4440#1 FTX[11](4451=ACP).3453 12 n..4 O R -145 CNT[145](C270.6069=16).C270.6066 an..20 a2 R R O -10 10 SEL[10](9308=0).C215.9302 SEL[10](9308=0).4517 an..24 R R D D -12 -14 an..35 D 14 50 50 D D 52 52 52 SEALS INFO Seals number SEALS ID occurs 9999 SEALS ID.Seals identity SEALS ID.Seals identity LNG GUARANTEE occurs 9 Guarantee type GUARANTEE REFERENCE occurs 99 GUARANTEE REFERENCE.Guarantee reference number (GRN) GUARANTEE REFERENCE.Other guarantee reference an1 Conditions Rules R15 R901 C030, R902, TR0630 R906, R907, R908, R910, TR0635 C598, R660 R901, R904, R905, TR0635 R160 R903 TR99 R165 12 TR99 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 51 - C900 C085 C125,TR301 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900 RFF[12](C506.1153=ABL).C506.1154 Page 43 of 198 NCTS 09/06/2015 SAD Box 52 52 52 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element GUARANTEE REFERENCE.Access code GUARANTEE REFERENCE - VALIDITY LIMITATION EC GUARANTEE REFERENCE - VALIDITY LIMITATION EC.Not valid for EC GUARANTEE REFERENCE - VALIDITY LIMITATION NON EC occurs 99 GUARANTEE REFERENCE - VALIDITY LIMITATION NON EC.Not valid for other contracting parties Data Type an4 Data Req D Pos. O -- R 15 O -- a2 R 15 n1 14 EDIFACT Mapping - CUSDEC RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 Code List - RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.710 2#1 27 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.710 2#1 71 R231 R5,R7, TR1200 C15,R60, R470 C45 GOODS ITEM occurs 999 Item number n..5 R R -92 CST[92].1496 - 33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - 1 31 35 Type of Declaration Goods description Goods description LNG Gross mass an..9 an..260 a2 n..11,3 D R O O 92 93 93 96 38 Net mass n..11,3 O 96 Country of dispatch/export code Country of destination code Transport charges/ Method of Payment a2 a2 a1 D D D 94 94 98 CST[92].C246#5.7361 CST.FTX[93](4451=AAA).C108.4440#1 CST.FTX[93](4451=AAA).3453 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174 .6411=KGM).C174.6314 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174 .6411=KGM).C174.6314 CST.LOC[94](3227=35).C517.3225 CST.LOC[94](3227=36).C517.3225 CST.TDT[98](8051=10).C228.8179 Commercial Reference Number an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 UN dangerous goods code an4 O 98 CST.TDT[98](8051=10).C222.8213 D -- R 111 PREV ADMIN REF occurs 9 40 PREV ADMIN REF .Previous document type an..6 R230 - 32 15A 17A Conditions Rules C86 31 12 8 8 116 101 - CST.DOC[111](C002.1001=190).C002.1000 Page 44 of 198 TR99 R700 C135 C140 C186, C576, TR9120 C186, C547, R876 C186 C035, TR0635 R20,TR100 NCTS 09/06/2015 SAD Box 40 40 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element PREV ADMIN REF .Previous document reference Data Type an..35 PREV ADMIN REF .Previous document reference LNG a2 O 111 CST.DOC[111](C002.1001=190).C503.3453 12 PREV ADMIN REF .Complement of information an..26 O 111 CST.DOC[111](C002.1001=190).C503.1366 - PREV ADMIN REF .Complement of information LNG a2 O 111 CST.DOC[111](C002.1001=190).C503.1373 12 TR99 D -- - C903, C547 PRODUCED DOC/CERT occurs 99 Data Req R Pos. 111 EDIFACT Mapping - CUSDEC Conditions Rules CST.DOC[111](C002.1001=190).C503.1004 Code List - TR99 44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 44 PRODUCED DOC/CERT.Document reference an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C901, TR0103 C902 PRODUCED DOC/CERT.Document reference LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99 PRODUCED DOC/CERT.Complement of information an..26 O 111 CST.DOC[111](C002.1001=916).C503.1366 - PRODUCED DOC/CERT.Complement of information LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.1373 12 TR99 SPECIAL MENTIONS occurs 99 SPECIAL MENTIONS.Additional information O O -117 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 - R027 an..70 SPECIAL MENTIONS.Additional information LNG a2 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).3453 12 TR99 44 SPECIAL MENTIONS.Additional information coded an..5 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C107.4441 39 TR101 44 SPECIAL MENTIONS.Export from EC n1 D 115 CST.TOD[115](4055=2).C100.4053 27 C75,R75 44 SPECIAL MENTIONS.Export from country a2 D 115 CST.TOD[115](4055=2).C100.1131 63 C75,R75 an..35 an..35 O R R -97 97 CST.NAD[97](3035=CZ).C080.3036#1 CST.NAD[97](3035=CZ).C059.3042#1 - R10 02 02 (CONSIGNOR) TRADER (CONSIGNOR) TRADER.Name (CONSIGNOR) TRADER.Street and number 02 02 (CONSIGNOR) TRADER.Postal code (CONSIGNOR) TRADER.City an..9 an..35 R R 97 97 CST.NAD[97](3035=CZ).3251 CST.NAD[97](3035=CZ).3164 - 44 44 Page 45 of 198 NCTS 09/06/2015 SAD Box 02 02 02 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (CONSIGNOR) TRADER.Country code (CONSIGNOR) TRADER.NAD_LNG (CONSIGNOR) TRADER.EORI-TIN (Turn) Data Type a2 a2 an..17 (CONSIGNEE) TRADER Data Req R O O Pos. D -- 97 97 97 EDIFACT Mapping - CUSDEC CST.NAD[97](3035=CZ).3207 CST.NAD[97](3035=CZ).3229 CST.NAD[97](3035=CZ).C082.3039 Code List 8 12 - Conditions Rules - R011,C002, TR0601 TR99 08 08 (CONSIGNEE) TRADER.Name (CONSIGNEE) TRADER.Street and number an..35 an..35 R R 97 97 CST.NAD[97](3035=CN).C080.3036#1 CST.NAD[97](3035=CN).C059.3042#1 -- 08 08 08 08 08 (CONSIGNEE) TRADER.Postal code (CONSIGNEE) TRADER.City (CONSIGNEE) TRADER.Country code (CONSIGNEE) TRADER.NAD_LNG (CONSIGNEE) TRADER.EORI-TIN (Turn) an..9 an..35 a2 a2 an..17 R R R O O 97 97 97 97 97 CST.NAD[97](3035=CN).3251 CST.NAD[97](3035=CN).3164 CST.NAD[97](3035=CN).3207 CST.NAD[97](3035=CN).3229 CST.NAD[97](3035=CN).C082.3039 8 12 - 31 CONTAINERS occurs 99 CONTAINERS.Container number an..17 D R -105 CST.RFF[105](C506.1153=AAQ).C506.1154 - 31 PACKAGES occurs 99 PACKAGES.Marks & numbers of packages an..42 R D -100 CST.PAC(7224=6).PCI[100](4233=28).C210.7102#1 - C60 PACKAGES.Marks & numbers of packages LNG a2 O 100 CST.PAC(7224=6).PCI[100](4233=28).8275 12 TR99 31 31 PACKAGES.Kind of packages PACKAGES.Number of packages an..3 n..5 R D 99 99 CST.PAC[99](7224=6).C402.7077 CST.PAC[99](7224=6).C402.7064#1 17 - 31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - 31 31 SGI CODES occurs 9. SGI CODES.Sensitive goods code SGI CODES.Sensitive quantity n..2 n..11,3 O O R -131 131 CST.GIR[131](7297=3).C206#2.7402 CST.GIR[131](7297=3).C206#1.7402 64 - R155 R156 - C186, C187 97 97 97 97 97 NAD[97](3035=GM).C080.3036#1 NAD[97](3035=GM).C059.3042#1 NAD[97](3035=GM).3251 NAD[97](3035=GM).3164 NAD[97](3035=GM).3207 8 C501 C501 C501 C501 C501 D (CONSIGNOR-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code an..35 an..35 an..9 an..35 a2 D D D D D Page 46 of 198 TR99 C55 C60, R021, TR0022 C60 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element NAD_LNG EORI-TIN (Turn) Data Type a2 an..17 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) ITINERARY occurs 99 an..35 an..35 an..9 an..35 a2 a2 an..17 Country of routing code (CARRIER) TRADER occurs 1 a2 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 EDIFACT Mapping - CUSDEC 97 97 NAD[97](3035=GM).3229 NAD[97](3035=GM).C082.3039 D D D D D O D D R 97 97 97 97 97 97 97 NAD[97](3035=DP).C080.3036#1 NAD[97](3035=DP).C059.3042#1 NAD[97](3035=DP).3251 NAD[97](3035=DP).3164 NAD[97](3035=DP).3207 NAD[97](3035=DP).3229 NAD[97](3035=DP).C082.3039 9 EQD[9](8053=CH).C237.3207 D Conditions Rules TR0099 C572 - C186, C188 8 12 8 C501 C501 C501 C501 C501 TR0099 C596 C186, C587 - C186, R181 8 12 - C501 C501 C501 C501 C501 TR0099 C186, C187 22 22 22 22 22 22 22 an..35 an..35 an..9 an..35 a2 a2 an..17 D D D D D O D D 22 22 22 22 22 22 22 NAD[22](3035=GL).C080.3036#1 NAD[22](3035=GL).C059.3042#1 NAD[22](3035=GL).3251 NAD[22](3035=GL).3164 NAD[22](3035=GL).3207 NAD[22](3035=GL).3229 NAD[22](3035=GL).C082.3039 8 12 - C501 C501 C501 C501 C501 TR0099 C572 C186, C188 an..35 an..35 D D 22 22 NAD[22](3035=UC).C080.3036#1 NAD[22](3035=UC).C059.3042#1 - C501 C501 (CONSIGNEE-SECURITY) TRADER occurs 1 NAD[22](3035=GA).C080.3036#1 NAD[22](3035=GA).C059.3042#1 NAD[22](3035=GA).3251 NAD[22](3035=GA).3164 NAD[22](3035=GA).3207 NAD[22](3035=GA).3229 NAD[22](3035=GA).C082.3039 Code List 12 - D D D D D O D D (CONSIGNOR-SECURITY) TRADER occurs 1 Name Street and number Pos. D (CONSIGNEE-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Data Req O D Page 47 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Postal code City Country code NAD_LNG EORI-TIN (Turn) Data Type an..9 an..35 a2 a2 an..17 Data Req D D D O D Pos. 22 22 22 22 22 EDIFACT Mapping - CUSDEC NAD[22](3035=UC).3251 NAD[22](3035=UC).3164 NAD[22](3035=UC).3207 NAD[22](3035=UC).3229 NAD[22](3035=UC).C082.3039 Page 48 of 198 Code List 8 12 - Conditions Rules C501 C501 C501 TR0099 C596 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.10. Declaration rejected (IE16 - E_DEC_REJ) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping - FUNACK Code List 7 Reference number (LRN) an..22 R 12 RFF[12](C506.1153=ABE).C506.1154 1 Type of declaration an..9 R 2 BGM[2].C002.1000 Declaration rejection date n8 R 3 DTM[3](C507.2005=46).C507.2380 - Declaration rejection reason an..350 O 4 FTX[4](4451=ACD).C108.4440#1 - Declaration rejection reason LNG a2 O 4 FTX[4](4451=ACD).3453 12 D -- R 4 FTX[4](4451=AAO).C107.4441 49 FUNCTIONAL ERROR occurs 999 Conditions Rules 31 TR99 R123 Error type n2 Error pointer an..210 R 4 FTX[4](4451=AAO).C108.4440#1 100 Error reason an..6 O 4 FTX[4](4451=AAO).C108.4440#4 - Original attribute value an..140 O 4 FTX[4](4451=AAP).C108.4440#1 - Page 49 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.11. Goods release notification (IE25 - E_GDS_REL) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping -CUSRES Code List Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 - Goods release date n8 R 3 DTM[3](C507.2005=261).C507.2380 - (DESTINATION) TRADER Conditions Rules R -- Name an..35 D 9 NAD[9](3035=CPD).C080.3036#1 - C160 Street and number an..35 D 9 NAD[9](3035=CPD).C059.3042#1 - C160 Postal code an..9 D 9 NAD[9](3035=CPD).3251 - C160 City an..35 D 9 NAD[9](3035=CPD).3164 - C160 Country code a2 D 9 NAD[9](3035=CPD).3207 8 C160 NAD_LNG a2 O 9 NAD[9](3035=CPD).3229 12 TR99 EORI-TIN (Turn) an..17 O 9 NAD[9](3035=CPD).C082.3039 R -- R 6 (PRESENTATION OFFICE) CUSTOMS OFFICE Reference number an8 LOC[6](3227=22).C517.3225 Page 50 of 198 R012 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.12. MRN Allocated (IE28 - E_MRN_ALL) SAD Box Message element Data Type MESSAGE (as per IE15 - E_DEC_DAT) 7 50 50 50 50 50 50 50 50 Data Req R Pos. EDIFACT Mapping - CUSRES -12 2 3 RFF[12](C506.1153=ABE).C506.1154 BGM[2](1225=11).C106.1004 DTM[3](C507.2005=148).C507.2380 Code List Conditions Rules -- HEADER Reference number (LRN) Document/reference number (MRN) Acceptance date an..22 an..21 n8 R R R R (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Holder ID TIR an..35 an..35 an..9 an..35 a2 a2 an..17 an..17 R D D D D D O O D -9 9 9 9 9 9 9 9 NAD[9](3035=AF).C080.3036#1 NAD[9](3035=AF).C059.3042#1 NAD[9](3035=AF).3251 NAD[9](3035=AF).3164 NAD[9](3035=AF).3207 NAD[9](3035=AF).3229 NAD[9](3035=AF).C082.3039 NAD[9](3035=AF).C080.3036#2 (DEPARTURE) CUSTOMS OFFICE Reference number an8 R R -6 LOC[6](3227=118).C517.3225 Page 51 of 198 8 12 - C160 C160 C160 C160 C160 TR99 R012 C904 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.13. Release for Transit (IE29 - E_REL_TRA) SAD Box Message element Data Type Pos. an..22 an..21 an..9 a2 an..17 an..35 a2 an..17 an..17 a2 an..17 n..2 n..2 an..27 R R R R D D D O D D D D O D D -12 2 2 4 4 4 4 4 4 4 4 17 17 17 RFF[12](C506.1153=ABE).C506.1154 BGM[2].C106.1004 BGM[2].C002.1000 LOC[4](3227=36).C517.3225 LOC[4](3227=14).C517.3225 LOC[4](3227=14).C517.3224 LOC[4](3227=14).5479 LOC[4](3227=14).C519.3223 LOC[4](3227=9).C517.3225 LOC[4](3227=35).C517.3225 LOC[4](3227=26).C517.3225 TDT[17](8051=1).C220.8067 TDT[17](8051=11).C220.8067 TDT[17](8051=12).C222.8212 31 8 12 8 18 18 - a2 O 18 TDT(8051=12).TPL[18].C222.8453 12 a2 D 17 TDT[17](8051=12).C222.8453 8 - TR0035, TR9095 C011 MESSAGE (as per IE15 - E_DEC_DAT) 7 1 17A 30 30 30 27 15A 26 25 18 HEADER Reference number (LRN) Document/Reference number (MRN) Type of declaration Country of destination code Agreed location of goods, code Agreed location of goods Agreed location of goods LNG Authorised location of goods, code Place of loading, code Country of dispatch/export code Customs sub place Inland transport mode Transport mode at border Identity of means of transport at departure (exp/trans) EDIFACT Mapping – CUSDEC Data Req R Code List -- Conditions Rules R143 R909, R911 C140 C100,R41 C100,R41 TR99 C100,R41 C191 C135 C100,R41 C599 TR0035, TR9090 TR99 18 Identity of means of transport at departure LNG Nationality of means of transport at departure 21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 Identity of means of transport crossing border LNG Nationality of means of transport crossing border Type of means of transport crossing border Containerised indicator a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99 a2 D 17 TDT[17](8051=11).C222.8453 8 R36,C10 n..2 n1 O R 17 6 TDT[17](8051=11).C228.8179 GIS[6](C529.1131=109).C529.7365 18 27 R230 NCTS return copy n1 R 6 GIS[6](C529.1131=62).C529.7365 27 R330 21 19 Page 52 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 EDIFACT Mapping – CUSDEC Data Type n8 n8 a2 a2 Data Req R R O R Pos. 5 5 11 11 DTM[5](C507.2005=148).C507.2380 DTM[5](C507.2005=182).C507.2380 FTX[11](4451=ACB).3453 FTX[11](4451=ALL).3453 n..5 n..7 n..11,3 n1 R O R R 145 145 8 11 CNT[145](C270.6069=5).C270.6066 CNT[145](C270.6069=11).C270.6066 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6314 FTX[11](4451=ABL).C108.4440#1 27 Authorisation id Declaration date Declaration place Declaration place LNG Specific Circumstance Indicator Transport charges/ Method of Payment Commercial Reference Number an..17 n8 an..35 a2 a1 a1 an..70 O R R O D D D 12 5 4 4 12 11 7 RFF[12](C506.1153=LAN).C506.1154 DTM[5](C507.2005=137).C507.2380 LOC[4](3227=91).C517.3224 LOC[4](3227=91).5479 RFF[12](C506.1153=AMJ).C506.1154 FTX[11](4451=PAI).4453 FII[7](3035=XX).C088.3436 12 96 116 - Security Conveyance reference number Place of unloading, code Place of unloading LNG n1 an..35 an..35 a2 O O D O 6 11 4 4 GIS[6](C529.1131=187).C529.7365 FTX[11](4451=ACR).C108.4440#1 LOC[4](3227=58).C517.3224 LOC[4](3227=58).C517.3225 117 12 50 50 50 50 50 50 50 (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 R D D D D D O D 22 22 22 22 22 22 22 NAD[22](3035=AF).C080.3036#1 NAD[22](3035=AF).C059.3042#1 NAD[22](3035=AF).3251 NAD[22](3035=AF).3164 NAD[22](3035=AF).3207 NAD[22](3035=AF).3229 NAD[22](3035=AF).C082.3039 8 12 - 50 Holder ID TIR an..17 D 22 NAD[22](3035=AF).C080.3036#2 - 5 6 35 D 50 50 Message element Acceptance date Issuing date Dialog language indicator at departure NCTS accompanying document language code Total number of items Total number of packages Total gross mass Binding itinerary Page 53 of 198 Code List 12 12 Conditions Rules R100 R105 R230 TR99 C186, C825 C186 C186, C547, R876 R229 C531 C186, C589 TR0099 C50, NC50 C50, NC50 C50, NC50 C50, NC50 C50, NC50 TR99 C111, C236, NR1 C904, NR1 NCTS 09/06/2015 SAD Box 2 2 2 2 2 2 2 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (CONSIGNOR) TRADER. Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Data Type an..35 an..35 an..9 an..35 a2 a2 an..17 (CONSIGNEE) TRADER. 8 8 8 8 8 8 8 C Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) 53 Pos. 22 22 22 22 22 22 22 EDIFACT Mapping – CUSDEC NAD[22](3035=CZ).C080.3036#1 NAD[22](3035=CZ).C059.3042#1 NAD[22](3035=CZ).3251 NAD[22](3035=CZ).3164 NAD[22](3035=CZ).3207 NAD[22](3035=CZ).3229 NAD[22](3035=CZ).C082.3039 Code List 8 12 - D R R R R R O O 22 22 22 22 22 22 22 NAD[22](3035=CN).C080.3036#1 NAD[22](3035=CN).C059.3042#1 NAD[22](3035=CN).3251 NAD[22](3035=CN).3164 NAD[22](3035=CN).3207 NAD[22](3035=CN).3229 NAD[22](3035=CN).C082.3039 (AUTHORISED CONSIGNEE) TRADER EORI-TIN (Turn) an..17 O R -22 NAD[22](3035=TD).C082.3039 - (DEPARTURE) CUSTOMS OFFICE Reference number R R -4 LOC[4](3227=118).C517.3225 - D -4 LOC[4](3227=50).C517.3225 - an8 8 12 - TR99 TR99 R15 Reference number an8 R Arrival Time n12 D 4 LOC[4](3227=50).C519.3223 - an8 R R -4 LOC[4](3227=45).C517.3225 - (DESTINATION) CUSTOMS OFFICE Reference number Conditions Rules R10 R011,C001, TR0601 an..35 an..35 an..9 an..35 a2 a2 an..17 (TRANSIT) CUSTOMS OFFICE occurs 9 51 Data Req O R R R R R O O Page 54 of 198 C901 C030, R902, TR0630 R906, R907, R908, R910, TR0635 C598, R660 R901, R904, R905, TR0635 NCTS 09/06/2015 SAD Box D D D D 50 50 D D 52 52 52 52 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (RETURN COPIES) CUSTOMS OFFICE Reference number Customs office name Street and number Country code Postal code City NAD_LNG CONTROL RESULT Control date Control Result Code Controlled by Controlled by LNG Date limit REPRESENTATIVE Name Representative capacity Representative capacity LNG Data Type Pos. n8 an2 an..35 a2 n8 Data Req O R R R R R R O O R R R O R an..35 an..35 a2 O R O O -22 11 11 O R R R O -145 -10 10 an..24 R R D D -12 -14 an..35 D an4 D an8 an..35 an..35 a2 an..9 an..35 a2 SEALS INFO Seals number n..4 SEALS ID occurs 9999 SEALS ID.Seals identity SEALS ID.Seals identity LNG an..20 a2 GUARANTEE occurs 9 Guarantee type an1 GUARANTEE REFERENCE occurs 99 GUARANTEE REFERENCE.Guarantee reference number (GRN) GUARANTEE REFERENCE.Other guarantee reference GUARANTEE REFERENCE.Access code -4 4 4 4 4 4 4 -5 11 22 22 5 EDIFACT Mapping – CUSDEC Code List Conditions Rules R330 LOC[4](3227=168).C517.3225 LOC[4](3227=168).C517.3224 LOC[4](3227=168).C519.3222 LOC[4](3227=168).C519.3223 LOC[4](3227=168).C553.3233 LOC[4](3227=168).C553.3232 LOC[4](3227=168).5479 9 12 DTM[5](C507.2005=9).C507.2380 FTX[11](4451=ADO).C107.4441 NAD[22](3035=EI).C082.3039 NAD[22](3035=EI).3207 DTM[5](C507.2005=268).C507.2380 47 12 TR99 NAD[22](3035=AH).C080.3036#1 FTX[11](4451=ACP).C108.4440#1 FTX[11](4451=ACP).3453 12 TR99 CNT[145](C270.6069=16).C270.6066 12 TR99 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 51 - C900 C085 C125,TR301 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 - C86 TR99 R335 R903 R165 SEL[10](9308=0).C215.9302 SEL[10](9308=0).4517 RFF[12](C506.1153=ABL).C506.1154 Page 55 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Pos. R 15 O -- a2 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.7102#1 32 GOODS ITEM occurs 999 Item number n..5 R R -92 33 Commodity code (taric code) an..22 D 1 31 Type of Declaration Goods description Goods description LNG Gross mass Net mass Country of dispatch/export code Country of destination code Transport charges/ Method of Payment an..9 an..260 a2 n..11,3 n..11,3 a2 a2 a1 Commercial Reference Number UN dangerous goods code 52 35 38 15A 17A GUARANTEE REFERENCE VALIDITY LIMITATION EC GUARANTEE REFERENCE - VALIDITY LIMITATION EC.Not valid for EC GUARANTEE REFERENCE VALIDITY LIMITATION NON EC occurs 99 GUARANTEE REFERENCE - VALIDITY LIMITATION NON EC.Not valid for other contracting parties Data Type EDIFACT Mapping – CUSDEC Data Req O 52 Message element n1 40 PREV ADMIN REF .Previous document type PREV ADMIN REF .Previous document reference RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.7102#1 Conditions Rules 27 R230 - 71 R231 CST[92].1496 - 92 CST[92].C246#1.7361 - D R O O O D D D 92 93 93 96 96 94 94 98 CST[92].C246#5.7361 CST.FTX[93](4451=AAA).C108.4440#1 CST.FTX[93](4451=AAA).3453 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C174.6314 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C174.6314 CST.LOC[94](3227=35).C517.3225 CST.LOC[94](3227=36).C517.3225 CST.TDT[98](8051=10).C228.8179 R5,R7, TR1200 C15,R60, R470 C45 an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 an4 O 98 CST.TDT[98](8051=10).C222.8213 D -- an..6 R 111 CST.DOC[111](C002.1001=190).C002.1000 - an..35 R 111 CST.DOC[111](C002.1001=190).C503.1004 - PREV ADMIN REF occurs 9 40 -- Code List - 31 12 8 8 116 101 - Page 56 of 198 TR99 R700 C135 C140 C186, C576, TR9120 C186, C547, R876 C186 C035, TR0635 R020,TR100 NCTS 09/06/2015 SAD Box 40 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element PREV ADMIN REF .Previous document reference LNG PREV ADMIN REF .Complement of information PREV ADMIN REF .Complement of information LNG EDIFACT Mapping – CUSDEC Data Type a2 Data Req O Pos. 111 CST.DOC[111](C002.1001=190).C503.3453 Code List 12 an..26 O 111 CST.DOC[111](C002.1001=190).C503.1366 - a2 O 111 CST.DOC[111](C002.1001=190).C503.1373 12 TR99 D -- - C547, C903 PRODUCED DOC/CERT occurs 99 Conditions Rules TR99 44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 44 PRODUCED DOC/CERT.Document reference PRODUCED DOC/CERT.Document reference LNG an..35 F 111 CST.DOC[111](C002.1001=916).C503.1004 - C901, TR0103 C902 a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99 PRODUCED DOC/CERT.Complement of information an..26 O 111 CST.DOC[111](C002.1001=916).C503.1366 - PRODUCED DOC/CERT.Complement of information LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.1373 12 TR99 O O -117 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 - R027 an..70 a2 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).3453 12 TR99 an..5 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C107.4441 - TR101 n1 D 115 CST.TOD[115](4055=2).C100.4053 27 C75,R75 63 C75,R75 R10 44 44 SPECIAL MENTIONS occurs 99 SPECIAL MENTIONS.Additional information SPECIAL MENTIONS.Additional information LNG SPECIAL MENTIONS.Additional information coded SPECIAL MENTIONS.Export from EC 44 SPECIAL MENTIONS.Export from country a2 D 115 CST.TOD[115](4055=2).C100.1131 02 02 (CONSIGNOR) TRADER (CONSIGNOR) TRADER.Name (CONSIGNOR) TRADER.Street and number an..35 an..35 O R R -97 97 CST.NAD[97](3035=CZ).C080.3036#1 CST.NAD[97](3035=CZ).C059.3042#1 - 02 02 (CONSIGNOR) TRADER.Postal code (CONSIGNOR) TRADER.City an..9 an..35 R R 97 97 CST.NAD[97](3035=CZ).3251 CST.NAD[97](3035=CZ).3164 - 44 44 Page 57 of 198 NCTS 09/06/2015 SAD Box 02 02 02 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (CONSIGNOR) TRADER.Country code (CONSIGNOR) TRADER.NAD_LNG (CONSIGNOR) TRADER.EORI-TIN (Turn) Data Type a2 a2 an..17 (CONSIGNEE) TRADER Data Req R O O Pos. D -- 97 97 97 EDIFACT Mapping – CUSDEC CST.NAD[97](3035=CZ).3207 CST.NAD[97](3035=CZ).3229 CST.NAD[97](3035=CZ).C082.3039 Code List 8 12 - Conditions Rules - R011,C002, TR0601 TR99 08 08 (CONSIGNEE) TRADER.Name (CONSIGNEE) TRADER.Street and number an..35 an..35 R R 97 97 CST.NAD[97](3035=CN).C080.3036#1 CST.NAD[97](3035=CN).C059.3042#1 08 08 08 08 08 (CONSIGNEE) TRADER.Postal code (CONSIGNEE) TRADER.City (CONSIGNEE) TRADER.Country code (CONSIGNEE) TRADER.NAD_LNG (CONSIGNEE) TRADER.EORI-TIN (Turn) an..9 an..35 a2 a2 an..17 R R R O O 97 97 97 97 97 CST.NAD[97](3035=CN).3251 CST.NAD[97](3035=CN).3164 CST.NAD[97](3035=CN).3207 CST.NAD[97](3035=CN).3229 CST.NAD[97](3035=CN).C082.3039 31 CONTAINERS occurs 99 CONTAINERS.Container number an..17 D R -105 CST.RFF[105](C506.1153=AAQ).C506.1154 - 31 PACKAGES occurs 99 PACKAGES.Marks & numbers of packages an..42 R D -100 CST.PAC(7224=6).PCI[100](4233=28).C210.7102#1 - C60 a2 O 100 CST.PAC(7224=6).PCI[100](4233=28).8275 12 TR99 31 31 PACKAGES.Marks & numbers of packages LNG PACKAGES.Kind of packages PACKAGES.Number of packages an..3 n..5 R D 99 99 CST.PAC[99](7224=6).C402.7077 CST.PAC[99](7224=6).C402.7064#1 17 - 31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - 31 31 SGI CODES occurs 9. SGI CODES.Sensitive goods code SGI CODES.Sensitive quantity n..2 n..11,3 O O R -131 131 CST.GIR[131](7297=3).C206#2.7402 CST.GIR[131](7297=3).C206#1.7402 64 - C186, C187 - C501 C501 C501 C501 D (CONSIGNOR-SECURITY) TRADER occurs 1 Name Street and number Postal code City an..35 an..35 an..9 an..35 D D D D 97 97 97 97 NAD[97](3035=GM).C080.3036#1 NAD[97](3035=GM).C059.3042#1 NAD[97](3035=GM).3251 NAD[97](3035=GM).3164 Page 58 of 198 8 12 - TR99 C55 C60, R021, TR0022 C60 R155 R156 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element EDIFACT Mapping – CUSDEC Data Type a2 a2 an..17 Data Req D O D D Pos. 97 97 97 NAD[97](3035=GM).3207 NAD[97](3035=GM).3229 NAD[97](3035=GM).C082.3039 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) ITINERARY occurs 99 an..35 an..35 an..9 an..35 a2 a2 an..17 97 97 97 97 97 97 97 NAD[97](3035=DP).C080.3036#1 NAD[97](3035=DP).C059.3042#1 NAD[97](3035=DP).3251 NAD[97](3035=DP).3164 NAD[97](3035=DP).3207 NAD[97](3035=DP).3229 NAD[972](3035=DP).C082.3039 Country of routing code (CARRIER) TRADER occurs 1 a2 D D D D D O D D R 9 EQD[9](8053=CH).C237.3207 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 D D D D D O D D 22 22 22 22 22 22 22 NAD[22](3035=GA).C080.3036#1 NAD[22](3035=GA).C059.3042#1 NAD[22](3035=GA).3251 NAD[22](3035=GA).3164 NAD[22](3035=GA).3207 NAD[22](3035=GA).3229 NAD[22](3035=GA).C082.3039 D D D D D O D 22 22 22 22 22 22 22 Country code NAD_LNG EORI-TIN (Turn) (CONSIGNEE-SECURITY) TRADER occurs 1 D (CONSIGNOR-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 NAD[22](3035=GL).C080.3036#1 NAD[22](3035=GL).C059.3042#1 NAD[22](3035=GL).3251 NAD[22](3035=GL).3164 NAD[22](3035=GL).3207 NAD[22](3035=GL).3229 NAD[22](3035=GL).C082.3039 Page 59 of 198 Code List 8 12 - Conditions Rules C501 TR0099 C572 C186, C188 8 12 8 C501 C501 C501 C501 C501 TR0099 C596 C186, C587 - C186, R181 8 12 - C501 C501 C501 C501 C501 TR0099 C186, C187 8 12 - C501 C501 C501 C501 C501 TR0099 C572 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type (CONSIGNEE-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 Data Req D Pos. D D D D D O D 22 22 22 22 22 22 22 EDIFACT Mapping – CUSDEC NAD[22](3035=UC).C080.3036#1 NAD[22](3035=UC).C059.3042#1 NAD[22](3035=UC).3251 NAD[22](3035=UC).3164 NAD[22](3035=UC).3207 NAD[22](3035=UC).3229 NAD[22](3035=UC).C082.3039 Page 60 of 198 Code List - Conditions Rules C186, C188 8 12 - C501 C501 C501 C501 C501 TR0099 C596 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.14. Unloading permission (IE43 - E_ULD_PER) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping - CUSDEC Code List Conditions Rules R195 Document/reference number (MRN) an..21 R 2 BGM[2].C106.1004 - Type of Declaration an..9 D 2 BGM[2].C002.1000 31 17A Country of destination code a2 D 4 LOC[4](3227=36).C517.3225 8 C140 15A Country of dispatch/export code a2 D 4 LOC[4](3227=35).C517.3225 8 C135 18 Identity of means of transport at departure (exp/trans) an..27 D 17 TDT[17](8051=12).C222.8212 - TR9090 18 Identity of means of transport at departure LNG a2 O 18 TDT(8051=12).TPL[18].C222.8453 12 TR99 18 Nationality of means of transport at departure a2 D 17 TDT[17](8051=12).C222.8453 8 TR0035, TR9095 19 Containerised indicator n1 D 6 GIS[6](C529.1131=109).C529.7365 27 R230 Acceptance date n8 D 5 DTM[5](C507.2005=148).C507.2380 - 5 Total number of items n..5 D 145 CNT[145](C270.6069=5).C270.6066 - 6 Total number of packages n..7 O 145 CNT[145](C270.6069=11).C270.6066 - 35 Total gross mass n..11,3 D 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6 314 - 50 50 50 50 50 50 50 50 (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Holder ID TIR an..35 an..35 an..9 an..35 a2 a2 an..17 an..17 D R R R R R O O D -22 22 22 22 22 22 22 22 NAD[22](3035=AF).C080.3036#1 NAD[22](3035=AF).C059.3042#1 NAD[22](3035=AF).3251 NAD[22](3035=AF).3164 NAD[22](3035=AF).3207 NAD[22](3035=AF).3229 NAD[22](3035=AF).C082.3039 NAD[22](3035=AF).C080.3036#2 8 12 - 2 2 2 (CONSIGNOR) TRADER Name Street and number Postal code an..35 an..35 an..9 O R R R -22 22 22 NAD[22](3035=CZ).C080.3036#1 NAD[22](3035=CZ).C059.3042#1 NAD[22](3035=CZ).3251 - TR99 R012 C904 R10 Page 61 of 198 NCTS 09/06/2015 SAD Box 2 2 2 2 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element City Country code NAD_LNG EORI-TIN (Turn) Data Type an..35 a2 a2 an..17 (CONSIGNEE) TRADER 8 8 8 8 8 8 8 Data Req R R O O Pos. D -- 22 22 22 22 EDIFACT Mapping - CUSDEC NAD[22](3035=CZ).3164 NAD[22](3035=CZ).3207 NAD[22](3035=CZ).3229 NAD[22](3035=CZ).C082.3039 Code List 8 12 - Conditions Rules TR99 R012 R011, C001, TR0601 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 R R R R R O O 22 22 22 22 22 22 22 NAD[22](3035=CN).C080.3036#1 NAD[22](3035=CN).C059.3042#1 NAD[22](3035=CN).3251 NAD[22](3035=CN).3164 NAD[22](3035=CN).3207 NAD[22](3035=CN).3229 NAD[22](3035=CN).C082.3039 8 12 - TR99 R012 (DESTINATION) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 R D D D D D O O -22 22 22 22 22 22 22 NAD[22](3035=CPD).C080.3036#1 NAD[22](3035=CPD).C059.3042#1 NAD[22](3035=CPD).3251 NAD[22](3035=CPD).3164 NAD[22](3035=CPD).3207 NAD[22](3035=CPD).3229 NAD[22](3035=CPD).C082.3039 8 12 - C160 C160 C160 C160 C160 TR99 R012 (DEPARTURE) CUSTOMS OFFICE Reference number an8 D R -4 LOC[4](3227=118).C517.3225 - an8 R R -4 LOC[4](3227=22).C517.3225 - n1 O R -6 GIS[6](C529.1131=63).C529.7365 O R R R O -145 -10 10 (PRESENTATION OFFICE) CUSTOMS OFFICE Reference number CTL_CONTROL Continue unloading SEALS INFO Seals number SEALS ID occurs 9999 SEALS ID.Seals identity SEALS ID.Seals identity LNG n..4 an..20 a2 CNT[145](C270.6069=16).C270.6066 SEL[10](9308=0).C215.9302 SEL[10](9308=0).4517 Page 62 of 198 27 R510 12 TR99 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type Data Req D R Pos. GOODS ITEM occurs 999 Item number n..5 35 Commodity code (taric code) Type of Declaration Goods description Goods description LNG Gross mass an..22 an..9 an..260 a2 n..11,3 D D R O O 92 92 93 93 96 38 Net mass n..11,3 O 96 a2 a2 44 Country of dispatch/export code Country of destination code PRODUCED DOC/CERTIFICATES occurs 99 PRODUCED DOC/CERT.Docum type PRODUCED DOC/CERT.Docum reference PRODUCED DOC/CERT.Docum reference LNG PRODUCED DOC/CERT.Complement of information PRODUCED DOC/CERT.Complement of information LNG D D O R O O O O 94 94 -111 111 111 111 111 O R D D O R R R R R O -117 115 115 -97 97 97 97 97 97 32 33 31 44 44 44 02 02 02 02 02 02 SPECIAL MENTIONS occurs 99 SPECIAL MENTIONS.Additional information coded SPECIAL MENTIONS.Export from EC SPECIAL MENTIONS.Export from country (CONSIGNOR) TRADER (CONSIGNOR) TRADER.Name (CONSIGNOR) TRADER.Street and number (CONSIGNOR) TRADER.Postal code (CONSIGNOR) TRADER.City (CONSIGNOR) TRADER.Country code (CONSIGNOR) TRADER.NAD_LNG an..4 an..35 a2 an..26 a2 an..3 n1 a2 an..35 an..35 an..9 an..35 a2 a2 -92 EDIFACT Mapping - CUSDEC CST[92].1496 Code List Conditions Rules - R5, R7, TR1200 C15, R60 C45 CST[92].C246#1.7361 CST[92].C246#5.7361 CST.FTX[93](4451=AAA).C108.4440#1 CST.FTX[93](4451=AAA).3453 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C 174.6314 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM). C174.6314 CST.LOC[94](3227=35).C517.3225 CST.LOC[94](3227=36).C517.3225 31 12 - 8 8 C135 C140 CST.DOC[111](C002.1001=916).C002.1000 CST.DOC[111](C002.1001=916).C503.1004 CST.DOC[111](C002.1001=916).C503.3453 CST.DOC[111](C002.1001=916).C503.1366 CST.DOC[111](C002.1001=916).C503.1373 13 12 12 TR99 TR99 - TR99 CST.TOD(4055=2).FTX[117](4451=ACB).C107.4441 CST.TOD[115](4055=2).C100.4053 CST.TOD[115](4055=2).C100.1131 27 63 CST.NAD[97](3035=CZ).C080.3036#1 CST.NAD[97](3035=CZ).C059.3042#1 CST.NAD[97](3035=CZ).3251 CST.NAD[97](3035=CZ).3164 CST.NAD[97](3035=CZ).3207 CST.NAD[97](3035=CZ).3229 8 12 Page 63 of 198 TR101 C75, R75 C75, R75 R10 TR99 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element (CONSIGNOR) TRADER.EORI-TIN (Turn) Data Type an..17 Data Req O Pos. D -- R R R R R O O D R D D O R D D O O R 97 97 97 97 97 97 97 -105 -100 100 99 99 99 -131 131 97 EDIFACT Mapping - CUSDEC CST.NAD[97](3035=CZ).C082.3039 Code List - Conditions Rules R012 02 (CONSIGNEE) TRADER 08 08 08 08 08 08 08 31 31 31 31 31 (CONSIGNEE) TRADER.Name (CONSIGNEE) TRADER.Street and number (CONSIGNEE) TRADER.Postal code (CONSIGNEE) TRADER.City (CONSIGNEE) TRADER.Country code (CONSIGNEE) TRADER.NAD_LNG (CONSIGNEE) TRADER.EORI-TIN (Turn) CONTAINERS occurs 99 CONTAINERS.Container number PACKAGES occurs 99 PACKAGES.Marks & numbers of packages PACKAGES.Marks & numbers of packages LNG PACKAGES.Kind of packages PACKAGES.Number of packages PACKAGES.Number of pieces SGI CODES occurs 9 SGI CODES.Sensitive goods code SGI CODES.Sensitive quantity an..35 an..35 an..9 an..35 a2 a2 an..17 an..17 an..42 a2 an..3 n..5 n..5 n..2 n..11,3 R011, C002, TR0601 CST.NAD[97](3035=CN).C080.3036#1 CST.NAD[97](3035=CN).C059.3042#1 CST.NAD[97](3035=CN).3251 CST.NAD[97](3035=CN).3164 CST.NAD[97](3035=CN).3207 CST.NAD[97](3035=CN).3229 CST.NAD[97](3035=CN).C082.3039 CST.RFF[105](C506.1153=AAQ).C506.1154 8 12 - CST.PAC(7224=6).PCI[100](4233=28).C210.7102#1 CST.PAC(7224=6).PCI[100](4233=28).8275 CST.PAC[99](7224=6).C402.7077 CST.PAC[99](7224=6).C402.7064#1 CST.PAC[99](7224=6).C402.7064#2 12 17 - CST.GIR[131](7297=3).C206#2.7402 CST.GIR[131](7297=3).C206#1.7402 64 - Page 64 of 198 TR99 R012 C55 C60 TR99 C60, R021 C60 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.15. Unloading Remarks (IE44 – E_ULD_REM) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 - E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping - CUSDEC Code List Conditions Rules Document/reference number (MRN) an..21 R 2 BGM[2].C106.1004 - 18 Identity of means of transport at departure (exp/trans) an..27 D 17 TDT[17](8051=12).C222.8212 - TR02 18 Identity of means of transport at departure LNG a2 O 18 TDT(8051=12).TPL[18].C222.8453 12 TR99 18 Nationality of means of transport at departure a2 D 17 TDT[17](8051=12).C222.8453 8 TR02 5 Total number of items n..5 R 145 CNT[145](C270.6069=5).C270.6066 - 6 Total number of packages n..7 D 145 CNT[145](C270.6069=11).C270.6066 - 35 Total gross mass n..11,3 R 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C714.6 314 - (DESTINATION) TRADER TR02 R -- Name an..35 D 22 NAD[22](3035=CPD).C080.3036#1 - C160 Street and number an..35 D 22 NAD[22](3035=CPD).C059.3042#1 - C160 Postal code an..9 D 22 NAD[22](3035=CPD).3251 - C160 City an..35 D 22 NAD[22](3035=CPD).3164 - C160 Country code a2 D 22 NAD[22](3035=CPD).3207 8 C160 NAD_LNG a2 O 22 NAD[22](3035=CPD).3229 12 TR99 EORI-TIN (Turn) an..17 D 22 NAD[22](3035=CPD).C082.3039 - C113 R -- R 4 LOC[4](3227=22).C517.3225 - (PRESENTATION OFFICE) CUSTOMS OFFICE Reference number an8 UNLOADING REMARK R -- State of the seals OK n1 O 28 TOD(4055=5).FTX[28](4451=CLR).C107.4441 Unloading Remark an..350 O 28 TOD(4055=5).FTX[28](4451=CLR).C108.4440#1 Unloading Remark LNG a2 O 28 TOD(4055=5).FTX[28](4451=CLR).3453 Conform n1 R 26 TOD[26](4055=5).4215 Unloading completion n1 R 26 TOD[26](4055=5).C100.4053 Unloading date n8 R 26 TOD[26](4055=5).C100.4052#1 Page 65 of 198 27 R200/R340 12 TR99 R205 27 - R186 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type RESULTS OF CONTROL occurs 9 Data Req Pos. EDIFACT Mapping - CUSDEC Code List Conditions Rules 42 TR03 D -- Control indicator an2 R 11 FTX[11](4451=ABV).C107.4441 Pointer to the attribute an..35 D 11 FTX[11](4451=ABV).C108.4440#1 Description an..140 O 11 FTX[11](4451=ABV).C108.4440#2 - TR06 Corrected value an..27 D 11 FTX[11](4451=ABV).C108.4440#4 - TR05,R150 Description LNG a2 D 11 FTX[11](4451=ABV).3453 12 TR99 SEALS INFO Seals number n..4 SEALS ID occurs 9999 D -- R 145 C210 C200 CNT[145](C270.6069=16).C270.6066 - D -- SEALS ID.Seals identity an..20 R 10 SEL[10](9308=0).C215.9302 SEALS ID.Seals identity LNG a2 O 10 SEL[10](9308=0).4517 D -- GOODS ITEM occurs 9999 TR05 R206 12 TR99 C210/TR07/ TR11 32 Item number n..5 R 92 CST[92].1496 - TR19 33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - C15,R060 31 Goods description an..260 O 93 CST.FTX[93](4451=AAA).C108.4440#1 - Goods description LNG a2 O 93 CST.FTX[93](4451=AAA).3453 35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM). C174.6314 - 38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM). C174.6314 - PRODUCED DOCS/CERT occurs 99 44 12 TR99 O -- PRODUCED DOCS/CERT.Document type an..3 R 111 CST.DOC[111](C002.1001=916).C002.1000 TR08 PRODUCED DOCS/CERT.Document reference an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C902 PRODUCED DOCS/CERT.Document reference LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99 PRODUCED DOCS/CERT.Complement of information an..26 O 111 CST.DOC[111](C002.1001=916).C503.1366 - PRODUCED DOCS/CERT.Complement of information LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.1373 12 Page 66 of 198 13 TR0103 TR99 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type RESULTS OF CONTROL occurs 199 Data Req Pos. D -- EDIFACT Mapping - CUSDEC Code List Conditions Rules C210, TR13/12/14 RESULTS OF CONTROL.Control indicator an2 R 93 CST.FTX[93](4451=ABV).C107.4441 RESULTS OF CONTROL.Pointer to the attribute an..35 D 93 CST.FTX[93](4451=ABV).C108.4440#1 RESULTS OF CONTROL.Description an..140 O 93 CST.FTX[93](4451=ABV).C108.4440#2 RESULTS OF CONTROL.Description LNG a2 D 93 CST.FTX[93](4451=ABV).3453 O -- R 105 CONTAINERS occurs 99 31 CONTAINERS.Container number an..17 PACKAGES occurs 99 31 41 TR03 - TR10,TR14, TR18 - TR09 12 TR99 TR08 CST.RFF[105](C506.1153=AAQ).C506.1154 - C60 TR99 D -- PACKAGES.Marks & numbers of packages an..42 D 100 CST.PAC(7224=6).PCI[100](4233=28).C210.7102#1 TR08 PACKAGES.Marks & numbers of packages LNG a2 O 100 CST.PAC(7224=6).PCI[100](4233=28).8275 12 31 PACKAGES.Kind of packages an..3 R 99 CST.PAC[99](7224=6).C402.7077 17 31 PACKAGES.Number of packages n..5 D 99 CST.PAC[99](7224=6).C402.7064#1 - C60, R021 31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - C60 O -- SGI CODES occurs 9 R155/TR08 31 SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64 31 SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 - Page 67 of 198 R156 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.16. Write-off Notification (IE45 - E_WRT_NOT) Message element Data Type HEADER Write-off date Pos. EDIFACT Mapping - CUSDEC R MESSAGE (as per IE15 - E_DEC_DAT) Document/reference number (MRN) Data Req Code List - R -- an..21 R 2 BGM[2].C106.1004 - n8 R 5 DTM[5](C507.2005=204).C507.2380 - (PRINCIPAL) TRADER Conditions Rules - R -- 50 Name an..35 R 22 NAD[22](3035=AF).C080.3036#1 - 50 Street and number an..35 R 22 NAD[22](3035=AF).C059.3042#1 - 50 Postal code an..9 R 22 NAD[22](3035=AF).3251 - 50 City an..35 R 22 NAD[22](3035=AF).3164 - 50 Country code a2 R 22 NAD[22](3035=AF).3207 8 50 NAD LNG a2 O 22 NAD[22](3035=AF).3229 12 TR99 50 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=AF).C082.3039 - R012 50 Holder ID TIR an..17 D 22 NAD[22](3035=AF).C080.3036#2 - C904 O -- GUARANTOR - - Name an..35 R 22 NAD[22](3035=SX).C080.3036#1 - Street and number an..35 R 22 NAD[22](3035=SX).C059.3042#1 - Postal code an..9 R 22 NAD[22](3035=SX).3251 - City an..35 R 22 NAD[22](3035=SX).3164 - Country code a2 R 22 NAD[22](3035=SX).3207 8 NAD LNG a2 O 22 NAD[22](3035=SX).3229 12 TR99 EORI-TIN an..17 O 22 NAD[22](3035=SX).C082.3039 - R012 R -- R 4 (DEPARTURE) CUSTOMS OFFICE Reference number an8 LOC[4](3227=118).C517.3225 Page 68 of 198 - NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.17. No release for Transit (IE51 - E_REL_NOT) SAD Box Message element Data Type Data Req R Pos. an..22 an..21 an..9 a2 an..17 an..35 a2 an..17 an..17 a2 an..17 n..2 n..2 an..27 R R R R D D D O D D D D O D D -12 2 2 4 4 4 4 4 4 4 4 17 17 17 RFF[12](C506.1153=ABE).C506.1154 BGM[2].C106.1004 BGM[2].C002.1000 LOC[4](3227=36).C517.3225 LOC[4](3227=14).C517.3225 LOC[4](3227=14).C517.3224 LOC[4](3227=14).5479 LOC[4](3227=14).C519.3223 LOC[4](3227=9).C517.3225 LOC[4](3227=35).C517.3225 LOC[4](3227=26).C517.3225 TDT[17](8051=1).C220.8067 TDT[17](8051=11).C220.8067 TDT[17](8051=12).C222.8212 31 8 12 8 18 18 - a2 O 18 TDT(8051=12).TPL[18].C222.8453 12 a2 D 17 TDT[17](8051=12).C222.8453 8 - TR02, TR0035, TR9095 C011 MESSAGE (as per IE15 - E_DEC_DAT) 7 1 17A 30 30 30 27 15A 26 25 18 18 HEADER Reference number (LRN) Document/Reference number (MRN) Type of declaration Country of destination code Agreed location of goods, code Agreed location of goods Agreed location of goods LNG Authorised location of goods, code Place of loading, code Country of dispatch/export code Customs sub place Inland transport mode Transport mode at border Identity of means of transport at departure (exp/trans) EDIFACT Mapping - CUSDEC Code List Conditions Rules -R135,R143 R909, R911 C140 C100,R41 C100,R41 TR99 C100,R41 C191 C135 C100,R41 C599 TR9090, TR0035, TR02 TR99 18 Identity of means of transport at departure LNG Nationality of means of transport at departure 21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 Identity of means of transport crossing border LNG Nationality of means of transport crossing border Type of means of transport crossing border Containerised indicator Dialog language indicator at departure a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99 a2 D 17 TDT[17](8051=11).C222.8453 8 R36,C10 n..2 n1 a2 O R O 17 6 11 TDT[17](8051=11).C228.8179 GIS[6](C529.1131=109).C529.7365 FTX[11](4451=ACB).3453 18 27 12 R230 R100 21 19 Page 69 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Data Type a2 Data Req R Pos. 11 FTX[11](4451=ALL).3453 n..5 n..7 n..11,3 n8 an..35 a2 an..350 a2 a1 a1 an..70 R O R R R O O O D D D 145 145 8 5 4 4 11 11 12 11 7 CNT[145](C270.6069=5).C270.6066 CNT[145](C270.6069=11).C270.6066 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6314 DTM[5](C507.2005=137).C507.2380 LOC[4](3227=91).C517.3224 LOC[4](3227=91).5479 FTX[11](4451=ABQ).C108.4440#1 FTX[11](4451=ABQ).3453 RFF[12](C506.1153=AMJ).C506.1154 FTX[11](4451=PAI).4453 FII[7](3035=XX).C088.3436 12 12 96 116 - Security Conveyance reference number Place of unloading, code Place of unloading LNG n1 an..35 an..35 a2 O O D O 6 11 4 4 GIS[6](C529.1131=187).C529.7365 FTX[11](4451=ACR).C108.4440#1 LOC[4](3227=58).C517.3224 LOC[4](3227=58).C517.3225 117 12 50 50 50 50 50 50 50 (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 R D D D D D O D 22 22 22 22 22 22 22 NAD[22](3035=AF).C080.3036#1 NAD[22](3035=AF).C059.3042#1 NAD[22](3035=AF).3251 NAD[22](3035=AF).3164 NAD[22](3035=AF).3207 NAD[22](3035=AF).3229 NAD[22](3035=AF).C082.3039 8 12 - 50 Holder ID TIR an..17 D 22 NAD[22](3035=AF).C080.3036#2 - 2 2 2 (CONSIGNOR) TRADER. Name Street and number Postal code an..35 an..35 an..9 O R R R 5 6 35 50 50 50 Message element NCTS accompanying document language code Total number of items Total number of packages Total gross mass Declaration date Declaration place Declaration place LNG No release motivation No release motivation LNG Specific Circumstance Indicator Transport charges/ Method of Payment Commercial Reference Number EDIFACT Mapping - CUSDEC Code List 12 Conditions Rules R105, TR02 TR99 TR99 C186, C825 C186 C186, C547, R876 R229 C531 C186, C589 TR0099 C50, NC50 C50, NC50 C50, NC50 C50, NC50 C50, NC50 TR99 C111, C236, NR1 C904, NR1 R10 22 22 22 NAD[22](3035=CZ).C080.3036#1 NAD[22](3035=CZ).C059.3042#1 NAD[22](3035=CZ).3251 Page 70 of 198 - NCTS 09/06/2015 SAD Box 2 2 2 2 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element City Country code NAD_LNG EORI-TIN (Turn) Data Type an..35 a2 a2 an..17 (CONSIGNEE) TRADER. 8 8 8 8 8 8 8 C Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) 53 D D D Pos. 22 22 22 22 EDIFACT Mapping - CUSDEC NAD[22](3035=CZ).3164 NAD[22](3035=CZ).3207 NAD[22](3035=CZ).3229 NAD[22](3035=CZ).C082.3039 Code List 8 12 - D R R R R R O O 22 22 22 22 22 22 22 NAD[22](3035=CN).C080.3036#1 NAD[22](3035=CN).C059.3042#1 NAD[22](3035=CN).3251 NAD[22](3035=CN).3164 NAD[22](3035=CN).3207 NAD[22](3035=CN).3229 NAD[22](3035=CN).C082.3039 (AUTHORISED CONSIGNEE) TRADER EORI-TIN (Turn) an..17 O R -22 NAD[22](3035=TD).C082.3039 - (DEPARTURE) CUSTOMS OFFICE Reference number R R -4 LOC[4](3227=118).C517.3225 - D -- an8 8 12 - an8 R 4 LOC[4](3227=50).C517.3225 - Arrival Time n12 D 4 LOC[4](3227=50).C519.3223 - (DESTINATION) CUSTOMS OFFICE Reference number an8 R R -4 LOC[4](3227=45).C517.3225 - R R R O O -5 11 5 -- n8 an2 n8 TR99 TR99 R15 Reference number CONTROL RESULT Control date Control result code Date limit RESULTS OF CONTROL occurs 9 Conditions Rules R011,C001, TR0601 an..35 an..35 an..9 an..35 a2 a2 an..17 (TRANSIT) CUSTOMS OFFICE occurs 9 51 Data Req R R O O DTM[5](C507.2005=9).C507.2380 FTX[11](4451=ADO).C107.4441 DTM[5](C507.2005=268).C507.2380 47 - R901 C030, R902, TR0630 R906, R907, R908, R910, TR0635 C598, R660 R901, R904, R905, TR0635 R903 R145 Page 71 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Type an2 an..140 a2 Data Req R O D Pos. 11 11 11 50 50 50 REPRESENTATIVE Name Representative capacity Representative capacity LNG an..35 an..35 a2 O R O O -22 11 11 D SEALS INFO Seals number n..4 SEALS ID occurs 9999 SEALS ID.Seals identity SEALS ID.Seals identity LNG an..20 a2 O R R R O -145 -10 10 an..24 R R D D -12 -14 an..35 D an4 Control indicator Description Description LNG D 52 52 52 52 52 52 32 GUARANTEE occurs 9 Guarantee type GUARANTEE REFERENCE occurs 99 GUARANTEE REFERENCE.Guarantee reference number (GRN) GUARANTEE REFERENCE.Other guarantee reference GUARANTEE REFERENCE.Access code GUARANTEE REFERENCE – VALIDITY LIMITATION EC GUARANTEE REFERENCE – VALIDITY LIMITATION EC.Not valid for EC GUARANTEE REFERENCE – VALIDITY LIMITATION NON EC occurs 99 GUARANTEE REFERENCE – VALIDITY LIMITATION NON EC.Not valid for other contracting parties GOODS ITEM occurs 999 Item number FTX[11](4451=ABV).C107.4441 FTX[11](4451=ABV).C108.4440#2 FTX[11](4451=ABV).3453 Code List 42 12 Conditions Rules TR03 TR06 TR99 NAD[22](3035=AH).C080.3036#1 FTX[11](4451=ACP).C108.4440#1 FTX[11](4451=ACP).3453 12 TR99 CNT[145](C270.6069=16).C270.6066 12 TR99 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 51 - C900 C085 C125,TR301 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 - C86 O -- R 15 O -- a2 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.7102#1 n..5 R R -92 CST[92].1496 an1 n1 EDIFACT Mapping - CUSDEC R165 SEL[10](9308=0).C215.9302 SEL[10](9308=0).4517 RFF[12](C506.1153=ABL).C506.1154 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.7102#1 27 R230 - Page 72 of 198 71 R231 - R5,R7, TR1200 NCTS 09/06/2015 SAD Box 33 1 31 35 38 15A 17A TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Req D Pos. Commodity code (taric code) Data Type an..22 92 CST[92].C246#1.7361 Type of Declaration Goods description Goods description LNG Gross mass Net mass Country of dispatch/export code Country of destination code Transport charges/ Method of Payment an..9 an..260 a2 n..11,3 n..11,3 a2 a2 a1 D R O O O D D D 92 93 93 96 96 94 94 98 CST[92].C246#5.7361 CST.FTX[93](4451=AAA).C108.4440#1 CST.FTX[93](4451=AAA).3453 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C174.6314 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C174.6314 CST.LOC[94](3227=35).C517.3225 CST.LOC[94](3227=36).C517.3225 CST.TDT[98](8051=10).C228.8179 Commercial Reference Number an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 UN dangerous goods code an4 O 98 CST.TDT[98](8051=10).C222.8213 D -- PREV ADMIN REF occurs 9 EDIFACT Mapping - CUSDEC Code List 31 12 8 8 116 101 - Conditions Rules C15,R60, R470 C45 TR99 R700 C135 C140 C186, C576, TR9120 C186, C547, R876 C186 C035, TR0635 R020,TR100 40 PREV ADMIN REF .Previous document type an..6 R 111 CST.DOC[111](C002.1001=190).C002.1000 40 PREV ADMIN REF .Previous document reference PREV ADMIN REF .Previous document reference LNG PREV ADMIN REF .Complement of information PREV ADMIN REF .Complement of information LNG an..35 R 111 CST.DOC[111](C002.1001=190).C503.1004 - a2 O 111 CST.DOC[111](C002.1001=190).C503.3453 12 an..26 O 111 CST.DOC[111](C002.1001=190).C503.1366 - a2 O 111 CST.DOC[111](C002.1001=190).C503.1373 12 TR99 D -- - C903, C547 40 PRODUCED DOC/CERT occurs 99 TR99 44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 44 PRODUCED DOC/CERT.Document reference PRODUCED DOC/CERT.Document reference LNG an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C901, TR0103 C902 a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99 Page 73 of 198 NCTS 09/06/2015 SAD Box 44 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element PRODUCED DOC/CERT.Complement of information PRODUCED DOC/CERT.Complement of information LNG 44 SPECIAL MENTIONS occurs 99 SPECIAL MENTIONS.Additional information SPECIAL MENTIONS.Additional information LNG SPECIAL MENTIONS.Additional information coded SPECIAL MENTIONS.Export from EC 44 SPECIAL MENTIONS.Export from country 44 44 44 RESULTS OF CONTROL occurs 9 RESULTS OF CONTROL.Control indicator RESULTS OF CONTROL.Pointer to the attribute RESULTS OF CONTROL.Description RESULTS OF CONTROL.Description LNG Data Type an..26 Data Req O Pos. 111 a2 O an..70 EDIFACT Mapping - CUSDEC Conditions Rules CST.DOC[111](C002.1001=916).C503.1366 Code List - 111 CST.DOC[111](C002.1001=916).C503.1373 12 TR99 O O -117 - R27 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 a2 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).3453 12 TR99 an..5 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C107.4441 - TR101 n1 D 115 CST.TOD[115](4055=2).C100.4053 27 C75,R75 a2 D 115 CST.TOD[115](4055=2).C100.1131 63 C75,R75 an2 an..35 O R D -93 93 CST.FTX[93](4451=ABV).C107.4441 CST.FTX[93](4451=ABV).C108.4440#1 an..140 a2 O D 93 93 41 - TR03 TR10,TR14 CST.FTX[93](4451=ABV).C108.4440#2 CST.FTX[93](4451=ABV).3453 12 TR09 TR99 - R10 02 02 (CONSIGNOR) TRADER (CONSIGNOR) TRADER.Name (CONSIGNOR) TRADER.Street and number an..35 an..35 O R R -97 97 CST.NAD[97](3035=CZ).C080.3036#1 CST.NAD[97](3035=CZ).C059.3042#1 02 02 02 02 02 (CONSIGNOR) TRADER.Postal code (CONSIGNOR) TRADER.City (CONSIGNOR) TRADER.Country code (CONSIGNOR) TRADER.NAD_LNG (CONSIGNOR) TRADER.EORI-TIN (Turn) an..9 an..35 a2 a2 an..17 R R R O O 97 97 97 97 97 CST.NAD[97](3035=CZ).3251 CST.NAD[97](3035=CZ).3164 CST.NAD[97](3035=CZ).3207 CST.NAD[97](3035=CZ).3229 CST.NAD[97](3035=CZ).C082.3039 08 08 (CONSIGNEE) TRADER (CONSIGNEE) TRADER.Name (CONSIGNEE) TRADER.Street and number an..35 an..35 D R R -97 97 CST.NAD[97](3035=CN).C080.3036#1 CST.NAD[97](3035=CN).C059.3042#1 Page 74 of 198 8 12 - TR99 R11,C002 NCTS 09/06/2015 SAD Box 08 08 08 08 08 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Data Req R R R O O Pos. (CONSIGNEE) TRADER.Postal code (CONSIGNEE) TRADER.City (CONSIGNEE) TRADER.Country code (CONSIGNEE) TRADER.NAD_LNG (CONSIGNEE) TRADER.EORI-TIN (Turn) Data Type an..9 an..35 a2 a2 an..17 97 97 97 97 97 CST.NAD[97](3035=CN).3251 CST.NAD[97](3035=CN).3164 CST.NAD[97](3035=CN).3207 CST.NAD[97](3035=CN).3229 CST.NAD[97](3035=CN).C082.3039 31 CONTAINERS occurs 99 CONTAINERS.Container number an..17 D R -105 31 PACKAGES occurs 99 PACKAGES.Marks & numbers of packages an..42 R D a2 31 31 PACKAGES.Marks & numbers of packages LNG PACKAGES.Kind of packages PACKAGES.Number of packages an..3 n..5 31 PACKAGES.Number of pieces 31 31 SGI CODES occurs 9. SGI CODES.Sensitive goods code SGI CODES.Sensitive quantity Code List 8 12 - Conditions Rules CST.RFF[105](C506.1153=AAQ).C506.1154 - C55 C60 -100 CST.PAC(7224=6).PCI[100](4233=28).C210.7102#1 - C60 O 100 CST.PAC(7224=6).PCI[100](4233=28).8275 12 TR99 R D 99 99 CST.PAC[99](7224=6).C402.7077 CST.PAC[99](7224=6).C402.7064#1 17 - n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - n..2 n..11,3 O O R -131 131 CST.GIR[131](7297=3).C206#2.7402 CST.GIR[131](7297=3).C206#1.7402 64 - D (CONSIGNOR-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 D D D D D O D 97 97 97 97 97 97 97 NAD[97](3035=GM).C080.3036#1 NAD[97](3035=GM).C059.3042#1 NAD[97](3035=GM).3251 NAD[97](3035=GM).3164 NAD[97](3035=GM).3207 NAD[97](3035=GM).3229 NAD[97](3035=GM).C082.3039 D (CONSIGNEE-SECURITY) TRADER occurs 1 Name Street and number EDIFACT Mapping - CUSDEC an..35 an..35 D D 97 97 NAD[972](3035=DP).C080.3036#1 NAD[972](3035=DP).C059.3042#1 Page 75 of 198 TR99 C60, R021, TR0022 C60 R155 R156 C186, C187 8 12 - C501 C501 C501 C501 C501 TR0099 C572 C186, C188 - C501 C501 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Postal code City Country code NAD_LNG EORI-TIN (Turn) ITINERARY occurs 99 Data Type an..9 an..35 a2 a2 an..17 EDIFACT Mapping - CUSDEC Code List 8 12 8 Conditions Rules C501 C501 C501 TR0099 C596 C186, C587 - C186, R181 8 12 - C501 C501 C501 C501 C501 TR0099 C186, C187 NAD[972](3035=DP).3251 NAD[972](3035=DP).3164 NAD[972](3035=DP).3207 NAD[97](3035=DP).3229 NAD[97](3035=DP).C082.3039 9 EQD[9](8053=CH).C237.3207 D D D D D O D D 22 22 22 22 22 22 22 NAD[22](3035=GA).C080.3036#1 NAD[22](3035=GA).C059.3042#1 NAD[22](3035=GA).3251 NAD[22](3035=GA).3164 NAD[22](3035=GA).3207 NAD[22](3035=GA).3229 NAD[22](3035=GA).C082.3039 an..35 an..35 an..9 an..35 a2 a2 an..17 D D D D D O D D 22 22 22 22 22 22 22 NAD[22](3035=GL).C080.3036#1 NAD[22](3035=GL).C059.3042#1 NAD[22](3035=GL).3251 NAD[22](3035=GL).3164 NAD[22](3035=GL).3207 NAD[22](3035=GL).3229 NAD[22](3035=GL).C082.3039 8 12 - C501 C501 C501 C501 C501 TR0099 C572 C186, C188 an..35 an..35 an..9 an..35 a2 D D D D D 22 22 22 22 22 NAD[22](3035=UC).C080.3036#1 NAD[22](3035=UC).C059.3042#1 NAD[22](3035=UC).3251 NAD[22](3035=UC).3164 NAD[22](3035=UC).3207 8 C501 C501 C501 C501 C501 a2 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 D (CONSIGNOR-SECURITY) TRADER occurs 1 (CONSIGNEE-SECURITY) TRADER occurs 1 Name Street and number Postal code City Country code Pos. 97 97 97 97 97 Country of routing code (CARRIER) TRADER occurs 1 Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Data Req D D D O D D R Page 76 of 198 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element NAD_LNG EORI-TIN (Turn) Data Type a2 an..17 Data Req O D Pos. 22 22 EDIFACT Mapping - CUSDEC NAD[22](3035=UC).3229 NAD[22](3035=UC).C082.3039 Page 77 of 198 Code List 12 - Conditions Rules TR0099 C596 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.18. Guarantee not valid (IE55 – E_GUA_INV) SAD Box Message element Data Type MESSAGE (as per IE15 – E_DEC_DAT) HEADER Document/reference number (MRN) 50 50 50 50 50 50 50 52 EDIFACT Mapping – CUSDEC Data Req R Pos. -2 BGM[2].C106.1004 NAD[22](3035=AF).C080.3036#1 NAD[22](3035=AF).C059.3042#1 NAD[22](3035=AF).3251 NAD[22](3035=AF).3164 NAD[22](3035=AF).3207 NAD[22](3035=AF).3229 NAD[22](3035=AF).C082.3039 Code List Conditions Rules - - 8 12 - C160 C160 C160 C160 C160 TR99 R012 -- an..21 R R (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) an..35 an..35 an..9 an..35 a2 a2 an..17 R D D D D D O O -22 22 22 22 22 22 22 (DEPARTURE) CUSTOMS OFFICE Reference number an8 R R R -4 -- LOC[4](3227=118).C517.3225 - - an..24 R 14 RFF(C506.1153=ABK).PAC[14](C531.7075=1).C402.7064#1 - - R -- an..3 R 16 52 - Invalid guarantee reason an..350 O 16 - - Invalid guarantee reason LNG a2 O 16 - TR99 GUARANTEE REFERENCE occurs 99 Guarantee reference number (GRN) INVALID GUARANTEE REASON Invalid guarantee reason code RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).C 107.4441 RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).C 108.4440#1 RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).3 453 Page 78 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.19. Unloading remarks rejection (IE58 – E_ULD_REJ) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 – E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping – FUNACK Code List Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 - Unloading remarks rejection date n8 R 3 DTM[3](C507.2005=357).C507.2380 - Unloading remarks rejection reason an..350 O 4 FTX[4](4451=ACD).C108.4440#1 Unloading remarks rejection reason LNG a2 O 4 FTX[4](4451=ACD).3453 D -- FUNCTIONAL ERROR occurs 999 Conditions Rules 12 TR99 R123 Error type n2 R 4 FTX[4](4451=AAO).C107.4441 Error pointer an..210 R 4 FTX[4](4451=AAO).C108.4440#1 100- Error reason an..6 O 4 FTX[4](4451=AAO).C108.4440#4 - Original attribute value an..140 O 4 FTX[4](4451=AAP).C108.4440#1 - Page 79 of 198 49 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.20. Control decision notification (IE60 – E_CTR_DEC) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 – E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping – CUSRES Code List Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 - Date of control notification n8 R 3 DTM[3](C507.2005=184).C507.2380 - (PRINCIPAL) TRADER Conditions Rules R -- 50 Name an..35 R 9 NAD[9](3035=AF).C080.3036#1 - 50 Street and number an..35 R 9 NAD[9](3035=AF).C059.3042#1 - 50 Postal code an..9 R 9 NAD[9](3035=AF).3251 - 50 City an..35 R 9 NAD[9](3035=AF).3164 - 50 Country code a2 R 9 NAD[9](3035=AF).3207 8 50 NAD_LNG a2 O 9 NAD[9](3035=AF).3229 12 TR99 50 EORI-TIN (Turn) an..17 O 9 NAD[9](3035=AF).C082.3039 - R012 50 Holder ID TIR an..17 D 9 NAD[9](3035=AF).C080.3036#2 - C904 R -- R 6 LOC[6](3227=118).C517.3225 - (DEPARTURE) CUSTOMS OFFICE Reference number an8 Page 80 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.21. EDIFACT NACK (IE907 – C_EDI_NCK) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 – E_DEC_DAT) R -- INTERCHANGE ERRORS R -- EDIFACT Mapping – CONTRL Code List Conditions Rules Interchange control reference an..14 R 2 UCI[2].0020 - TR9250 Message sender an..35 R 2 UCI[2].S002.0004 - TR9250 Message recipient an..35 R 2 UCI[2].S003.0010 - TR9250 Action taken by recipient an..3 R 2 UCI[2].0083 32 Syntax error n2 D 2 UCI[2].0085 23 TR0901 Interchange service segment a3 D 2 UCI[2].0013 33 TR0903 Position of erroneous data element n..3 O 2 UCI[2].S011.0098 - Position of erroneous data component n..3 O 2 UCI[2].S011.0104 - D -- MESSAGE ERRORS occurs 99 TR0902 Message identification an..14 R 3 UCM[3].0062 Message type an..6 R 3 UCM[3].S009.0065 1 Message version an..3 R 3 UCM[3].S009.0052 35 Message release number an..3 R 3 UCM[3].S009.0054 36 Controlling agency an..2 R 3 UCM[3].S009.0051 37 Association assigned code an..6 R 3 UCM[3].S009.0057 - Action taken by recipient an..3 R 3 UCM[3].0083 32 Error n2 D 3 UCM[3].0085 23 TR0901 Message service segment a3 D 3 UCM[3].0013 34 TR0903 Position of erroneous data element n..3 O 3 UCM[3].S011.0098 - Position of erroneous data component n..3 O 3 UCM[3].S011.0104 - SEGMENT ERRORS occurs 999 - D -- Segment position in message n..6 R 4 UCM.UCS[4].0096 - Error n2 D 4 UCM.UCS[4].0085 23 DATA ELEMENT ERRORS occurs 99 TR9250 TR9250 TR0902 D TR0901 TR0902 Error n2 R 5 UCM.UCS.UCD[5].0085 Position of erroneous data element n..3 R 5 UCM.UCS.UCD[5].S011.0098 Page 81 of 198 23 - TR0901 NCTS 09/06/2015 SAD Box TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message element Position of erroneous data component Data Type n..3 Data Req Pos. O 5 EDIFACT Mapping – CONTRL UCM.UCS.UCD[5].S011.0104 Page 82 of 198 Code List - Conditions Rules NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.22. XML NCK (IE917 – C_XML_NCK) SAD Box Message element Data Type Data Req Pos. MESSAGE (as per IE15 – E_DEC_DAT) R -- HEADER R -- EDIFACT Mapping – FUNACK Code List Original message identification (ICR) an..14 R 4 RFF[12](1153=ABO).C506.1154 - Document/reference number (MRN) an..21 D 2 BGM[2](1225=11).C106.1004 - Reference number (LRN) an..22 D 4 RFF[12](1153=ABE).C506.1154 - R -- R 4 FTX[4](4451=AAO).C107.4441 49 FUNCTIONAL ERROR Error type n2 Error pointer an..210 R 4 FTX[4](4451=AAO).C108.4440#1 100- Error reason an..140 O 4 FTX[4](4451=AAO).C108.4440#4 - Original attribute value an..140 O 4 FTX[4](4451=AAP).C108.4440#1 - Page 83 of 198 Conditions Rules TR9250 TR9250 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 B.23. Positive Acknowledgement (IE928 - E_POS_ACK) SAD Box Message element Data Type Data Req R Pos. an..22 R R -12 RFF[12](C506.1153=ABE).C506.1154 an..35 an..35 an..9 an..35 a2 a2 an..17 an..17 R D D D D D O O D` -9 9 9 9 9 9 9 22 NAD[9](3035=AF).C080.3036#1 NAD[9](3035=AF).C059.3042#1 NAD[9](3035=AF).3251 NAD[9](3035=AF).3164 NAD[9](3035=AF).3207 NAD[9](3035=AF).3229 NAD[9](3035=AF).C082.3039 NAD[22](3035=AF).C080.3036#2 an8 R R -6 LOC[6](3227=118).C517.3225 MESSAGE (as per IE15 - E_DEC_DAT) 7 HEADER Reference number (LRN) 50 50 50 50 50 50 50 50 (PRINCIPAL) TRADER Name Street and number Postal code City Country code NAD_LNG EORI-TIN (Turn) Holder ID TIR (DEPARTURE) CUSTOMS OFFICE Reference number EDIFACT Mapping - CUSRES Code List Conditions Rules -- Page 84 of 198 8 12 - C160 C160 C160 C160 C160 TR99 C904 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX C – CONDITIONS AND NATIONAL CONDITIONS FOR IE MESSAGES CONDITIONS C001 : IF "Country of Destination" (box 17a) on HEADER level contains one of the Contracting Parties, or is AD or SM THEN TRADER Consignee (box 8) = "R" ELSE TRADER Consignee (box 8) = "O" Contracting parties are : the individual non EU common transit country and EU as a group. C002 : IF ‘Country of Destination’ (ex box 17a) on GOODS ITEM level contains one of the Contracting Parties (see definition in C001), or is ‘AD’ or ‘SM’ THEN TRADER Consignee (ex box 8) = ‘R’ ELSE TRADER Consignee (ex box 8) = ‘O’ C010 : IF first digit of ‘Transport mode at the border’ (box 25) = ‘2’, ‘5’ or ‘7’ THEN ‘Nationality crossing border’ (box 21) = ‘O’ ELSE ‘Nationality crossing border’ (box 21) = ‘R’ C011 :IF ' Nationality of means of transport crossing border ' is present or if ' Specific Circumstance Indicator ' is = 'D' THEN the attribute = 'R' ELSE the attribute = 'O' C015 : IF SGI-CODES is used THEN ‘Commodity Code’ (box 33) = ‘R’ ELSE ‘Commodity Code’ (box 33) = ‘O’ C030 : IF there are different Contracting parties (see definition in C001) declared for Departure (identified by the Office of Departure, box C) and Destination (identified by the Office of Destination, box 53), or the country code of either Office of Departure or Destination is ‘AD’ or ‘SM’ THEN at least one ‘CUSTOMS OFFICE of Transit’ (box 51) = ‘R’ ELSE ‘CUSTOMS OFFICE of Transit’ (box 51) = ‘O’ C035 : IF ‘Declaration type’ (box 1) or ‘Declaration type’ (ex box 1) = ‘T2’,’T2F’ and if the Country of the Office of Departure, identified by the first 2 digits of the ‘CUSTOMS OFFICE of Departure Reference Number’ (Box C) = is a non EU common transit country THEN ‘PREVIOUS ADMINISTRATIVE REFERENCES’ = ‘R’ ELSE ‘PREVIOUS ADMINISTRATIVE REFERENCES’ = ‘O’ C045 : IF ‘Declaration type’ (box 1) = ‘T-’ THEN ‘Declaration type’ (ex box 1) = (‘T1’, ‘T2’, ‘T2F’ or ‘T2SM’) ELSE ‘Declaration type’ (ex box 1) cannot be used C050 : IF ‘EORI-TIN’ (box 50) is used THEN all attributes of name and address (NAD) (box50) = ‘O’ if already known by NCTS ELSE all attributes of name and address (NAD) (box50) = ‘R’ C055 : IF "Container" (box 19) = "1" THEN "CONTAINERS (box 31)" must be present in at least one data group "GOODS ITEM". ELSE "CONTAINERS (box 31)" cannot be used. C060 : IF "Kind of packages" (Box 31) indicates "BULK" (UNECE rec 21: 'VQ', 'VG', 'VL', 'VY','VR', 'VS' or 'VO') THEN "Marks & numbers of packages" (Box 31) = "O" Page 85 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 "Number of packages" (box 31) cannot be used "Number of Pieces" (box 31) cannot be used ELSE IF "Kind of packages" (Box 31) indicates "UNPACKED" (UNECE rec 21 : = 'NE'; 'NF' or 'NG') THEN "Marks & numbers of packages" (Box 31) = "O" "Number of packages" cannot be used "Number of Pieces" (box 31) = "R" ELSE "Marks & numbers of packages" (Box 31) = "R" "Number of packages" (box 31) = "R" "Number of Pieces" (box 31) cannot be used C075 : IF ‘Additional Information coded’ (Box 44) = ‘DG0’ or ‘DG1’ THEN ‘Export from EC’ or ‘Export from country’ (Box 44) = ‘R’ ELSE ‘Export from EC’ and ‘Export from country’ (Box 44) cannot be used. C085 : IF ‘Guarantee type’ = ‘0’, ‘1’, ‘2’, ‘4’, ‘9’ or ‘B’ THEN ‘GUARANTEE REFERENCE’ = ‘R’ ELSE ‘GUARANTEE REFERENCE’ = ‘O’. C086 : IF ‘Guarantee type’ = ‘0’, ‘1’, ‘2’, ‘4’ or ‘9’, THEN ‘Access code’ = ‘R’ ELSE ‘Access code’ = ‘O’. C100 : IF ‘CONTROL RESULT’ (Box D) is used THEN ‘Authorised location of goods’ = ‘O’ ‘Customs sub place’ cannot be used ‘Agreed location code’ cannot be used ‘Agreed location of goods’ cannot be used ELSE ‘Authorised location of goods’ cannot be used ‘Agreed location code’ = ‘O’ ‘Agreed location of goods’ = ‘O’ ‘Customs sub place’ = ‘O’. C111 : IF ‘CONTROL RESULT’ is present (Simplified procedure) or (IF 'Specific circumstance indicator 'E' is present and the first two digits of CUSTOMS OFFICE.Office of Departure consist of an EU Member State country code) THEN ‘TIN’ = ‘R’ ELSE ‘TIN’ = ‘O’. C112 : IF ‘CONTROL RESULT’ is present (Simplified procedure) or IF the first two digits of 'CUSTOMS OFFICE of Destination.Reference number' consist of an EU Member State country code THEN ‘TIN’ = ‘R’ ELSE ‘TIN’ = ‘O’. C113 : IF the first two digits of 'CUSTOMS OFFICE of Destination.Reference number' consist of an EU Member State country code THEN ‘TIN’ = ‘R’ ELSE ‘TIN’ = ‘O’ C125 : IF ‘Guarantee type’ = ‘0’, ‘1’, ‘2’, ‘4’ or ‘9’ THEN ‘GRN’ = ‘R’ ELSE ‘GRN’ cannot be used. C130 : IF ‘GRN’ is NOT used THEN ‘Other guarantee reference’ = ‘R’ ELSE ‘Other guarantee reference’ cannot be used. Page 86 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 C135 : IF only 1 Country of dispatch is declared THEN ‘Country of dispatch (box 15a)’ on HEADER level = ‘R’ ‘Country of dispatch (ex box 15a)’ on GOODS ITEM level cannot be used ELSE ‘Country of dispatch (box 15a)’ on HEADER level cannot be used ‘Country of dispatch (ex box 15a)’ on GOODS ITEM level = ‘R’. C140 : IF only 1 Country of destination is declared THEN ‘Destination country (box 17a)’ on HEADER level = ‘R’ ‘Destination country (ex box 17a)’ on GOODS ITEM level cannot be used ELSE ‘Destination country (box 17a)’ on HEADER level cannot be used ‘Destination country (ex box 17a) GOODS ITEM level = ‘R’. C155 : IF ‘Simplified procedure flag’ = ‘YES’ THEN ‘Arrival agreed location of goods’ cannot be used ‘Arrival agreed location code’ cannot be used ‘Customs sub place’ can not be used ‘Arrival authorised location of goods’ = ‘R’ ELSE ‘Arrival authorised location of goods’ cannot be used ‘Customs sub place’ = ‘O’ ‘Arrival agreed location of goods’ = ‘O’ ‘Arrival agreed location code’ = ‘O’. C160 : IF EORI-TIN of Trader is used THEN all attributes marked with this condition = ‘O’ if already known by NCTS ELSE all attributes marked with this condition = ‘R’. C170 : IF ‘Cancellation initiated by Customs’ = ‘Yes’ THEN ‘Cancellation Decision’ cannot be used ELSE ‘Cancellation Decision’ = ‘R’. C175 : IF ( ‘Cancellation initiated by Customs’ = ‘No’ AND ‘Cancellation Decision’ = ‘0’ (=N0)) OR ( ‘Cancellation initiated by Customs’ = ‘Yes’) THEN ‘Cancellation Justification’ = ‘R’ ELSE ‘Cancellation Justification’ = ‘O’. C180 : IF ‘Cancellation initiated by Customs’ = ‘Yes’ THEN ‘Date of cancellation request’ cannot be used ELSE ‘Date of cancellation request’ = ‘R’. C186 :IF the attribute 'Security' on HEADER level is not present THEN the data group/attribute can not be used ELSE the data group/attribute is by default = 'O', except where additional conditions or rules for the same data group/attribute imply something else C187 :IF the attribute 'Security' on HEADER level is set to '1' THEN the data group 'TRADER Consignor – security' on TRANSIT OPERATION level or TRADER Consignor – security' on GOODS ITEM level must be present C188 :IF the attribute 'Security' on HEADER level is set to '1' and the attribute 'SPECIAL MENTION.Additional information_id' = '10600' is used for at least one GOODS ITEM THEN the data group 'TRADER Consignee - security' and the data group 'GOODS ITEM.TRADER Consignee - security' can not be used ELSE the data group 'TRADER Consignee – security' on TRANSIT OPERATION level or TRADER Consignee – security' on GOODS ITEM level must be present Page 87 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 C191 :IF the attribute 'Security' on HEADER level is set to '1' THEN the data group/attribute must be present ELSE the data group/attribute = 'O' C200 : IF ‘State of seals ok’ = ‘NO’ THEN SEALS INFO = ‘R’ ELSE SEALS INFO = ‘O’. C210 : IF UNLOADING RESULT, ‘Conform’ = ‘YES’ (NO remarks) THEN All data groups and attributes marked with ‘Cond 210’ cannot be used ELSE All data groups and attributes marked with ‘Cond 210’ = ‘R’ when relevant. C236 : IF attribute ‘GRN (Box 52)’ of data group ‘GUARANTEE REFERENCE’ is used THEN the attribute = ‘R’ ELSE the attribute is optional C501 IF the attribute ‘TIN’ is present in the data group THEN this attribute = ='O' cannot be used ELSE this attribute = ‘R’ C531 IF 'Security' = '1' and Transport mode at border' = '4' or '40' THEN the attribute is 'R' and consists of the (IATA/ICAO) flight number and has format an..8: - an..3: mandatory prefix identifying the airline/operator - n..4: mandatory number of the flight - a1: optional suffix ELSE the attribute is 'O' and the format of the attribute has no restrictions C547 IF the attribute 'TRANSIT OPERATION.Security' is not present or if the 'Specific circumstance indicator' = 'A' ('TRANSIT OPERATION.Security' is present) THEN the attributes 'Commercial Reference Number (box 7)', 'Commercial Reference Number (ex box 7)' and the data group 'PRODUCED DOCUMENTS/CERTIFICATES' = 'O' ELSE ('Security' is present and 'Specific circumstance indicator' not present or other than 'A') IF the attribute 'Commercial Reference Number (box 7)' and 'Commercial Reference Number (ex box 7)' is not used THEN at least one attribute 'PRODUCED DOCUMENTS/ CERITIFICATES.Document type' for the first GOODS ITEM pointing to a transport document must be present ELSE the data group 'PRODUCED DOCUMENTS/ CERTIFICATES' = 'O' C572 IF the attribute 'Specific circumstance indicator' = ‘E’ IF the first two digits of 'CUSTOMS OFFICE. Office of Departure consist of an Member State country code THEN the attribute = ‘R’ ELSE the attribute = ‘O’ ELSE the attribute = ‘O’. C576 :IF the attribute EXPORT OPERATION / IMPORT OPERATION / TRANSIT OPERATION.Transport charges – Method of payment' is used THEN this attribute can not be used ELSE this attribute = 'O' C587 :IF the attribute 'Security' on HEADER level is present, THEN the datagroup/attribute is required ELSE the datagroup/attribute cannot be used. Page 88 of 198 NCTS 09/06/2015 C589 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 :IF the attribute 'Specific Circumstance Indicator' = 'E' THEN the attribute 'Unloading place' = 'O' ELSE the attribute 'Unloading place' = 'R' C596 : IF the attribute 'Specific circumstance indicator' = ‘E’ IF the first two digits of 'CUSTOMS OFFICE of Departure.Reference number' do not consist of an EU Member State country code THEN the attribute = ‘R’ ELSE the attribute = ‘O’ ELSE the attribute = ‘O’. C598 : IF the attribute 'TRANSIT OPERATION.Security' = ' 1' and the first two digits of 'CUSTOMS OFFICE of Transit.Reference number' consists of a Member State country code and the first two digits of 'CUSTOMS OFFICE of Departure.Reference number' does not consist of a Member State country code THEN the attribute = ‘R’ ELSE the attribute = ‘O’. C599 IF the attribute ' TRANSIT OPERATION.Security ' = ' 1' and the first two digits of 'CUSTOMS OFFICE of Departure.Reference number' do not consist of a Member State country code THEN the attribute = ‘R’ ELSE the attribute = ‘O’. C900 IF "Declaration Type (box 1)" = 'TIR', THEN "Type of Guarantee" type 'B' = 'R' ELSE "Type of Guarantee" type 'B' cannot be used C901 IF "Declaration Type" = 'TIR', THEN one, and only one, occurrence of the value ‘952’ of "Document Type (box 44)" irrespective of other document types declared - must be entered within one operation and it must be present in the first goods item ELSE value ‘952’ of "Document Type (box 44)" cannot be used C902 IF "Document Type (box 44)" = '952', THEN "Document Reference (box 44)" = 'R' ELSE "Document Reference (box 44)" = 'O' The document reference in case of Document Type '952' has to have the format an10 and must follow the algorithm used by IRU. C903 IF "Declaration Type" = 'TIR', THEN the data group 'PRODUCED DOCUMENTS/CERTIFICATES' for the first Goods Item = 'R' ELSE the data group 'PRODUCED DOCUMENTS/CERTIFICATES' = 'O'. C904 IF ‘Declaration Type’ = 'TIR', THEN “Holder ID TIR” = ‘R’, ELSE “Holder ID TIR” cannot be used. NATIONAL CONDITIONS NC050 : IF ‘TIR Holder ID’ (box 50) is used THEN all attributes of name and address (NAD) (box50) = ‘O’ if already known by NCTS ELSE all attributes of name and address (NAD) (box50) = ‘R’ Page 89 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX D – STRUCTURE RULES AND NATIONAL RULES FOR IE MESSAGES RULES R005 : ‘Item no’ (box 32) is always used even if ‘Items’ (box 5) = ‘1’, ‘Item no’ (box 32) is also ‘1’ R007 : Each ‘Item no’ (box 32) is unique throughout the declaration. The items shall be numbered in a sequential fashion, starting from '1' for the first item and incrementing the numbering by '1' for each following item". R010 : When the same Consignor is declared FOR ALL GOODS ITEMS, the data group ‘TRADER Consignor (box 2)’ on HEADER level is used. The data group ‘TRADER Consignor (ex box 2)’ on GOODS ITEM level cannot be used R011 : When the same Consignee is declared FOR ALL GOODS ITEMS, the data group ‘TRADER Consignee (box 8)’ on HEADER level is used. The data group ‘TRADER Consignee (ex box 8)’ on GOODS ITEM level cannot be used R012 : The attribute is sent if it was provided in the corresponding message that was received from the Trader. R015 : The data group ‘TRADER Authorised Consignee (box 53)’ can be used to indicate that simplified procedure will be used at destination. R020 : When the declaration type (box 1 or ex box 1) = ‘T2’ and the movement is issued in a non-EU country (identified by the Office of Departure), the Principal must declare at least one ‘Previous document type’ (box 40) = ‘T2’, ‘T2L’, ‘T2F’, ‘T2LF’, ‘T2CIM’, ‘T2TIR’ or ‘T2ATA’ followed by its reference in ‘Previous document reference’. R021 : A zero '0' is to be considered as a valid number in this field . R027 : Either ‘Additional information coded’ or ‘Text’ of the data group ‘SPECIAL MENTIONS’ (Box 44) is required in case ‘SPECIAL MENTIONS’ is used. R036 : Condition ‘C10’ cannot be checked in case "Transport mode at border" (Box 25) is not used R041 : ‘Agreed Location Of Goods’/’Agreed Location Code’, ‘Authorised location of goods’ and ‘Customs sub place’ (box 30) cannot be used at the same time. R060 : When the Trader uses Commodity codes then he must declare at least 4 and up to 8 digits of the commodity code R075 : ‘Export from EC’ and ‘Export from country’ cannot be used at the same time. When ‘Export from EC’ is used, its value is set to ‘1’. R100 : The attribute is used as the basic language to be used in any further communication between the Trader at Departure and the Customs system. If the Trader does not use this attribute then the Customs system will use the default language of the office concerned. R105 : The total number of packages is equal to the sum of all ‘Number of packages’ + all ‘Number of pieces’ + a value of ‘1’ for each declared ‘bulk’. R123 : From the originally received IE, only the attributes in error are transmitted back to the Trader, indicating whether the attribute(s) in question is missing or incorrect R135 : The IE retransmits back to the Trader the whole E_DEC_DAT received associating to each single attribute, when the case occurs, the data group ‘RESULTS OF CONTROL’. : The data in the IE corresponds always to the current (latest) version of the transit declaration data. This means that it contains the amended declaration data (if any) and/or the revised declaration data after a control (if any) and completed with the departure control results. R143 Page 90 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 R145 : At least one occurrence of this data group must be present in the message R150 : The attribute ‘Corrected value’ of the data group ‘RESULTS OF CONTROL’ is linked with each single attribute that can be subject of a control and therefore it must reflect the same characteristics of the original message attribute R155 : The data group SGI-CODES must be present in case the declaration contains Sensitive Goods, otherwise it cannot be used R156 : A ‘Sensitive Quantity’ is always required when the movement contains sensitive goods (see also Rule 155). The ‘Sensitive Goods Code’ is not always required when the movement contains sensitive goods. If the HS6 commodity code (Box 33) is enough to uniquely identify a sensitive good then the ‘Sensitive Goods Code’ is not required. If the HS6 commodity code (Box 33) is not enough to uniquely identify a sensitive good then the ‘Sensitive Goods Code’ becomes required. R160 : The data group CONTROL RESULTS must be present in case the declaration is submitted under simplified procedure R165 : The data group SEALS INFO must be present in case the declaration is submitted under simplified procedure, for which the Authorised Consignor’s authorisation requires the use of seals. If the Authorised Consignor has a seals waiver as part of their authorisation, the word “waiver” should be entered in the ‘Seals Identity’ field and the value zero in the ‘Seals Number’ field. R174 : When simplified procedure is used then the EORI-TIN becomes ‘R’ else the EORI-TIN is ‘O’. R175 : Two possible values : ‘0’ = ‘No’ : Request to cancel initiated by Trader ‘1’ = ‘Yes’ : Request to cancel initiated by Customs R180 : Two possible values : Cancellation refused by Customs : Decision = ‘0’ (=NO) Cancellation accepted by Customs : Decision = ‘1’ (=YES) R181 :The data group is required if different from the 'TRADER Principal' (otherwise it is optional). R186 : ‘Unloading completion’ is used as a flag, it can contain 2 possible values; ‘0’ = ‘NO’ This means that the unloading of the goods is not yet completed; ‘1’ = ‘YES’ This means that the goods are completely unloaded. R190 : Either ‘New transport means identity’ and ‘New transport means nationality’ OR ‘New container number’ OR both must be used when ‘TRANSHIPMENT’ occurred R195 : The purpose of this IE is to communicate the permission to start unload the goods (or to go on with the unloading) to the Authorised Consignee. R200 : ‘State of seals ok’ is used as a flag and can contain 2 values: ‘State of seals ok’ = ‘0’ (NO) ‘State of seals ok’ = ‘1’ (YES). R205 : ‘Conform’ is used as a flag, it can contain 2 possible values; ‘0’ = ‘NO’ there are unloading remarks; ‘1’ = ‘YES’ no unloading remarks present. R206 : When no seals are found attached to the consignment and the information brought in by the AAR indicated the use of seals then SEALS ID cannot be used, also, the attribute ‘Seals Number’ is set to zero and an explanation must be given in ‘Unloading Remark’ (=‘R’). In all other cases the data group SEALS ID is required R229 :The attribute is used to distinguish between cases where the NCTS is used (Security = '1') and not used Page 91 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 (Security = not present) for safety and security purposes R230 : This attribute is used as a flag; its value can be either ‘0’ (‘no’) or ‘1’ (‘yes’). R231 : The value of this attribute must be one of the Common Transit countries with the exclusion of LI and SJ. R240 : When the data group “EN ROUTE EVENT” is present then the data groups “INCIDENT” or “TRANSHIPMENT” or both must be present, complemented, where relevant, with the data group “SEALS INFO”. R245 : “Customs sub place”, “Arrival authorised location of goods” and “Arrival Agreed Location Of Goods /Arrival Agreed Location Code” cannot be used at the same time. R330 : The use of PLLs having been suppressed and all offices being NCTS offices, this data group/attribute can no longer be used. R335 : The data groups ‘CONTROL RESULT’ and where necessary ‘SEALS INFO’ become required only when a control by Customs took place at premises of the Authorised Consignor. R340 : When the messages IE043 E_ULD_PER and/or IE007 E_ARR_NOT contain SEALS INFO then the “State of seals ok” must be communicated. R470 : The IE15 allows the usage of commodity codes up to 8 digits (national), however only the first six digits are sent to destination with the AAR (international) and to the Office(s) of Transit with the ATR (international). R510 : The attribute ‘Continue unloading’ of the data group CTL-CONTROL indicates with its progressive numbering, starting from 1,that the IE43 is transmitted to give the first or further permission to continue the unloading. Where the IE brings the permission to start the unloading then all the information as specified in the IE is transmitted, except for the data group CTL_CONTROL which cannot be used. Where the IE communicates the permission to continue the unloading then only attribute MRN of the HEADER data group and the data groups CTL_CONTROL, TRADER at Destination and CUSTOMS OFFICE. Presentation Office with the attribute MRN are used, all the other data groups and attributes cannot be used. R660 :The time has to be given in the format YYYYMMDDHHMM where: YYYY = Year MM = Month DD = Day HH = Hour MM = Minute R700 : This information is not required when goods of different type covered by the same declaration are packed together in such a way that it is impossible to determine the gross mass of each type of goods. R825 :The 'Specific circumstance indicator' with value 'E' (AEO) can be used only under the following condition: The Office of Departure is located in the Community: the 'Principal' and all declared 'Consignorssecurity' have a valid AEO certificate of type 'AEOF' or 'AEOS'. The Office of Departure is not located in the Community: the 'Principal' and all declared 'Consigneessecurity' have a valid AEO certificate of type 'AEOF' or 'AEOS'. R876 :If the same 'Commercial reference number' is declared for all goods items, the attribute 'Commercial reference number' (box 7) on HEADER level is used. The attribute 'Commercial reference number' (ex box 7) on GOODS ITEM level can not be used. Page 92 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 R900 :When "Type of declaration" = 'TIR', the TIR Carnet Number must be used here, that must correspond to the Document Reference of Document Type '952' in PRODUCED DOCUMENTS/ CERTIFICATES. R901 :When "Type of declaration" = 'TIR', the country code (first two digits) in the code of OoDep/ OoDes must have the country regime 'EEC'. R902 :When "Type of declaration" = 'TIR', CUSTOMS OFFICE of Transit cannot be used. R903 :When "Type of declaration" = 'TIR', Control Result Code 'A3' cannot be used. R904 :When the country code of Office of Departure (box C) is AD or SM, the country regime of the country of Office of Destination (box 53) can only be 'EEC'. R905 : When the country of Office of Departure (box C) is a non EU common transit country, the country code of Office of Destination (box 53) can not be 'AD' or 'SM'. R906 :When the country code of Office of Destination (box 53) is 'AD', the country code of Office of Transit can only be 'AD'. R907 :When the country code of Office of Destination (box 53) is 'SM', the country regime of the country of Office of Transit can only be 'EEC'. R908 : When the country of Office of Departure (box C) is a non EU common transit country, the country code of Office of Transit can not be 'AD' or 'SM'. R909 : When the country code of Office of Destination (box 53) is ‘SM’ and the country code of Office of Departure (box C) is 'IT', declaration type (box 1) can only be ‘T2SM’. When the country code of Office of Destination (box 53) is ‘SM’ and the country code of Office of Departure (box C) is not 'IT', declaration type (box 1) can only be ‘T2’ or ‘T2F’ R910 :When the country code of Office of Departure (box C) is 'AD' or 'SM', the country regime of the country of Office of Transit can only be 'EEC'. R911 : When the country code of the Office of Departure is 'SM' and the country code of the Office of Destination is an EU country, 'Declaration type (box 1)' can only be 'T2' or 'T2F'. NATIONAL RULES NR001 : When the declaration type (box1) = ‘TIR’, then both the “TIR Holder ID” and the “EORI” number must be present in the declaration or it shall be rejected. Page 93 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX E – TECHNICAL RULES FOR IE MESSAGES TR0002: The Control Message (IE44/IE51) always reports back the following fields at the HEADER level only if they are available in the relevant declaration message (IE43/IE15 respectively): Identity of means of transport at departure (exp/trans) Nationality of means of transport at departure Total number of packages Total gross mass Specific Circumstance Indicator Transport Charges – Method of Payment Commercial Reference Number These fields are returned for the information of Customs Officers at Departure and are NOT verified on receipt against the original values." TR0003: If errors are found at the HEADER level, then RoC-Control Indicator is set to: - DI (Different values found) or - OT (any Other things to report) If errors are found at the level of GI then GI-RoC-Control Indicator can be set to: - OR (Original values of the Goods item), - DI (Differences in values for a Goods Item), - NE (values of a New Goods item), - NP (Not Presented document) or - OT (Other). TR0005: When the RoC-Control Indicator is equal to DI, this data item is Required. When the RoC-Control Indicator is equal to OT, this data item cannot be used. TR0006: When the RoC-Control Indicator is equal to OT, this data item is Required. When the RoC-Control Indicator is equal to DI, this data item is Optional. TR0007: The GI data group is Required only when discrepancies have been found in one or more GI or when a new goods item has been found during the control. TR0008: This data group shall be used in the following cases: - when the Control Indicator in the accompanying RoC-group is equal to ‘DI’ or ‘NE’, the group will list the information found, if available. For the case where the goods item is missing, the goods item is filled in as TR0011 suggests. - when the Control Indicator in the accompanying RoC-group is equal to ‘OR’, the group will list the information received with the declaration, if present. TR0009: This data item is Required only when the value of the accompanying Control Indicator is equal to OT. For other values of the Control Indicator, it is Optional. TR0010: This data item is Required when the accompanying Control Indicator is equal to NP. In all other cases, this data item must not be used. TR0011: (Unsatisfactory -> Discrepancies at the level of a GI are found – Control Indicator=DI). One or two GI groups are specified: One for the Original GI (GI-OR), and optionally another one for the Found GI (GI-DI). - GI-OR specifies all the data-groups and data-items present in Goods item of the original IE001/IE501 and also includes a RoC - Control Indicator with the value OR. - GI-DI specifies the information for the goods item as found. It contains at least the RoC - Control Indicator with the value DI. Eventually, other Results of Control groups with value NP can be added, specifying not presented documents. Additionally, RoC OT can be added to GI-OR and/or GI-DI groups, specifying any other things to report on the goods item. A missing Goods Item should be treated like a discrepancy. The found 'Goods Item' group should then be empty apart from the 'Item number' field and the 'RoC' groups. Page 94 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 TR0012: (Unsatisfactory -> Missing document – Control Indicator=NP) For each document missing, a RoCgroup with Control Indicator=NP will be added. TR0013: (Unsatisfactory -> New GI found during the control – Control Indicator=NE) For each new GI found during the control, an extra GI group is specified containing all information as found and one Results of Control group with Control Indicator=NE. TR0014: (Unsatisfactory -> Document Not Presented – Control Indicator=NP) GI – RoC – Control Indicator is set to NP. The Pointer to the attribute contains a reference to the missing document in the format 44#n (n being the number of the document). TR0018: The hash symbol (‘#’) is used to indicate the numbering of subdivision or occurrence (i.e. ‘box_number # subdivision/occurrence’) TR0019: The numbering of items: - In case of any difference being found in a Goods Item, the item numbering is equal to numbering defined in the declaration. - In case of a new Goods Item, the item number is equal to the number of the last Goods Item in the declaration + 1. TR0022: In case the value of a MESSAGE.GOODS ITEM.PACKAGES.Number of Packages is ‘0’ then there should exist at least one GOODS ITEM with the same 'Marks and Numbers of Packages', and 'Number of Packages' with value greater than ‘0’. TR0035: Technical Rules "TR9090" and "TR9095" cannot be checked in case "Inland mode of transport" (box 26) is not used. TR0099: This data item must be entered if the message is encoded in EDIFACT and the corresponding free text field is not in the ‘UNOC’ character set. It is otherwise optional. If the data item is filled in, it must contain the language code of the language used in the corresponding free text field. TR0100: This field is to be validated against Codelist 14 Previous Document TR0101 : This field is to be validated against Codelist 39 Additional Information Coded codes TR0103: This field is to be validated against code list 13 (Document Type (Common) TR0301: If GRN is used THEN If “Guarantee Type” = 4 THEN GRN field type = an24 ELSE GRN field type = an17 TR0601: The country codes listed in C001 can be found in CL9 TR0630: The different contracting parties can be found in CL138 TR0635: The non EU common transit country can be found in CL139 TR0901: Only the ‘Error’ data item attached to the level at which the error has been detected, will be used in the CONTRL message. TR0902: The data groups below the one indicating the error in the CONTRL message will not be used. Page 95 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 TR0903: When there is no error at INTERCHANGE (UNB or UNZ segment) or MESSAGE (UNH or UNT segment) level, the data items INTERCHANGE ERRORS.Interchange service segment and MESSAGE RRORS.Message service segment should not be used. TR1200: The items shall be numbered in a sequential fashion, starting from '1' for the first item and incrementing the numbering by '1' for each following item TR9030: The “Incident flag” data item is required if the data item “Incident information” is not present; in order to indicate that an incident has occurred and no other information is available. In any other case, the “Incident flag” data item is optional. The only allowed value of the field is the value ‘1’. TR9085: If this field is used, it must have a value of ‘0’ (zero). TR9090 : IF first digit of 'Inland transport mode' (box 26) = '5' or '7' THEN the 'Identity of means of transport at departure ' (box 18) can not be used" ELSE IF "Container number" is present THEN the 'Identity of means of transport at departure' is 'O' ELSE it is "R" TR9095 : IF first digit of 'Inland transport mode' (box 26) = '2', '5' or '7' THEN the 'Nationality of means of transport at departure' (box 18) can not be used ELSE IF "Container number" is present THEN the 'Nationality of means of transport at departure' is 'O' ELSE it is "R" TR9120 : If used, this data item has to be filled in at GOODS ITEM level only if there is more than one value. If there is one value, it has to be filled in at HEADER level TR9250 : The Field can accept any printable character with ASII value 32-126 or 160-255 of UNOC: Latin-1 ISO 8859-1, UNOD: Latin-2 ISO 8859-2 (Central Europe), UNOH: Latin-4 ISO 8859-4, UNOE: Latin5 ISO 8859-5 or UNOK: Turkish ISO 8859-9, or with ASCII value 32-126 or 160-254 (except 174 and 210) of UNOF: Greek ISO 8859-7. Any other character must be transliterated to one of the aforementioned character set. Page 96 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 APPENDIX F – CODE LIST The values, for the Technical Codes (lists 1, 13, 14, 21, 22, 23, 32, 33, 34, 35, 36, 37. 49, 60, 64, 65, 66, 71, 80, 85, 117, 137), are definitive. NB The trade can download Reference data (business codes) from the Europa On-line databases site at the following link http://ec.europa.eu/taxation_customs/dds2/col/col_download_home.jsp?Lang=en Page 97 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 List 1 NCTS UN/EDIFACT Message Types Details: Used for attribute MESSAGE ERRORS.Message Type. Code CUSDEC CUSRES Value Customs declaration Customs response List 8 Country Codes (full list) Details: Code to specify countries (ISO alpha 2 country code as specified in ISO-3166-1/1997 A Business code maintained in CS/RD. A subset of codes is shown here. The full set can be found on the ISO website Code -AT AU BE BG CA CH DE DK ES FR GB GR HR HU IE IS IT LI LU MK NL NO PL PR PT SE SJ Value technical code Austria Australia Belgium Bulgaria Canada Switzerland Including the German territory of Büsingen and the Italian municipality of Campione d’Italia Germany Including the island of Helgoland; excluding the territory of Büsingen Denmark Spain Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla France Including Monaco and the French overseas departments (Réunion, Guadeloupe, Martinique and French Guiana) United Kingdom Great Britain, Northern Ireland, Channel Islands and Isle of Man Greece Croatia Hungary Ireland Iceland Italy Including Livigno Liechtenstein Luxembourg Macedonia, The Former Yugoslav Republic of Netherlands Norway Poland Puerto Rico Portugal Including Azores and Madeira Sweden Svalbard and Jan Mayen Page 98 of 198 NCTS 09/06/2015 US TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 United States of America List 9 Country Codes (Common Transit) Details: This codelist is a Business codelist maintained in CS/RD, and can be found by selecting the countries with country regime different from OTH (Other Country) i.e. EC country or Transit country not within the EC. Code AD AT AX BE BG CH CY CZ DE DK EE ES FI FR GB GF GP GR HR HU IE IS IT LI LT LU LV MC MK MQ MT NL NO PL Value Andorra Austria Åland Islands Belgium Bulgaria Switzerland Including the German territory of Büsingen and the Italian municipality of Campione d’Italia Cyprus Czech Republic Germany Including the island of Helgoland; excluding the territory of Büsingen Denmark Estonia Spain Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla Finland Including Åland Islands France Including Monaco and the French overseas departments (Réunion, Guadeloupe, Martinique and French Guiana) United Kingdom Great Britain, Northern Ireland, Channel Islands and Isle of Man French Guiana Guadeloupe Greece Croatia Hungary Ireland Iceland Italy Including Livigno Liechtenstein Lithuania Luxembourg Latvia Monaco Macedonia Martinique Malta Netherlands Norway Including Svalbard Archipelago and Jan Mayen Island Poland Page 99 of 198 NCTS 09/06/2015 PT RE RO SE SI SJ SK SM TR List 10 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Portugal Including Azores and Madeira Reunion Romania Sweden Slovenia Svalbard and Jan Mayen Islands Slovakia San Marino Turkey Country Codes (Community Transit) Details: Member countries of the EU. This codelist is a Business codelist maintained in CS/RD, and can be found by selecting the countries with country regime equal to EEC (European Economic Community). Code AT AX BE BG CY CZ DE DK EE ES FI Value Austria Åland Islands Belgium Bulgaria Cyprus Czech Republic Germany Including the island of Helgoland; excluding the territory of Büsingen Denmark Estonia Spain Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla Finland Including Åland Islands Page 100 of 198 NCTS 09/06/2015 Code FR GB GF GP GR HR HU IE IT LT LU LV MC MQ MT NL PL PT RE RO SE SI SK TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value France United Kingdom Great Britain, Northern Ireland, Channel Islands and Isle of Man French Guiana Guadeloupe Greece Croatia Hungary Ireland Italy Including Livigno Lithuania Luxembourg Latvia Monaco Martinique Malta Netherlands Poland Portugal Including Azores and Madeira Reunion Romania Sweden Slovenia Slovakia Page 101 of 198 NCTS 09/06/2015 List 12 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Language Codes Details: Used to specify the language used for declaration purposes and for free text information (ISO alpha 2 Codification – ISO 639/1988), see Annex 38/A Implementing Provisions and Annex Ixa of the Convention. A Business code maintained in CS/RD. A subset of the codes is shown here. Code BG CS CY DA DE EL EN ES ET FI FR HU IS IT LT LV MT NL NO PL PT SK SL SV List 13 Value Bulgarian Czech Welsh Danish German Greek English Spanish Estonian Finnish French Hungarian Icelandic Italian Lithuanian Latvian, Lettish Maltese Dutch Norwegian Polish Portuguese Slovak Slovenian Swedish Remark Dansk Deutsch Ellinika English Espãnol Suomi Français Magyar Islenzk Italiano Nederlands Norsk (Jezyk) Polski Português Slovensky Slovensci Svenska Document Type Detail: Used to specify the produced documents/certificates to be sent across the Common Domain. A Business code maintained in CS/RD. Code Value 2 3 18 235 271 325 380 703 704 705 714 720 Certificate of conformity Certificate of quality Movement certificate A.TR.1 Container list Packing list Proforma invoice Commercial invoice House waybill Master bill of lading Bill of lading House bill of lading CIM consignment note (rail) Transport Document? N N N Y Y N N Y Y Y N Y Page 102 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Code Value 720a 722 730 740 741 750 760 785 787 820 821 822 823 825 830 851 852 853 861 862 864 865 911 933 941 951 952 954 955 Y022 Y023 Y024 Y025 Y026 Y027 Y028 Y029 ZZZ NCTS rail test movement Road list-SMGS Road consignment note Air waybill Master air waybill Despatch note (post parcels) Multimodal/combined transport document (generic) Cargo manifest Bordereau Despatch note model T Despatch note model T1 Despatch note model T2 Control document T5 Despatch note model T2L Goods declaration for exportation Phytosanitary certificate Sanitary certificate Veterinary certificate Certificate of origin Declaration of origin Preference certificate of origin Certificate of origin form GSP Import licence Cargo declaration (arrival) Embargo permit TIF form TIR carnet EUR 1 certificate of origin TA carnet Consignor / exporter (AEO) Consignee (AEO certificate number) Declarant (AEO certificate number) Representative (AEO) Principal (AEO certificate number) Warehousekeeper (AEO) Carrier (AEO certificate number) Other authorised economic operator Other List 14 Transport Document? N Y Y Y Y Y Y Y Y N N N N N N N N N N N N N N N N N Y N Y N N N N N N N N N Previous Document Type Details: Previous administrative reference types. Only those marked ‘common’ are sent across the Common Domain. Code T1 T2 T2ATA T2CIM Value Document T1 T2 T2ATA T2CIM National Common Common Common Page 103 of 198 NCTS 09/06/2015 T2F T2L T2LF T2SM T2TIR ZZZ List 17 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Internal Community transit Declaration — Article 340 c, 1) T2L T2LF T2SM T2TIR Other Common Common Common Common Common Common Kind of Packages Details: Used to specify the kind of packaging in which goods are packed (UNECE Recommendation No.21/Rev.1-1994), see Annex 38/A Implementing Provisions and Annex Ixa of the Convention. A subset of the codes is shown here. Code AE AM AP AT BA BB BC BD BE BF BG BH BI BJ BK BL BN BO BP BQ BR BS BT BU BV BX BY BZ CA CB CC CE CF CG CH Value Aerosol Ampoule, non protected Ampoule, protected Atomizer Barrel Bobbin Bottlecrate, bottlerack Board Bundle Ballon, non protected Bag Bunch Bin Bucket Basket Bale, compressed Bale, non-compressed Bottle, non-protected, cylindrical Ballon, protected Bottle, protected, cylindrical Bar Bottle, non-protected, bulbous Bolt Butt Bottle, protected, bulbous Box Board, in bundle/bunch/truss Bars, in bundle/bunch/truss Can, rectangular Beer crate Churn Creel Coffer Cage Chest Page 104 of 198 NCTS 09/06/2015 Code CI CJ CK CL CO CP CR CS CT CU CV CX CY CZ DJ DP DR EN FC FD FI FL FO FP FR GB GI GZ HG HR IN IZ JC JG JR JT JY KG LG LZ MB MC MS MT MX NE NS NT PA PC PG PH TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value Canister Coffin Cask Coil Carboy, non protected Carboy, protected Crate Case Carton Cup Cover Can, cylindrical Cylinder Canvas Demijohn, non protected Demijohn, protected Drum Envelope Fruit crate Framed crate Firkin Flask Footlocker Filmpack Frame Gas bottle Girder Girders, in bundle/bunch/truss Hogshead Hamper Ingot Ingots, in bundle/bunch/truss Jerrican, rectangular Jug Jar Jutebag Jerrican, cylindrical Keg Log Logs, in bundle/bunch/truss Multiply bag Milk crate Multiwall sack Mat Match box Unpacked or unpackaged Nest Net Packet Parcel Plate Pitcher Page 105 of 198 NCTS 09/06/2015 Code PI PK PL PN PO PT PU PY PZ RD RG RL RO RT RZ SA SC SD SE SH SK SL SM ST SU SW SZ TB TC TD TK TN TO TR TS TU TY TZ VA VG VI VL VO VP VQ VR VS VY WB TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value Pipe Package Pail Plank Pouch Pot Tray/Tray pack Plates, in bundle/bunch/truss Pipes/Planks, in bundle/bunch/truss Rod Ring Reel Roll Rednet Rods, in bundle/bunch/truss Sack Shallow crate Spindle Sea-chest Sachet Skeleton case Slipsheet Sheetmetal Sheet Suitcase Shrinkwrapped Sheets, in bundle/bunch/truss Tub Tea-chest Tube, collapsible/Collapsible tube Tank, rectangular Tin Tun Trunk Truss Tube Tank, cylindrical Tube, in bundle/bunch/truss Vat Bulk, gas (at 1031mbar and 15°C) Vial Bulk, liquid Bulk, solid, large particles (“nodul.”) Vacuum-packed Bulk, liquefied gas (at abnormal temperature/pressure) Bulk, solid, granular particles (« grains ») Bulk, scrap metal Bulk, solid, fine particles (« powders ») Wickerbottle Page 106 of 198 NCTS 09/06/2015 List 18 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Transport Mode Details: Mode of transport corresponding to the active means of transport, see Annex 38/A Implementing Provisions and Annex Ixa of the Convention. A Business code maintained in CS/RD. Code 1 2 3 4 5 7 8 9 List 21 Value Sea transport Rail transport Road transport Air transport Postal consignment Fixed transport installations Inland waterway transport Own propulsion Syntax identifier Details: Character set taken from the used UN/EDIFACT syntax version. Code UNOC List 22 Syntax version number Details: UN/EDIFACT syntax version used for Information Exchanges Code 3 List 23 Error Codes for EDI NCK Details: Subset of the UN/EDIFACT generic error table. Code Value Remarks 2 Syntax version or level not supported Message version/release not supported Data segment missing/invalid Interchange recipient not actual The syntax version or syntax level is not in accordance with the one specified in the TIS 3 6 7 The interchange recipient (S003) is different from the actual recipient Error segment UCI UCI Page 107 of 198 NCTS 09/06/2015 12 recipient Incorrect (code) value 13 Missing 14 Value not supported in this position (code value constraint) Not supported in this position Too many constituents 15 16 18 Unspecified error 19 Invalid decimal notation 21 Invalid character(s) 22 Invalid service character(s) 23 Unknown interchange sender Duplicate detected 26 28 29 32 33 35 Invalid control reference Invalid control count Lower level empty Invalid occurrence outside message Too many repetitions TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value of an element in a message is outside the predefined domain or not part of the applicable code list. The following situations are covered: - Data type differences: the received data type is different from the expected data type, e.g. numeric expected and alphanumeric received. - Data type constraint difference: the data type is not within the constraints given to it. This covers the following three situations:length differences: the received data is too long;format constraints: the received value is not within the expected format constraints e.g. the received date is outside the possible dates;code value constraints: the received value is not within the expected code value range. This type of error is applicable to all elements with code values, so it is also applicable to those elements that identify a message type. A mandatory/required element is missing in the received data, e.g. a mandatory segment is missing or a required element like the MRN is not present. Notification that a recipient does not support use of the specific value of an identified element in the position where it is used. This type of error refers to the use of an improper code value for a specific element. The element is not allowed to be present according to the UN/EDIFACT message specification. A segment or composite data element contains too many elements. This type of error can only be detected in field separated messages like UN/EDIFACT Notification that an error has been identified, but the nature of the error is not reported The decimal notation is not according to the decimal formatting standards UCI, UCM, UCD. One or more character(s) used in the interchange is not a valid character as defined by the syntax level indicated in UNB. This type of error can only occur in elements with alphanumeric data types, e.g. a text with strange characters. The service character(s) used in the interchange is not a valid service character as according to this document UCI UCM UCD UCI UCM UCS UCD UCI UCM UCD UCS UCD UCI UCD UCI UCM UCD UCI UCM UCD UCI UCM UCD UCI The Interchange sender (S002) is unknown. The same interchange is received again. Duplication is detected by reception of an interchange reference that has already been received.Duplicate messages can be received at UN/EDIFACT level, because a message is uniquely identified within an MRN. Therefore, more than one UN/EDIFACT message can have the same reference in the UNH segment The control reference in UNB/UNH does not match the one in UNZ/UNT The number of messages/ segments does not match the number given in UNZ/UNT. The interchange did not contain any messages. An invalid segment or data element occurred in the interchange, between messages. Rejection is reported at the level above. Too many occurrences of a segment or entity. UCI UCI UCM UCI UCM UCI UCI UCS Page 108 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 36 Too many segment group repetitions Notification that a segment group is repeated too many times. 37 Invalid type of character(s) (data type differences) Missing digit in front of decimal sign Element too long (length constraint) Element too short (length constraint) Notification that one or more numeric characters were used in an alphabetic element or that one or more alphabetic characters were used in a numeric element. Notification that a decimal sign is not preceded by one or more digits. Notification that the length of the element received exceeded the maximum length specified. Notification that the length of an element received is shorter than the minimum length specified. 38 39 40 List 27 UCD UCD UCD UCD Flag Details: Used for attributes that can have a positive or negative value. A Transit Business code maintained in CS/RD. Code 0 1 List 31 Value NO YES Type of Declaration Transit Procedures Details: This list applies to attribute Declaration type for CUSDEC-mapped Ies. A Transit Business code maintained in CS/RD. Code TT1 T2 Value Mixed consignment of T1 and T2 goods Goods moving under external Community transit procedure Goods moving under internal Community transit procedure T2F Goods moving under internal Community transit procedure between different fiscal territories see T2 + San Marino TIR T2SM TIR List 32 Action Codes Details: Used for attribute MESSAGE ERRORS.Action taken by recipient. Code 4 7 List 33 Value This level and lower levels rejected This level acknowledged and next lower level acknowledged if not explicitly rejected Interchange Service Segment Tags Details: Used to denote the Interchange Segment in which an error was detected. Code UNB UNZ Value Interchange header segment Interchange trailer segment Page 109 of 198 NCTS 09/06/2015 List 34 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Message Service Segment Tags Details: Used to denote the Message Segment in which an error was detected. Code UNH UNT List 35 Value Message header segment Message trailer segment Version Numbers Details: Code D List 36 Value Draft UN/EDIFACT directory Release Numbers Details: Code 96B List 37 Value UN/EDIFACT 96B directory Controlling Agencies Details: Code UN List 39 Value United Nations Additional Information Coded Details: Codes for Special Mentions (Box 44), see Annex 38/A Implementing Provisions and Annex Ixa of the Convention ‘Additional Information/Special Indication Code to be sent across the Common Domain’. A Transit Business code maintained in CS/RD. Code 10600 DG0 DG1 DG2 List 41 Value Negotiable Bill of lading 'to order blank endorsed' “Export from ‘1 EFTA country’ subject to restriction” OR “Export from ‘EC’ subject to restriction” “Export from ‘1 EFTA country’ subject to duties” OR “Export from ‘EC’ subject to duties” EXPORT Control Indicator GI-RoC Details: This list applies to the data group GOODS ITEM – RESULTS OF CONTROL. A Transit Business code maintained in CS/RD. Code DI NE NP Value Differences (Attribute incorrect) New Entry Not Present Page 110 of 198 NCTS 09/06/2015 Code OR OT List 47 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value Original (technical code) Other Control result Details: Used to record the results of a control of goods either at departure or at destination, see Annex 38/A Implementing Provisions and Annex Ixa of the Convention. A Transit Business code maintained in CS/RD. Code A1 A2 A3 A5 B1 List 49 Code 12 13 14 15 19 26 35 37 38 39 40 Value Satisfactory Considered Satisfactory Simplified Procedure Charges collected Not satisfactory Remark Dep. & Des. Dep. & Des. Dep. Des. Dep. & Des. Functional Error Codes Value Incorrect (code) value Value of an element in a message is outside the predefined domain or not part of the applicable code list. Missing A mandatory/required element is missing in the received data, e.g. a required element like the MRN for the Arrival Notification (IE007) is not present. Value not supported in this position (code value constraint) Notification that a recipient does not support use of the specific value of an identified element in the position where it is used. This type of error refers to the use of an improper code value for a specific element. Not supported in this position An element is not allowed to have a value due to the following two reasons: - The element is not allowed to be present according to the message specification. - The element is not allowed to be present according to some additional condition, e.g. if type of packages has the value ‘UNPACKED’ then number of package cannot have a value Invalid decimal notation The decimal notation is not according to the decimal formatting standards UCI, UCM, UCD Duplicate detected The same interchange is received again. Duplication is detected by reception of an interchange reference that has already been received. Too many repetitions Too many occurrences of a segment or entity. Invalid type characters Notification that one or more numeric characters were used in an alphabetic element or that one or more alphabetic characters were used in a numeric element Missing digit in front of decimal sign Notification that a decimal sign is not preceded by one or more digits. Element too long (length constraint) Notification that the length of the element received exceeded the maximum length specified. Element too short (length constraint) Notification that the length of an element received is shorter than the minimum Page 111 of 198 NCTS 09/06/2015 Code 90 91 92 93 List 51 Code 0 1 2 3 4 5 6 7 8 9 A B List 52 Code G01 G02 G03 G04 G05 G06 G07 G08 G09 G10 G11 G12 List 60 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value length specified. Unknown MRN The MRN of the received message is not known, whereas it is expected to be known. Duplicate MRN The MRN of the received message is already known and is therefore not unique according to the specified rules. Message out of sequence The message can not be processed, because the receiver is not in a proper state. Invalid MRN The structure of the MRN does not conform to the specifications given in Appendix G.1 Guarantee Type codes Value Guarantee waiver Comprehensive Guarantee Individual Guarantee (by guarantor) Cash Deposit Guarantee Flat-rate voucher Guarantee waiver, secured amount not greater than 500 EUR Guarantee waived Guarantee not required for the journey between OoDep and OoTra Guarantee not required for certain public bodies Individual Guarantee with multiple usage Guarantee waiver by agreement Movements carried under the TIR convention Invalid Guarantee Reason codes Value Does not exist Guarantee exists, but not valid Access code not valid Principal of Guarantee is not equal to Principal of Declaration Individual guarantee voucher already used Use restriction : No suspended goods Use restriction : NO sensitive goods Not valid for Country of Tra/Des Reference/Guarantee amounts NOT sufficient Individual guarantee by Guarantor already used Customs Office of Departure/Customs Office of Destination does not correspond (Guarantee type ‘2’) Declared Commodity code # Commodity code in guarantee Message Types Detail: Used for attribute MESSAGE ERRORS.Association assigned code and MESSAGE.Message Type. Page 112 of 198 NCTS 09/06/2015 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 For CUSDEC Code GB007A GB014A GB015B Value Arrival notification Declaration cancellation request Declaration data GB029B GB043A GB044A GB045A GB051B GB055A Release for transit Unloading permission Unloading remarks Write-off notification No release for transit Guarantee not valid for CUSRES Code GB009A GB025A GB028A GB060A GB928A Value Cancellation decision Goods release notification MRN allocated Control decision notification Positive Acknowledgement for FUNACK (CUSRES functional errors) Code GB008A GB016A GB058A CC917A Value Arrival notification rejection Declaration rejected Unloading remarks rejection XML NCK for CONTRL (EDIFACT errors) Code CD907A List 63 Value EDIFACT NACK Country Codes (Common Transit outside Community) Details: Used to verify Country Code in EFTA. This codelist is a Business codelist maintained in CS/RD, and can be found by selecting the countries with country regime equal to TOC. Code AD CH Value Andorra Switzerland Page 113 of 198 NCTS 09/06/2015 IS LI MK NO SJ SM TR List 64 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Iceland Liechtenstein Macedonia Norway Svalbard and Jan Mayen San Marino Turkey Sensitive Goods Code Details: Used as verification for the additional identifier Code 1 List 65 Value UNOD Languages Details: Codes for those languages that utilize the UNOD (Latin-2) character set. The technical codes included in Business Codelists will be maintained by the CS/RD, since the Business Codelists as a whole are maintained by CS/RD. Code CS HR HU PL RO SK SL List 66 Value Czech Croatian Hungarian Polish Romanian Slovakian Slovenian UNOF Languages Details: Codes for those languages that utilize the UNOF 5 (Greek) character set. The technical codes included in Business Codelists will be maintained by the CS/RD, since the Business Codelists as a whole are maintained by CS/RD. Code EL List 70 Value Greek (Ellinika) Country Codes (Customs Office Lists) The country code of SM as well as the codes of all the countries included in code list 9 will be included . The same codelist values are used for all Domains (ECS/NCTS/ICS) in order to support the COL. Code Value Page 114 of 198 NCTS 09/06/2015 BE BG CH CY CZ DE DK EE ES FI FR GB GR HR HU IE IS IT LT LU LV MK MT NL NO PL PT RO SE SI SK SM TR List 71 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Belgium Bulgaria Switzerland - Including the German territory of Büsingen and the Italian municipality of Campione d’Italia Cyprus Czech Republic Germany - Including the island of Helgoland; excluding the territory of Büsingen Denmark Estonia Spain - Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla Finland - Including Åland Islands France - Including Monaco and the French overseas departments (Réunion, Guadeloupe, Martinique and French Guiana) United Kingdom - Great Britain, Northern Ireland, Channel Islands and Isle of Man Greece Croatia Hungary Ireland Iceland Italy - Including Livigno Lithuania Luxembourg Latvia Macedonia Malta Netherlands Norway - Including Svalbard Archipelago and Jan Mayen Island Poland Portugal - Including Azores and Madeira Romania Sweden Slovenia Slovakia San Marino Turkey Country Codes (Guarantee Management – non EC) Details: Used to verify Country Code in field ‘Validity Limitation Non EC.Not valid for other contracting parties’. Page 115 of 198 NCTS 09/06/2015 Code AD CH IS MK NO SM TR List 80 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value Andorra Switzerland Iceland Macedonia Norway San Marino Turkey UNOH Languages Details: Codes for those languages that utilise the UNOH (Latin-4) character set. The technical codes included in Business Codelists will be maintained by the CS/RD, since the Business Codelists as a whole are maintained by CS/RD. Code EE LT LV List 85 Value Estonian Lithuanian Latvian UNOE Languages Details: Codes for those languages that utilise the UNOE (Latin-5) character set. The technical codes included in Business Codelists will be maintained by the CS/RD, since the Business Codelists as a whole are maintained by CS/RD. Code BG List 96 Value Bulgarian Specific Circumstance Indicator Details: Codes pertaining to regulation 1875/2006 Code A B C D E List 100 Value Postal and express consignments Ship and aircraft supplies Road mode of transport Rail mode of transport Authorised economic operators Data Item Acronyms Details: This list shows the overall Data Group structure of the messages in NCTS. The Data Groups are shown in a hierarchical format, where lower level data groups are indented with hyphens. The MESSAGE Data Group being the only data group at the top level, this is the only Data Group that appears without a hyphen in front of it and it comprises of all other data groups in a message. Code Value Page 116 of 198 NCTS 09/06/2015 Code MES HEA PC1 CO1 CE1 TRA TRD GTR EPT RES RNS EST OCP ITI SCR UNG TMG CTC COS TSC CL1 ERS REM TOC REP SLI SID GUA REF IGR VLE LIM TEV CTL INC SF1 SI1 SHP NR3 GDS AR2 DC2 MT2 ROC CO2 CE2 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value MESSAGE ---HEADER ---(PRINCIPAL) TRADER ---(CONSIGNOR) TRADER ---(CONSIGNEE) TRADER ---(AUTHORISED CONSIGNEE) TRADER ---(DESTINATION) TRADER ---GUARANTOR ---(DEPARTURE) CUSTOMS OFFICE ---(PRESENTATION OFFICE) CUSTOMS OFFICE ---(TRANSIT) CUSTOMS OFFICE ---(DESTINATION) CUSTOMS OFFICE ---(RETURN COPIES) CUSTOMS OFFICE ---ITINERARY ---SPECIFIC CIRCUMSTANCE INDICATOR, ---UN DANGEROUS GOODS CODE, ---TRANSPORT CHARGES METHOD OF PAYMENT ---(CARRIER) TRADER, ---(CONSIGNOR-SECURITY) TRADER ---(CONSIGNEE-SECURITY) TRADER ---CTL_CONTROL ---CONTROL RESULT ---UNLOADING REMARK ---RESULTS OF CONTROL ---REPRESENTATIVE ---SEALS INFO ------SEALS ID ---GUARANTEE ------GUARANTEE REFERENCE ---------INVALID GUARANTEE REASON ---------VALIDITY LIMITATION EC ---------VALIDITY LIMITATION NON EC ---EN ROUTE EVENT ------CTL_CONTROL ------INCIDENT ------SEALS INFO ---------SEALS ID ------TRANSHIPMENT ---------CONTAINERS ---GOODS ITEM ------PREVIOUS ADMINISTRATIVE REFERENCES ------PRODUCED DOCUMENTS/CERTIFICATES ------SPECIAL MENTIONS ------RESULTS OF CONTROL ------(CONSIGNOR) TRADER ------(CONSIGNEE) TRADER Page 117 of 198 NCTS 09/06/2015 Code NR2 GS2 SD2 CON RAD INT MER SER DER ER1 List 101 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Value ------CONTAINERS ------PACKAGES ------SGI CODES ------(CONSIGNOR-SECURITY) TRADER ------(CONSIGNEE-SECURITY) TRADER ---INTERCHANGE ERRORS ---MESSAGE ERRORS ------SEGMENT ERRORS ---------DATA ELEMENT ERRORS ---FUNCTIONAL ERROR UN Dangerous Goods Code Details: Codes from the UNDG (United Nations Dangerous Goods list) shall be used. e.g. Code 0094 List 116 Value Flash Powder Transport Charges – Method of Payment Details: Codes pertaining to regulation 1875/2006. Maintained in CS/RD. Code A B C D H Y Z List 117 Value Payment in cash Payment by credit card Payment by cheque Other Electronic credit transfer Account holder with carrier Not pre-paid Security Indicator Details: Code 1 List 137 Value Declaration used for safety and security purposes UNOK Languages Details: Codes for those languages that utilize the UNOK (Turkish) character set. The technical codes included in Business Codelists will be maintained by the CS/RD, since the Business Codelists as a whole are maintained by CS/RD. Code TR Value Turkish Page 118 of 198 NCTS 09/06/2015 List 138 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.2 Country Codes (Functioning as ‘Contracting parties to the Convention on Common Transit’) Details: CL138 = CL63 – SJ –AD –SM + EU Code CH EU IS LI MK NO TR List 139 Value Switzerland European Union Iceland Liechtenstein Macedonia Norway Turkey Country Codes (Functioning as ‘non-EU common transit countries) Details: CL139 = CL63 – AD – SM - SJ Code CH IS LI MK NO TR Value Switzerland Iceland Liechtenstein Macedonia Norway Turkey Page 119 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 APPENDIX G – REFERENCE NUMBERS G.1. Movement Reference Number (MRN) Field 1 2 3 4 5 Content Last two digits of year of formal acceptance of transit movement (YY) Identifier of the country from which movement originates. (ISO alpha 2 country code; see CNT) UK Transit office code Unique identifier for transit movement per year and country Check digit Field type Numeric 2 Examples 03 Alphabetic 2 GB Numeric 6 Alphanumeric 7 000060 8890123 Alphanumeric 1 5 Field 3 contains the last 6 characters of the Reference Code of the Customs Office of Departure. Field 4 contains an identifier for the Transit transaction. Each Transit transaction handled during one year, within the given country, must have a unique number. The 7 characters are produced as a sequence number with an initial value of 1 and incremented by 1 each time the module is used. Although this number is serial, it is serial within the whole of the UK so a particular customs office will have mostly non-serial numbers. Field 5 contains a value that is a check digit for the whole MRN. This field allows for detection of an error when capturing the MRN.G.2. Guarantee Reference Number (GRN) Field Content Field type Examples 1 Last two digits of the year at which the guarantee was accepted (YY) Identifier of the country where the guarantee is lodged. (ISO alpha 2 country code; see CNT). Unique identifier for the acceptance given by the Office of Guarantee per year and country Check digit Identifier of the NCTS flat-rate voucher (1 letter + 6 digits) or NULL for other guarantee types Numeric 2 97 Alphabetic 2 IT Alphanumeric 12 1234AB788966 Alphanumeric 1 Alphanumeric 7 8 A001017 2 3 4 5 Field 1, and 2 as explained above. Field 3 has to be filled with a unique identifier per year and country for the acceptance 1 of the guarantee given by the Office of Guarantee. National Administrations which want to have the Customs Office Reference Number of the Office of Guarantee included in the GRN, could use up to the first 6 characters to insert the National number of the Office of Guarantee. Field 4 has to be filled with a value that is a check digit for the fields 1 to 3 of the GRN. This field allows to detect an error when capturing the first four fields of the GRN. Field 5 is only used when the GRN is related to a flat-rate voucher registered in NCTS. In that case, this field has to be filled with the identifier2 of the voucher. NOTE: Both the guarantee reference number and the access code must be entered in UPPER CASE 1 See part II of annexes 48, 50 and 55, in Implementing provisions Commission Regulation (EEC) no. 2454/93 of 2 July 1993 laying down provisions for the implementation of Council Regulation (EEC) no 2913/92 of 12 Oct 1992 establishing the Community Customs Code. 2 See annex 54 in Implementing provisions. Page 120 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 G.3. Customs Office Reference Number (COR) Field 1 2 Content Identifier of the country to which the Customs Office belongs (ISO alpha 2 country code; see CNT) National number of the Customs Office Field type Examples Alphabetic 2 IT Alphanumeric 6 0830AB Field 1 as explained above. Field 2 has to be freely filled with a 6 character alphanumeric code. The 6 characters allow National Administrations, where necessary, to define a hierarchy of customs offices. A list of the Customs Office Reference numbers can be found on the Europa web site (http://ec.europa.eu/taxation_customs/dds/csrdhome_en.htm) G.4. Commodity Code (COM) Field 1 Content HS6 Field type Examples Numeric 6 (left aligned) 010290 The Harmonised System is a world-wide standard for the first six digits (HS6). The HS6 commodity codes come from national TARIC for the EC. G.5. Sensitive Goods Indicator (SGI) Field Content 1 HS6 (see COM) 2 Additional code for sensitive goods Field type Examples Numeric 6 (left aligned) Numeric up to 2 010290 1 Field 1 is used to identify sensitive goods using HS6. The sensitive goods are defined in the legislation. Field 2 is used in extension to HS6, if a sensitive good cannot uniquely be identified with HS6. G.6. Local Reference Number (LRN) Field Content Field type 1 Trader Identifier Alphanumeric 2 Numbering series Numeric Examples It is suggested that this unique number be structured as a unique trader identifier, prefixing a numbering series, to give a 22 character reference number. An LRN cannot be re-used unless the IE15 has been rejected or cancelled. An LRN will be rejected if it is equal to the MRN of another movement. Page 121 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 APPENDIX H- SEGMENT DESCRIPTIONS H.1. Symbolism used At the top of each page is a summary branching diagram. This provides as a quick reference to roughly where the segment lies within the message. The left part of the tables shows the EDIFACT definition of the segment. The right part shows the corresponding Transit data items. For each occurrence of a segment, the table given shows the following: Position Content Heading, column 1 The segment tag and its position in the EDIFACT message in brackets. They are in bold. The position number for the UNB segment is 0 as it is the interchange header and part of all messages. The position number is the position within the entire UNSM. The segment tables appear in position number order. The position number is followed by the segment name, segment usage (M=mandatory; C=conditional) and the segment occurrence (the maximum number of times it can be used in the transaction). Data group from the FMS that contains the data items carried in the segment. Several data groups can be mapped to the same segment, depending on the segment occurrence (column 1). The data group name is followed by the data group usage (R=Required; O=Optional; D=Dependent) and its repetition factor (the number of times the data group can be used in an IE). TAG of the composite, component data element and/or simple data element; Name of the composite, component data element (upper case) and/or simple data element (lower case); Usage specified in the UNSM (M=mandatory; C=conditional); Format specified in the UNSM (a=alpha only, n=numeric only, an = alpha-numeric, followed by maximum number of characters allowed. Formats containing ‘..’ (e.g. an..35) signify that the size can be less than or equal to the number of characters shown. Otherwise, size is constant. Qualifier value to be used (shown between apostrophes, e.g. ‘14’) qualifier description (in brackets); OR attribute name from FMS, followed by format. Heading, column 2 Body, column 1 Body, column 2 Table 4: Segment Content Description Page 122 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 H.2. EDIFACT Conventions for NCTS UN/EDIFACT choices 1. A UN/EDIFACT interchange starts with an interchange header segment (UNB). 2. The UNA segment is not used. 3. One UN/EDIFACT interchange contains only one message. One IE will correspond to one EDIFACT interchange, which will correspond to one EDIFACT message. 4. Carriage return/Line feed (CR/LF) control characters are permitted in the EDIFACT messages 5. The following separator set is used: ' segment separator + data element separator : composite data element separator ? release character 6. The decimal notation is a ‘.’ (point) 7. Functional grouping is not used (UNG/UNE segments). 8. Nesting indicators are not used. Segment conventions Within every message, the last but one segment will be a UNT segment, denoting the count of the number of segments in the message. This count should include every segment in the EDIFACT message, including UNH and UNT itself, but not UNB and UNZ (last segment) from the EDIFACT interchange. Some EDIFACT messages need to point to other segments in an EDIFACT message. In this case, segment number one is the UNH segment. Some segments require the presence of a segment at a higher level. This higher-level segment must always be present (even if it does not contain any data at all). Some segments are defined as optional. If the relevant data is not present, these segments are not to be included in the EDIFACT message. Numerical fields Numerical fields are either a cardinal value (positive integer value), or a decimal value. The decimal separator is the decimal point “.”. No other symbols are permitted as decimal separator. Triad separators, such as a comma, shall not be used. Signs, whether positive or negative shall not be used (all values are always intrinsically positive). For decimal values, the decimal notation (with the decimal point) should only be used when there is a reason to indicate precision. E.g., for a mass value: 89 kg, with a precision of 1 kg. 89.2 kg, with a precision of 0.1 kg. 89.20 kg, with a precision of 0.01 kg. For numerical values, leading zeroes shall not be used. Trailing zeroes should only be used to indicate precision. If the decimal point is present, at least one digit shall be present before the decimal point and at least one digit shall be present after the decimal point. Examples for a n..11,3 type. 12345678.123 123456789.123 12345678.1234 0123 +123 -123 (Valid). (Invalid - too many digits before decimal point and too many digits in total). (Invalid - too many digits after decimal point and too many digits in total). (Invalid - leading zero not permitted). (Invalid - plus sign not allowed). (Invalid - minus sign not allowed). Page 123 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 1,234 .3 12345. 0.3 1.3E1 12345678901 (Invalid - triad separator not allowed). (Invalid - no digit before decimal point). (Invalid - no digit after decimal point). (Valid). (Invalid - only digits and decimal point allowed). (Valid - n..11,3 can have maximally 11 digits of which maximally 3 after decimal point). The rules above also apply to numerical values within Code Lists. Values in such a list should always be stored without leading zeroes (in order to avoid problems of comparing e.g. a value of 60 against a value of 060). There are no Code Lists with decimal values. When a data-type includes a decimal, the maximum number of decimals after the decimal sign is included in the length of the data-type. For instance, the format n..11,3 can have 3 decimals included in its maximum total length of 11 numeric digits. Neither the decimal point nor the sign are included in the length of a data-type. Text fields Leading and trailing spaces shall not be used within text fields. The EDIFACT separator characters (see EDIFACT message formatting) can be used within such a field. The EDIFACT release character (?) can be used to include the separator characters in fields. Text fields can be either language-sensitive (with an associated LNG field), or not. Language-sensitive text fields can be in any of the following character sets taken from UN/EDIFACT syntax version 3: UNOC: Latin 1 (Europe, Latin America, Caribbean, Canada, Africa), ISO 8859-1. UNOD: Latin 2 (Eastern Europe), ISO 8859-2 UNOE: Cyrillic (Bulgaria, Russia, Ukraine), ISO 8859-5 UNOF: Greek, ISO 8859-7. UNOG: Latin 3 (Malta), ISO 8859-3 UNOH: Latin 4 (Estonia, Lithuania, Latvia), ISO 8859-4 UNOK: Turkish (Turkey) ISO 8859-9 Non-language sensitive text fields and numeric fields can only be in the UNOC character set. The UNOC character set will be used except for some free text fields that may be encoded in a different character set. Date fields Unless specified otherwise, these are of the format ccyymmdd. H.3. Format changes The following adjustments have been made to the UN Standard Messages. Changes UNSM CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC Position GIR[131].C206#1 FTX[11&93].C108.4440 PAC[14] PAC[14] .C402.7077 PAC[14].C402.7077 PAC[14 & 99].C402.7064 Change status from M to C status from M to C repeat factor 99 status from M to C an..3 to an..4 status from M to C Reason SGI.CODES.Sensitive Quantity Pointer to the attribute GUARANTEE - GUARANTEE REFERENCE (99x) Guarantee Access Code Guarantee Access Code and Seals Number Number of Packages Guarantee reference number Page 124 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC CUSDEC CUSDEC PCI[15].C210.7102 CST[92] CST.FTX[93] status from M to C repeat factor 9999 repeat factor 999 CUSDEC CUSDEC PAC[99] DOC[111] repeat factor 99 repeat factor 999 CUSDEC TOD[115] repeat factor 99 Endorsement Date mapping of GOODS ITEM (9999) mapping of GOODS ITEM - RESULTS OF CONTROL (199x) GOODS ITEM - PACKAGES (99x) GOODS ITEM - PREVIOUS ADMINISTRATIVE REFERENCES (9x) GOODS ITEM - SPECIAL MENTIONS (99x) CUSRES FTX[4] repeat factor 9999 FUNCTIONAL ERROR (999x) Table 5: Message Format Changes H.4. Stuffing In a number of cases, there is no proper segment or qualifier for mapping functional requirements. In these cases, another segment is selected for exchanging the functional message structures. This is called ‘stuffing’. Basic reasons are the difference in hierarchy between FMS and UN/EDIFACT UNSMs and missing segments/data elements to represent the semantics of the FMS. Stuffing to D96B CUSDEC concerns the mapping of the ‘En route event’ and the ‘Guarantee’ groups. A requirement in the SAM Mapping Guideline has been to not use the DMS group of D96B CUSDEC. Therefore, alignment to the SAM Mapping Guideline required mapping of these groups to other groups in D96B CUSDEC. This concerns the following major mappings: Message CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC CUSDEC Element EN ROUTE EVENT VALIDITY LIMITATION TRANSHIPMENT TRANSHIPMENT INCIDENT INCIDENT CONTAINERS GUARANTEE REFERENCE Segment PAC PCI FTX PCI FTX PCI PCI PAC Position 14 15 16 15 16 15 15 14 Table 6: Segment Stuffing H.5. UNB Segment ‘Message sender’ will contain the TURN of the company (declarant) that is physically sending the EDIFACT message i.e. sending the email containing the message. Where a company does not have a TURN, a dummy TURN will be allocated by HMCE. Only 30 characters are available for the declarant’s identification as the first 5 characters are used by NCTS to identify the route by which the declaration has entered NCTS e.g. EDCS, XML, Web. ‘Message recipient’ will contain the value ‘NCTS’. ‘Interchange Control Reference’ (ICR) needs to be unique for every EDIFACT interchange. H.6. UNH Segment ‘Message Identification’ – unique reference of a message within an MRN. As there is only one message per interchange, the same value could be used for this and the ICR. Page 125 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 H.7. CUSDEC (Core) Segment Table UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNB[0], INTERCHANGE HEADER, M, 1 x S001 0001 0002 SYNTAX IDENTIFIER S002 0004 0007 0008 INTERCHANGE SENDER S003 0010 0007 0014 INTERCHANGE RECIPIENT S004 0017 0019 DATE/TIME OF PREPARATION 0020 INTERCHANGE CONTROL REFERENCE M an..14 S005 0022 0025 RECIPIENTS REFERENCE, PASSWORD C C C 0026 APPLICATION REFERENCE M an..14 0029 PROCESSING PRIORITY CODE C a1 0031 ACKNOWLEDGEMENT REQUEST C n1 0032 COMMUNICATIONS AGREEMENT ID. C an..35 0035 TEST INDICATOR C n1 Syntax identifier Syntax version number Sender identification Identification code qualifier Address for reverse routing Recipient identification Identification code qualifier Routing address Date Time Recipient's reference/password Recipient's reference/password qualifier M M a4 M n1 M M an..35 C an..4 C an..14 M M an..35 C an..4 C an..14 M M n6 M n4 an..14 an2 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message, R, 1x ’UNOC’ ’3’ Message sender (an..35) ’NCTS’ Date of preparation (n6) (YYMMDD) Time of preparation (n4) (HHMM) Interchange control reference (an..14) ’NCTS’ Priority (a1) Acknowledgement request (n1) Communications agreement id (an..35) | | Test indicator (n1) UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNH[1], MESSAGE HEADER, M, 1 x 0062 MESSAGE REFERENCE NUMBER M an..14 S009 0065 0052 0054 0051 0057 MESSAGE IDENTIFIER Message type Message version number Message release number CONTROLLING AGENCY Association assigned code M M M M M M an..6 an..3 an..3 an..2 an..6 0068 COMMON ACCESS REFERENCE C an..35 S010 0070 0073 STATUS OF THE TRANSFER C M n..2 C a1 Sequence of transfers First and last transfer | | | | | | | | | | | | | | | message, R, 1x Message identification (an..14) 'CUSDEC' 'D' '96B' 'UN' Message type (an..6) e.g. GB015B Common access reference (an..35) - Page 126 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ BGM[2], BEGINNING OF MESSAGE, M, 1 x C002 1001 1131 3055 1000 DOCUMENT/MESSAGE NAME C106 1004 1056 1060 DOCUMENT/MESSAGE IDENTIFICATION C C C C C an..3 an..3 an..3 an..35 Document/message number Version Revision number C C C C an..35 an..9 an..6 1225 MESSAGE FUNCTION, CODED C an..3 4343 RESPONSE TYPE, CODED C an..3 Document/message name, coded Code list qualifier Code list responsible agency, coded Document/message name | | | | | | | | | | | | | | | header, R, 1x -) Type of declaration (an..9) Document/reference number (an..21) - Page 127 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | header, C, 1x '9' (= Place/port of loading) Place of loading, code (an..17) - '14' (= Location of goods) Agreed location of goods, code (an..17) Agreed location of goods (an..35) Authorised location of goods, code (an..17) Agreed location of goods LNG (a2) Page 128 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | (presentation office) customs office, R, 1x | | | | | | | | | | | | | | | | | | | | | | header, C, 1x '20' (= Place of ultimate destination of goods) Arrival agreed location code (an..17) Arrival agreed location of goods (an..35) Arrival agreed location of goods LNG (a2) '22' (= Customs office of clearance) Reference number (an8) - '26' (= City) Customs sub place (an..17) - Page 129 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | (destination) customs office, R, 1x '35' (= Country of exportation/despatch) Country of dispatch/export code (a2) - '36' (= Country of ultimate destination) Country of destination code (a2) - '45' (= Customs Office of Destination (transit)) Reference number (an8) - Page 130 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | (transit) customs office, R, 1x | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | header, R, 1x '50' (=Customs office of transit) Reference number (an8) Arrival time (n12) - '58' (=Full track loading or unloading) Place of unloading LNG (a2) Place of unloading, code (an..35) - '60' (= Place of arrival) Arrival notification place (an..35) Arrival notification place LNG (a2) Page 131 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | header, C, 1x | | | | | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | | | | | (departure) customs office, D, 1x '84' (= Transport contract place of acceptance) Arrival authorised location of goods (an..17) - CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two '91' (= Place of document issue) Declaration place (an..35) Declaration place LNG (a2) '118' (= Customs Office of Departure) Reference number (an8) - Page 132 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 Page 133 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | (return copies) customs office, O, 1x '168' (= Physical place of return of item) Reference number (an8) Customs office name (an..35) Country (a2) Street and number (an..35) Postal code (an..9) City (an..35) NAD LNG (a2) Page 134 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ control result, D, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, D, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier '9' (= Processing date/time) Control date (n8) - '132' (= Arrival date/time, estimated) Arrival notification date (n8) - '137' (= Document/message date/time) Declaration date (n8) - '148' (= Acceptance date of Goods declaration (Customs)) Acceptance date (n8) - '182' (= Issue date) Issuing date (n8) - '204' (=Release date) Write-off date (n8) - Page 135 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... header, R, 1x M M an..3 C an..35 C an..3 | | | | | control result, O, 1x M M an..3 C an..35 C an..3 | | | | | DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[5], DATE/TIME/PERIOD, C, 15 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier '318' (=Request date) Date of cancellation request (n8) - '268' (= Transit time/limits) Date limit (n8) - Page 136 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ header, R, 1x an..3 an..3 an..3 an..17 | | | | | | ctl_control, O, 1x an..3 an..3 an..3 an..17 | | | | | | header, D, 1x an..3 an..3 an..3 an..17 | | | | | | header, R, 1x an..3 an..3 an..3 an..17 | | | | | | header, O, 1x an..3 an..3 an..3 an..17 | | | | | | GIS[6], GENERAL INDICATOR, C, 25 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C GIS[6], GENERAL INDICATOR, C, 25 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C GIS[6], GENERAL INDICATOR, C, 25 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C GIS[6], GENERAL INDICATOR, C, 25 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C GIS[6], GENERAL INDICATOR, C, 25 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C NCTS return copy (n1) '62' (= Requirements indicator) - Continue unloading (n1) '63' (= Handling action) - Containerised indicator (n1) '109' (= Customs indicator) - Simplified procedure flag (n1) '119' (= Customs simplified procedure) - Security (n1) '187' (= Suppiler’s stock turnover) - Page 137 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... FII[7], FINANCIAL INSTITUTION INFORMATION, C, 1 x | header, C, 1x 3035 | | | | | | | | | | | | | | | | C078 3194 3192 3192 6345 C088 3433 1131 3055 3434 1131 3055 3432 3436 3207 PARTY QUALIFIER ACCOUNT IDENTIFICATION M an..3 C Account holder number Account holder name Account holder name Currency, coded C C C C an..35 an..35 an..35 an..3 INSTITUTION IDENTIFICATION Insitution name identification Code list qualifier Code list responsible agency, coded Insitution branch number Code list qualifier Code list responsible agency, coded Insitution name Insitution branch place C C C C C C C C C an..11 an..3 an..3 an..17 an..3 an..3 an..70 an..70 C an..3 COUNTRY, CODED ‘XX’ (= no heading) Commercial Reference Number (an..70) - Page 138 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ MEA[8], MEASUREMENTS, C, 5 x 6311 MEASUREMENT APPLICATION QUALIFIER M an..3 C502 6313 6321 6155 6154 MEASUREMENT DETAILS C C C C C an..3 an..3 an..17 an..70 C174 6411 6314 6162 6152 6432 VALUE/RANGE C M C C C C an..3 an..18 n..18 n..18 n..2 7383 SURFACE/LAYER INDICATOR, CODED C an..3 Measurement dimension, coded Measurement significance, coded Measurement attribute identification Measurement attribute Measure unit qualifier Measurement value Range minimum Range maximum Significant digits EQD[9], EQUIPMENT DETAILS, C, 999 x 8053 EQUIPMENT QUALIFIER M an..3 C237 8260 1131 3055 3207 EQUIPMENT IDENTIFICATION C C C C C an..17 an..3 an..3 an..3 C224 8155 1131 3055 8154 EQUIPMENT SIZE AND TYPE C C C C C an..10 an..3 an..3 an..35 8077 EQUIPMENT SUPPLIER, CODED C an..3 8249 EQUIPMENT STATUS, CODED C an..3 8169 FULL/EMPTY INDICATOR, CODED C an..3 Equipment identification number Code list qualifier Code list responsible agency, coded Country, coded Equipment size and type identification Code list qualifier Code list responsible agency, coded Equipment size and type | | | | | | | | | | | | | | | | | header, D 1x | | | | | | | | | | | | | | | | | | | | itinerary, C, 99x 'WT' (= Weights) ‘AAD’ (=Total gross mass) ‘KGM’ (= Kilogram) Total gross mass (n..11,3) - 'CH' (= chassis) - country of routing code (a2) - Page 139 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ SEL[10], SEAL NUMBER, C, 999 x 9308 C215 9303 1131 3055 9302 SEAL NUMBER SEAL ISSUER 4517 SEAL CONDITION, CODED Sealing party, coded Code list qualifier Code list responsible agency, coded Sealing party M C C C C C an..10 C an..3 an..3 an..3 an..3 an..35 | | | | | | | | | seals id, O, 9999x ’0’ Seals identity (an..20) Seals identity LNG (a2) Page 140 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 M C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | header, O, 1x | | | | | | | | | | | | | | | | | | results of control, C, 1x 'ABL' (= Government information) Binding itinerary (n1) - 'ABQ' (= Method of issuance) No release motivation (an..350) - continued 70 - continued 70 - continued 70 - continued 70 No release motivation LNG (a2) 'ABV' (= Acceptance terms additional) Control indicator (an2) Pointer to the attribute (an..35) Description (an..140) - continued 70Corrected value (an..27) Description LNG (a2) Page 141 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED (a2) Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | header, D, 1x | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | representative, O, 1x 'ACB' (= Additional information) Dialog language indicator at departure/destination 'ACD' (= Reason) - - Cancellation reason (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Cancellation reason LNG (a2) 'ACP' (= Statistical title) Representative capacity (an..35) Representative capacity LNG (a2) Page 142 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | header, O, 1x 'ACR' (= Unexpected stops information) Conveyance reference number (an..35) - Page 143 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[11], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | control result, O, 1x | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | header, C, 1x 'ADO' (= Type of survey question) Control result code (an2) - 'ALL' (= All documents) NCTS accompanying document language code (a2) 'PAI' (= Payment instructions information) Transport charges/method of payment (a1) - Page 144 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ header, R, 1x an..3 an..35 an..6 an..35 | | | | | | guarantee, R, 9x an..3 an..35 an..6 an..35 | | | | | | RFF[12], REFERENCE, C, 99 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C RFF[12], REFERENCE, C, 99 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C 'ABE' (= Declarant's reference number) Reference number (an..22) - 'ABL' (= Customs guarantee number) Guarantee type (an1) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(ABL).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 PACKAGE TYPE IDENTIFICATION Item description type, coded C C an..4 7064 Type of packages C an..35 7143 7064 7143 Item number type, coded Type of packages Item number type, coded C C C an..3 an..35 an..3 C C an..3 C an..3 Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages CASE) C532 8395 RETURNABLE PACKAGE DETAILS Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | guarantee - guarantee reference, D, 99x '1' (= Guarantee reference) Access code (an4 – UPPER CASE) Guarantee reference number (GRN) (an24 – UPPER Other guarantee reference (an..35) - Page 145 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(ABL).PAC(001).PCI[15], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | guarantee - guarantee reference - validity limitation ec, O, 1x '19' (= Legal requirements) Not valid for EC (n1) - RFF(ABL).PAC(001).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | guarantee - guarantee reference - validity limitation non ec, 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 | | | | | | | | | | | | | | | | | | | | O, 99x Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded '28' (= Mark free text) Not valid for other contracting parties (a2) - Page 146 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ header, C, 1x an..3 an..35 an..6 an..35 | | | | | | en route event, O, 9x an..3 an..35 an..6 an..35 | | | | | | RFF[12], REFERENCE, C, 99 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C RFF[12], REFERENCE, C, 99 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C 'AMJ' (= Payment plan reference) Specific circumstance indicator (a1) - 'AIV' (= Event reference number) Place (an..35) Place LNG (a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).DTM[13], DATE/TIME/PERIOD, C, 1 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier M M an..3 C an..35 C an..3 | | | | | en route event - ctl_control, R, 1x '311' (= On) Already in NCTS (n1) - Page 147 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C C C C C C an..4 an..35 an..3 an..35 an..3 C532 8395 RETURNABLE PACKAGE DETAILS C C an..3 C an..3 Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages Item description type, coded Type of packages Item number type, coded Type of packages Item number type, coded Returnable package freight payment responsibility 8393 Returnable package load contents, coded RFF(AIV).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C532 8395 RETURNABLE PACKAGE DETAILS Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages C Item description type, coded C an..4 Type of packages Item number type, coded Type of packages Item number type, coded C C C C an..35 an..3 an..35 an..3 C C an..3 C an..3 Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | en route event, O, 9x | | | | | | | | | | | | | | | | | | | | | | | | | en route event - incident, O, 1x '2' (= En route event) Country code (a2) - '3' (= Incident) Incident flag (n1) - Page 148 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(003).PCI[15], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | en route event - incident, O, 1x '18' (= Carrier's instructions) Endorsement date (n8) Endorsement authority (an..35) Endorsement authority LNG (a2) Endorsement place (an..35) Endorsement place LNG (a2) Endorsement country (a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(003).PCI(18).FTX[16], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | en route event - incident, O, 1x 'ABM' (= Onward routing information) Incident information (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Incident information LNG (a2) Page 149 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C532 8395 RETURNABLE PACKAGE DETAILS Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages C Item description type, coded C an..4 Type of packages Item number type, coded Type of packages Item number type, coded C C C C an..35 an..3 an..35 an..3 C C an..3 C an..3 Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | en route event - seals info, O, 1x '4' (= Seals info) Seals number (n..4) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(004).PCI[15], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | en route event - seals info - seals id, R, 9999x '21' (= Line item only) Seals identity (an..20) Seals identity LNG (a2) - Page 150 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C532 8395 RETURNABLE PACKAGE DETAILS Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages C Item description type, coded C an..4 Type of packages Item number type, coded Type of packages Item number type, coded C C C C an..35 an..3 an..35 an..3 C C an..3 C an..3 Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | en route event - transhipment, O, 1x '5' (= Transhipment) New transport means nationality (a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(005).PCI[15], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | en route event - transhipment, O, 1x '23' (= Entire shipment) Endorsement date (n8) Endorsement authority (an..35) Endorsement authority LNG (a2) Endorsement place (an..35) Endorsement place LNG (a2) Endorsement country (a2) - Page 151 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(005).PCI(23).FTX[16], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | en route event - transhipment, O, 1x 'TRA' (= Transportation information) New transport means identity (an..27) New transport means identity LNG (a2) UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(AIV).PAC(005).PCI[15], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | en route event - transhipment - containers, O, 99x '30' (= Mark serial shipping container code) Container number (an..17) - Page 152 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF[12], REFERENCE, C, 99 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C an..3 an..35 an..6 an..35 RFF[12], REFERENCE, C, 99 x C506 1153 Reference qualifier M M an..3 Reference number Line number Reference version number C C C REFERENCE number) 1154 1156 4000 an..35 an..6 an..35 | | | | | | header, R, 1x | | | | | | guarantee reference, R, 99x 'LAN' (= Loading authorization number) Authorisation id (an..17) - 'ABK' (=Transit (onward carriage) guarantee (bond) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(ABK).PAC[14], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C532 8395 RETURNABLE PACKAGE DETAILS Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages C Item description type, coded C an..4 Type of packages Item number type, coded Type of packages Item number type, coded C C C C an..35 an..3 an..35 an..3 C C an..3 C an..3 Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | guarantee reference, R, 1x ‘1’ (= Guarantee reference) - Guarantee reference number (GRN) (an..24) - Page 153 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ RFF(ABK).PAC(001).PCI(19).FTX[16], FREE TEXT, C, 99 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | guarantee reference – invalid guarantee reason, R, 1x 'AUT' (= Authentication) Invalid guarantee reason code (an..3) Invalid guarantee reason (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Invalid guarantee reason LNG (a2) Page 154 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TDT[17], DETAILS OF TRANSPORT, C, 5 x 8051 TRANSPORT STAGE QUALIFIER M an..3 8028 CONVEYANCE REFERENCE NUMBER C an..17 C220 8067 8066 MODE OF TRANSPORT C C C an..3 an..17 C228 8179 8178 TRANSPORT MEANS C C C an..8 an..17 C040 3127 1131 3055 3128 CARRIER C C C C C an..17 an..3 an..3 an..35 8101 TRANSIT DIRECTION, CODED C an..3 C401 8457 8459 7130 EXCESS TRANSPORTATION INFORMATION C M an..3 M an..3 C an..17 C222 8213 1131 3055 8212 8453 TRANSPORT IDENTIFICATION 8281 TRANSPORT OWNERSHIP, CODED Mode of transport, coded Mode of transport Type of means of transport identification Type of means of transport Carrier identification Code list qualifier Code list responsible agency, coded Carrier name Excess transportation reason, coded Excess transportation responsibility, coded Customer authorization number Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport Nationality of means of transport, coded C C C C C C an..9 an..3 an..3 an..35 an..3 C an..3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | header, D, 1x '1' (= Inland transport) Inland transport mode (n..2) - Page 155 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... TDT[17], DETAILS OF TRANSPORT, C, 5 x 8051 TRANSPORT STAGE QUALIFIER M an..3 8028 CONVEYANCE REFERENCE NUMBER C an..17 C220 8067 8066 MODE OF TRANSPORT C C C an..3 an..17 C228 8179 8178 TRANSPORT MEANS C C C an..8 an..17 C040 3127 1131 3055 3128 CARRIER C C C C C an..17 an..3 an..3 an..35 8101 TRANSIT DIRECTION, CODED C an..3 C401 8457 8459 7130 EXCESS TRANSPORTATION INFORMATION C M an..3 M an..3 C an..17 C222 8213 1131 3055 8212 TRANSPORT IDENTIFICATION 8453 8281 Mode of transport, coded Mode of transport Type of means of transport identification Type of means of transport Carrier identification Code list qualifier Code list responsible agency, coded Carrier name Excess transportation reason, coded Excess transportation responsibility, coded Customer authorization number Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport C C C C C an..9 an..3 an..3 an..35 Nationality of means of transport, coded C an..3 C an..3 TRANSPORT OWNERSHIP, CODED | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | header, D, 1x '11' (= At border) Transport mode at border (n..2) Type of means of transport crossing border (n..2) Identity of means of transport crossing border (O,an..27) Nationality of means of transport crossing border (O,a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ █ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TDT(11).TPL[18], TRANSPORT PLACEMENT, C, 1 x C222 8213 1131 3055 8212 8453 (a2) TRANSPORT IDENTIFICATION Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport Nationality of means of transport, coded M C C C C C an..9 an..3 an..3 an..35 an..3 | | | | | | | header, O, 1x Identity of means of transport crossing border LNG Page 156 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TDT[17], DETAILS OF TRANSPORT, C, 5 x 8051 TRANSPORT STAGE QUALIFIER M an..3 8028 CONVEYANCE REFERENCE NUMBER C an..17 C220 8067 8066 MODE OF TRANSPORT C C C an..3 an..17 C228 8179 8178 TRANSPORT MEANS C C C an..8 an..17 C040 3127 1131 3055 3128 CARRIER C C C C C an..17 an..3 an..3 an..35 8101 TRANSIT DIRECTION, CODED C an..3 C401 8457 8459 7130 EXCESS TRANSPORTATION INFORMATION C M an..3 M an..3 C an..17 C222 8213 1131 3055 8212 8453 TRANSPORT IDENTIFICATION 8281 TRANSPORT OWNERSHIP, CODED Mode of transport, coded Mode of transport Type of means of transport identification Type of means of transport Carrier identification Code list qualifier Code list responsible agency, coded Carrier name Excess transportation reason, coded Excess transportation responsibility, coded Customer authorization number Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport Nationality of means of transport, coded C C C C C C an..9 an..3 an..3 an..35 an..3 C an..3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | header, D, 1x '12' (= At departure) Identity of means of transport at departure (an..2) Nationality of means of transport at departure (a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ █ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TDT(12).TPL[18], TRANSPORT PLACEMENT, C, 1 x C222 8213 1131 3055 8212 8453 TRANSPORT IDENTIFICATION Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport Nationality of means of transport, coded M C C C C C an..9 an..3 an..3 an..35 an..3 | | | | | | | header, D, 1x Identity of means of transport at departure LNG (a2) Page 157 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (principal) trader, D, 1x 'AF' (= Transit principal) EORI-TIN (an..17) Name (an..35) Holder ID TIR (an..17) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 158 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | representative, O, 1x | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (consignee) trader, O, 1x 'AH' (= Transit principal's agent/representative) Name (an..35) - 'CN' (= Consignee) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 159 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (destination) trader, R, 1x 'CPD' (= Charges payer at destination) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 160 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (consignor) trader, O, 1x | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | control result, O, 1x 'CZ' (= Consignor) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) 'EI' (= Controller, quality) Controlled by (an..35) Controlled by LNG (a2) Page 161 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (carrier) trader, D, 1x | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (consignor-security) trader, D, 1x 'GA' (= Road carrier) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) 'GL' (= Socially insured person) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 162 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (consignee-security) trader, D, 1x | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (authorised consignee) trader, O, 1x 'UC' (= Ultimate consignee) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) 'TD' (= Party to receive technical documentation) TIN (an..17) - Page 163 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... NAD[22], NAME AND ADDRESS, C, 10 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | guarantor, O, 1x 'SX' (= surety for additions) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 164 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TOD[26], TERMS OF DELIVERY OR TRANSPORT,C,1x 4055 C an..3 4215 C an..3 C C C C C C an..3 an..3 an..3 an..70 an..70 TERMS OF DELIVERY OR TRANSPORT FUNCTION, CODED TRANSPORT CHARGES METHOD OF PAYMENT, CODED C100 4053 1131 3055 4052 4052 TERMS OF DELIVERY OR TRANSPORT Terms of delivery or transport, coded Code list qualifier Code list responsible agency, coded Terms of delivery or transport Terms of delivery or transport | | | | | | | | | | | | | unloading remark, R, 1x '5' (= Transport condition) Conform (n1) Unloading completion (n1) Unloading date (n8) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ █ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ TOD(5).FTX[28], FREE TEXT, C, 1 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | unloading remark, R, 1x 'CLR' (= Loading remarks) State of the seals OK (n1) Unloading Remark (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Unloading Remark LNG (a2) UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNS[32], SECTION CONTROL, M, 1 x 0081 SECTION IDENTIFICATION M a1 | , R, 1x | 'D' (= Header/detail section separation) Page 165 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST[92], CUSTOMS STATUS OF GOODS, C, 9999 x 1496 GOODS ITEM NUMBER C C246 7361 1131 3055 CUSTOMS IDENTITY CODES C M an..18 C an..3 C an..3 C246 7361 1131 3055 CUSTOMS IDENTITY CODES C246 7361 1131 3055 CUSTOMS IDENTITY CODES C246 7361 1131 3055 CUSTOMS IDENTITY CODES C246 7361 1131 3055 CUSTOMS IDENTITY CODES Customs code identification Code list qualifier Code list responsible agency, coded Customs code identification Code list qualifier Code list responsible agency, coded Customs code identification Code list qualifier Code list responsible agency, coded Customs code identification Code list qualifier Code list responsible agency, coded Customs code identification Code list qualifier Code list responsible agency, coded n..5 C M an..18 C an..3 C an..3 C M an..18 C an..3 C an..3 C M an..18 C an..3 C an..3 C M an..18 C an..3 C an..3 | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item, D, 9999x Item number (n..5) Commodity code (taric code) (an..22) Type of declaration (an..5) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ █─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).FTX[93], FREE TEXT, C, 999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | goods item, D, 9999x 'AAA' (= Goods description) Goods description (an..260) - continued 70 - continued 70 - continued 50 Goods description LNG (a2) Page 166 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... CST(*).FTX[93], FREE TEXT, C, 999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C O C C C an..70 an..70 an..70 an..70 an..70 C an..3 CST(*).FTX[93], FREE TEXT, C, 999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C O C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | goods item - results of control, D, 5x | | | | | | | | | | | | | | | | | | goods item, D, 1x 'ABV' (= Acceptance terms additional) Control indicator (an2) Pointer to the attribute (an..35) Description (an..140) - continued 70 Description LNG (a2) 'IND' (= Commercial invoice item description) Commercial reference number (an..70) - Page 167 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─█─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).LOC[94], PLACE/LOCATION IDENTIFICATION, C, 25 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two CST(*).LOC[94], PLACE/LOCATION IDENTIFICATION, C, 25 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | goods item, D, 999x | | | | | | | | | | | | | | | | | | | | | | goods item, D, 999x '35' (= Country of exportation/despatch) Country of dispatch/export code (a2) - '36' (= Country of ultimate destination) Country of destination code (a2) - Page 168 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─█─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).MEA[96], MEASUREMENTS, C, 20 x 6311 MEASUREMENT APPLICATION QUALIFIER M an..3 C502 6313 6321 6155 6154 MEASUREMENT DETAILS C C C C C an..3 an..3 an..17 an..70 C174 6411 6314 6162 6152 6432 VALUE/RANGE C M C C C C an..3 an..18 n..18 n..18 n..2 7383 SURFACE/LAYER INDICATOR, CODED C an..3 Measurement dimension, coded Measurement significance, coded Measurement attribute identification Measurement attribute Measure unit qualifier Measurement value Range minimum Range maximum Significant digits CST(*).MEA[96], MEASUREMENTS, C, 20 x 6311 MEASUREMENT APPLICATION QUALIFIER M an..3 C502 6313 6321 6155 6154 MEASUREMENT DETAILS C C C C C an..3 an..3 an..17 an..70 C174 6411 6314 6162 6152 6432 VALUE/RANGE C M C C C C an..3 an..18 n..18 n..18 n..2 7383 SURFACE/LAYER INDICATOR, CODED C an..3 Measurement dimension, coded Measurement significance, coded Measurement attribute identification Measurement attribute Measure unit qualifier Measurement value Range minimum Range maximum Significant digits | | | | | | | | | | | | | | | | | goods item, O, 999x | | | | | | | | | | | | | | | | | goods item, O, 999x 'WT' (= Weights) ‘AAA’ (=Unit net weight) ‘KGM’ (= Kilogram) Net mass (n..11,3) - 'WT' (= Weights) ‘AAB’ (=Unit gross weight) ‘KGM’ (= Kilogram) Gross mass (n..11,3) - Page 169 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─█─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).NAD[97], NAME AND ADDRESS, C, 5 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item - (consignee) trader, D, 1x 'CN' (= Consignee) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 170 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... CST(*).NAD[97], NAME AND ADDRESS, C, 5 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item - (consignor) trader, O, 1x 'CZ' (= Consignor) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 171 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... CST(*).NAD[97], NAME AND ADDRESS, C, 5 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item - (consignee-security) trader, D, 1x 'DP' (= Delivery party) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 172 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... CST(*).NAD[97], NAME AND ADDRESS, C, 5 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box TDT[98], DETAILS OF TRANSPORT, C, 5 x 8051 TRANSPORT STAGE QUALIFIER M an..3 8028 CONVEYANCE REFERENCE NUMBER C an..17 C220 8067 8066 MODE OF TRANSPORT C C C an..3 an..17 C228 8179 8178 TRANSPORT MEANS C C C an..8 an..17 C040 3127 1131 3055 3128 CARRIER C C C C C an..17 an..3 an..3 an..35 8101 TRANSIT DIRECTION, CODED C an..3 C401 8457 8459 7130 EXCESS TRANSPORTATION INFORMATION C M an..3 M an..3 C an..17 C222 8213 1131 3055 8212 8453 TRANSPORT IDENTIFICATION 8281 TRANSPORT OWNERSHIP, CODED Mode of transport, coded Mode of transport Type of means of transport identification Type of means of transport Carrier identification Code list qualifier Code list responsible agency, coded Carrier name Excess transportation reason, coded Excess transportation responsibility, coded Customer authorization number Id. of means of transport identification Code list qualifier Code list responsible agency, coded Id. of the means of transport Nationality of means of transport, coded C C C C C C an..9 an..3 an..3 an..35 an..3 C an..3 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item - (consignor-security) trader, D, 1x | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item, D, 1x 'GM' (= Inventory controller) EORI-TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) '10' (=pre-carriage transport) Transport charges/method of payment (a1) UN dangerous goods code (an4) | - Page 173 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─█─░─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).PAC[99], PACKAGE, C, 99 x 7224 NUMBER OF PACKAGES C n..8 C531 7075 7233 7073 PACKAGING DETAILS C C C C an..3 an..3 an..3 C202 7065 1131 3055 7064 PACKAGE TYPE C C C C C an..17 an..3 an..3 an..35 C402 7077 7064 7143 7064 7143 PACKAGE TYPE IDENTIFICATION C532 8395 RETURNABLE PACKAGE DETAILS Packaging level, coded Packaging related information, coded Packaging terms and conditions, coded Type of packages identification Code list qualifier Code list responsible agency, coded Type of packages C Item description type, coded C an..4 Type of packages Item number type, coded Type of packages Item number type, coded C C C C an..35 an..3 an..35 an..3 C C an..3 C an..3 Returnable package freight payment responsibility 8393 Returnable package load contents, coded | | | | | | | | | | | | | | | | | | | | | | | | | goods item - packages, D, 99x '6' (= Packages) Kind of packages (an..3) Number of packages (n..5) Number of pieces (n..5) - Page 174 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ █ ░ | | ░ ░ CST(*).PAC(006).PCI[100], PACKAGE IDENTIFICATION, C, 999 x 4233 MARKING INSTRUCTIONS, CODED C an..3 C210 7102 7102 7102 7102 7102 7102 7102 7102 7102 7102 MARKS & LABELS C C C C C C C C C C C an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 an..35 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 C827 7511 1131 3055 TYPE OF MARKING C M an..3 C an..3 C an..3 Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Shipping marks Type of marking, coded Code list qualifier Code list responsible agency, coded | | | | | | | | | | | | | | | | | | | | | goods item - packages, O, 99x '28' (= Mark free text) Marks & numbers of packages (an..42) - continued 7 Marks & numbers of packages LNG (a2) - Page 175 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─█─░─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).RFF[105], REFERENCE, C, 999 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C an..3 an..35 an..6 an..35 | | | | | | goods item - containers, O, 99x 'AAQ' (= Unit load device (e.g. container) identification n) Container number (an..17) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─█─░─░ | | | ░ ░ ░ | | ░ ░ CST(*).DOC[111], DOCUMENT/MESSAGE DETAILS, C, 999 x C002 1001 1131 3055 1000 DOCUMENT/MESSAGE NAME C503 1004 1373 1366 3453 DOCUMENT/MESSAGE DETAILS M C C C C an..3 an..3 an..3 an..35 C C C C C an..35 an..3 an..35 an..3 3153 C an..3 1220 C n..2 C n..2 Document/message name, coded Code list qualifier Code list responsible agency, coded Document/message name Document/message number Document/message status, coded Document/message source Language, coded COMMUNICATION CHANNEL IDENTIFIER, CODED NUMBER OF COPIES OF DOCUMENT REQUIRED 1218 NUMBER OF ORIGINALS OF DOCUMENT REQUIRED | | | | | | | | | | | | | | | | | | | | | goods item - previous administrative references, D, 9x '190' (= Statistical and other administrative internal docu) Previous document type (an..6) Previous document reference (an..35) Complement of information LNG (a2) Complement of information (an..26) Previous document reference LNG (a2) - Page 176 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... CST(*).DOC[111], DOCUMENT/MESSAGE DETAILS, C, 999 x C002 1001 1131 3055 1000 DOCUMENT/MESSAGE NAME C503 1004 1373 1366 3453 DOCUMENT/MESSAGE DETAILS M C C C C an..3 an..3 an..3 an..35 C C C C C an..35 an..3 an..35 an..3 3153 C an..3 1220 C n..2 C n..2 Document/message name, coded Code list qualifier Code list responsible agency, coded Document/message name Document/message number Document/message status, coded Document/message source Language, coded COMMUNICATION CHANNEL IDENTIFIER, CODED NUMBER OF COPIES OF DOCUMENT REQUIRED 1218 NUMBER OF ORIGINALS OF DOCUMENT REQUIRED | | | | | | | | | | | | | | | | | | | | | goods item - produced documents/certificates, D, 99x '916' (= Related document) Document type (an..4) Document reference (an..35) Complement of information LNG (a2) Complement of information (an..26) Document reference LNG (a2) - Page 177 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─█─░ | | | ░ ░ ░ | | ░ ░ CST(*).TOD[115], TERMS OF DELIVERY OR TRANSPORT, C, 99 x 4055 C an..3 4215 C an..3 C C C C C C an..3 an..3 an..3 an..70 an..70 TERMS OF DELIVERY OR TRANSPORT FUNCTION, CODED TRANSPORT CHARGES METHOD OF PAYMENT, CODED C100 4053 1131 3055 4052 4052 TERMS OF DELIVERY OR TRANSPORT Terms of delivery or transport, coded Code list qualifier Code list responsible agency, coded Terms of delivery or transport Terms of delivery or transport | | | | | | | | | | | | | goods item - special mentions, O, 99x '2' (= Despatch condition) - Export from EC (n1) Export from country (a2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ █ | | ░ ░ CST(*).TOD(2).FTX[117], FREE TEXT, C, 1 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | goods item - special mentions, O, 99x 'ACB' (= Additional information) Additional information coded (an..5) Additional information (an..70) Additional information LNG (a2) Page 178 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─█ | | | ░ ░ ░ | | ░ ░ CST(*).GIR[131], RELATED IDENTIFICATION NUMBERS, C, 50 x 7297 SET IDENTIFICATION QUALIFIER M an..3 C206 7402 7405 4405 IDENTIFICATION NUMBER C M an..35 C an..3 C an..3 C206 7402 7405 4405 IDENTIFICATION NUMBER C206 7402 7405 4405 IDENTIFICATION NUMBER C206 7402 7405 4405 IDENTIFICATION NUMBER C206 7402 7405 4405 IDENTIFICATION NUMBER Identity number Identity number qualifier Status, coded Identity number Identity number qualifier Status, coded Identity number Identity number qualifier Status, coded Identity number Identity number qualifier Status, coded Identity number Identity number qualifier Status, coded C M an..35 C an..3 C an..3 C M an..35 C an..3 C an..3 C M an..35 C an..3 C an..3 C M an..35 C an..3 C an..3 | | | | | | | | | | | | | | | | | | | | | | | | | | | goods item - sgi codes, O, 9x '3' (= Package) Sensitive quantity (n..11,3) Sensitive goods code (n..2) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNS[144], SECTION CONTROL, M, 1 x 0081 SECTION IDENTIFICATION M a1 | , R, 1x | 'S' (= Detail/summary section separation) Page 179 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSDEC (Core) Segment Table ...... UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ header, R, 1x M M an..3 M n..18 C an..3 | | | | | header, O, 1x M M an..3 M n..18 C an..3 | | | | | seals info, O, 1x M M an..3 M n..18 C an..3 | | | | | CNT[145], CONTROL TOTAL, C, 5 x C270 6069 6066 6411 CONTROL Control qualifier Control value Measure unit qualifier CNT[145], CONTROL TOTAL, C, 5 x C270 6069 6066 6411 CONTROL Control qualifier Control value Measure unit qualifier CNT[145], CONTROL TOTAL, C, 5 x C270 6069 6066 6411 CONTROL Control qualifier Control value Measure unit qualifier '5' (= Number of Customs item detail lines) Total number of items (n..5) - '11' (= Total number of packages) Total number of packages (n..7) - '16' (= Total number of equipment) Seals number (n..4) - UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNT[151], MESSAGE TRAILER, M, 1 x 0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 0062 MESSAGE REFERENCE NUMBER M an..14 UNB and UNZ) | | message, R, 1x | Number of segments in the message(not including | Message identification (an..14) UNB UNH RFF CST UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ | | | | ░─░ ░ ░ ░─░─░─░─░─░─░─░─░ | | | ░ ░ ░ | | ░ ░ UNZ[152], INTERCHANGE TRAILER, M, 1 x 0036 INTERCHANGE CONTROL COUNT M n..6 0020 INTERCHANGE CONTROL REFERENCE M an..14 | message, R, 1x | Interchange control count | | Interchange control reference (an..14) Page 180 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 H.8. CUSRES (Core) Segment Table UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ █ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ UNB[0], INTERCHANGE HEADER, M, 1 x S001 0001 0002 SYNTAX IDENTIFIER S002 0004 0007 0008 INTERCHANGE SENDER S003 0010 0007 0014 INTERCHANGE RECIPIENT S004 0017 0019 DATE/TIME OF PREPARATION 0020 INTERCHANGE CONTROL REFERENCE M an..14 S005 0022 0025 RECIPIENTS REFERENCE, PASSWORD C M an..14 C an2 0026 APPLICATION REFERENCE C an..14 0029 PROCESSING PRIORITY CODE C a1 0031 ACKNOWLEDGEMENT REQUEST C n1 0032 COMMUNICATIONS AGREEMENT ID. C an..35 0035 TEST INDICATOR C n1 Syntax identifier Syntax version number Sender identification Identification code qualifier Address for reverse routing Recipient identification Identification code qualifier Routing address Date Time Recipient's reference/password Recipient's reference/password qualifier M M a4 M n1 M M an..35 C an..4 C an..14 M M an..35 C an..4 C an..14 M M n6 M n4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message, R, 1x ’UNOC’ ’3’ ’NCTS’ Message recipient (an..35) Date of preparation (n6) (YYMMDD) Time of preparation (n4) (HHMM) Interchange control reference (an..14) ’NCTS’ Priority (a1) Acknowledgement request (n1) Communications agreement id (an..35) Test indicator (n1) UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░ UNH[1], MESSAGE HEADER, M, 1 x 0062 MESSAGE REFERENCE NUMBER M an..14 S009 0065 0052 0054 0051 0057 MESSAGE IDENTIFIER Message type Message version number Message release number CONTROLLING AGENCY Association assigned code M M M M M C an..6 an..3 an..3 an..2 an..6 0068 COMMON ACCESS REFERENCE C an..35 S010 0070 0073 STATUS OF THE TRANSFER C M n..2 C a1 Sequence of transfers First and last transfer | | | | | | | | | header, R, 1x Message identification (an..14) 'CUSRES' 'D' '96B' 'UN' Message type (an..6) e.g. GB028A | | Common access reference (an..35) | | | | - Page 181 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Core) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ BGM[2], BEGINNING OF MESSAGE, M, 1 x C002 1001 1131 3055 1000 DOCUMENT/MESSAGE NAME C106 1004 1056 1060 DOCUMENT/MESSAGE IDENTIFICATION C C C C C an..3 an..3 an..3 an..35 Document/message number Version Revision number C C C C an..35 an..9 an..6 1225 MESSAGE FUNCTION, CODED C an..3 4343 RESPONSE TYPE, CODED C an..3 Document/message name, coded Code list qualifier Code list responsible agency, coded Document/message name | | | | | | | | | | | | | | | header, R, 1x Document/reference number (an..21) - ‘11’- UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, D, 1x M M an..3 C an..35 C an..3 | | | | | DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier '148' (= Acceptance date of Goods declaration (Customs)) Acceptance date (n8) - '184' (= Notification date/time) Date of control notification (n8) - '193' (= Execution date) Date of cancellation decision (n8) - '261' (= Release date/time) Goods release date (n8) - '318' (= Request date) Date of cancellation request (n8) - Page 182 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Core) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | header, D, 1x 'ABY' (= Regulatory information) Cancellation justification (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Cancellation justification LNG (a2) UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ LOC[6], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | (presentation office) customs office, R, 1x '22' (= Customs office of clearance) Reference number (an8) - Page 183 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Core) Segment Table …… LOC[6], PLACE/LOCATION IDENTIFICATION, C, 99 x 3227 PLACE/LOCATION QUALIFIER M an..3 C517 3225 1131 3055 3224 LOCATION IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C519 3223 1131 3055 3222 RELATED LOCATION ONE IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 C553 3233 1131 3055 3232 RELATED LOCATION TWO IDENTIFICATION C C C C C an..25 an..3 an..3 an..70 5479 RELATION, CODED C an..3 Place/location identification Code list qualifier Code list responsible agency, coded Place/location Related place/location one identification Code list qualifier Code list responsible agency, coded Related place/location one Related place/location two identification Code list qualifier Code list responsible agency, coded Related place/location two | | | | | | | | | | | | | | | | | | | | | | (departure) customs office, R, 1x '118' (= Customs Office of Departure) Reference number (an8) - UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ header, D, 1x an..3 an..3 an..3 an..17 | | | | | | header, R, 1x an..3 an..3 an..3 an..17 | | | | | | GIS[7], GENERAL INDICATOR, C, 10 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C GIS[7], GENERAL INDICATOR, C, 10 x C529 7365 1131 3055 7187 PROCESSING INDICATOR Processing indicator, coded Code list qualifier Code list responsible agency, coded Process type identification M M C C C Cancellation decision (n1) '70' (= Customs inspection type) - Cancellation initiated by Customs (n1) '117' (= Customs procedure) - Page 184 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Core) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ NAD[9], NAME AND ADDRESS, C, 9 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (principal) trader, R, 1x 'AF' (= Transit principal) TIN (an..17) Name (an..35) Holder iD TIR (an..17) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) Page 185 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Core) Segment Table …… NAD[9], NAME AND ADDRESS, C, 9 x 3035 PARTY QUALIFIER M an..3 C082 3039 1131 3055 PARTY IDENTIFICATION DETAILS C M an..35 C an..3 C an..3 C058 3124 3124 3124 3124 3124 NAME AND ADDRESS C080 3036 3036 3036 3036 3036 3045 PARTY NAME C059 3042 3042 3042 3042 STREET 3164 Party id. identification Code list qualifier Code list responsible agency, coded C M C C C C an..35 an..35 an..35 an..35 an..35 C M C C C C C an..35 an..35 an..35 an..35 an..35 an..3 C M C C C an..35 an..35 an..35 an..35 CITY NAME C an..35 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 3251 POSTCODE IDENTIFICATION C an..9 3207 COUNTRY, CODED C an..3 Name and address line Name and address line Name and address line Name and address line Name and address line Party name Party name Party name Party name Party name Party name format, coded Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box Street and number/p.o. box | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (destination) trader, R, 1x 'CPD' (= Charges payer at destination) TIN (an..17) Name (an..35) Street and number (an..35) City (an..35) NAD LNG (a2) Postal code (an..9) Country code (a2) UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ RFF[12], REFERENCE, C, 999 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C an..3 an..35 an..6 an..35 | | | | | | header, R, 1x 'ABE' (= Declarant's reference number) Reference number (an..22) - UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ UNT[52], MESSAGE TRAILER, M, 1 x 0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 0062 MESSAGE REFERENCE NUMBER M an..14 | message, R, 1x | Number of segments in the message | | Message identification (an..14) UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ UNZ[53], INTERCHANGE TRAILER, M, 1 x 0036 INTERCHANGE CONTROL COUNT M n..6 0020 INTERCHANGE CONTROL REFERENCE M an..14 | message, R, 1x | Interchange control count | | Interchange control reference (an..14) Page 186 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 H.9. CUSRES (Functional Errors) Segment Table UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬──┐ █ ░ ░ ░ ░ ░ ░ ░ ░ ░ UNB[0], INTERCHANGE HEADER, M, 1 x S001 0001 0002 SYNTAX IDENTIFIER S002 0004 0007 0008 INTERCHANGE SENDER S003 0010 0007 0014 INTERCHANGE RECIPIENT S004 0017 0019 DATE/TIME OF PREPARATION 0020 INTERCHANGE CONTROL REFERENCE M an..14 S005 0022 0025 RECIPIENTS REFERENCE, PASSWORD C M an..14 C an2 0026 APPLICATION REFERENCE C an..14 0029 PROCESSING PRIORITY CODE C a1 0031 ACKNOWLEDGEMENT REQUEST C n1 0032 COMMUNICATIONS AGREEMENT ID. C an..35 0035 TEST INDICATOR C n1 Syntax identifier Syntax version number Sender identification Identification code qualifier Address for reverse routing Recipient identification Identification code qualifier Routing address Date Time Recipient's reference/password Recipient's reference/password qualifier M M a4 M n1 M M an..35 C an..4 C an..14 M M an..35 C an..4 C an..14 M M n6 M n4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message, R, 1x ’UNOC’ ’3‘ ’NCTS’ Message recipient (an..35) Date of preparation (n6) (YYMMDD) Time of preparation (n4) (HHMM) Interchange control reference (an..14) ’NCTS’ Priority (a1) Acknowledgement request (n1) Communications agreement id (an..35) Test indicator (n1) UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ UNH[1], MESSAGE HEADER, M, 1 x 0062 MESSAGE REFERENCE NUMBER M an..14 S009 0065 0052 0054 0051 0057 MESSAGE IDENTIFIER Message type Message version number Message release number CONTROLLING AGENCY Association assigned code M M M M M C an..6 an..3 an..3 an..2 an..6 0068 COMMON ACCESS REFERENCE C an..35 S010 0070 0073 STATUS OF THE TRANSFER C M n..2 C a1 Sequence of transfers First and last transfer | | | | | | | | | | | | | | | message, R, 1x Message identification (an..14) 'CUSRES' 'D' '96B' 'UN' Message type (an..6) e.g. GB016A Common access reference (an..35) - Page 187 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Functional Errors) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ BGM[2], BEGINNING OF MESSAGE, M, 1 x C002 1001 1131 3055 1000 DOCUMENT/MESSAGE NAME C106 1004 1056 1060 DOCUMENT/MESSAGE IDENTIFICATION C C C C C an..3 an..3 an..3 an..35 Document/message number Version Revision number C C C C an..35 an..9 an..6 1225 MESSAGE FUNCTION, CODED C an..3 4343 RESPONSE TYPE, CODED C an..3 Document/message name, coded Code list qualifier Code list responsible agency, coded Document/message name | | | | | | | | | | | | | | | header, R, 1x - (no qualifier needed) Type of declaration (an..9) Document/reference number (an..21) ‘11’ - UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ | | | | | header, R, 1x M M an..3 C an..35 C an..3 header, R, 1x M M an..3 C an..35 C an..3 | | | | | header, R, 1x M M an..3 C an..35 C an..3 | | | | | DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier DTM[3], DATE/TIME/PERIOD, C, 9 x C507 2005 2380 2379 DATE/TIME/PERIOD Date/time/period qualifier Date/time/period Date/time/period format qualifier '46' (= Cancellation date) Arrival rejection date (n8) - '46' (= Cancellation date) Declaration rejection date (n8) - '357' (= Cancel if not published by this date) Unloading remarks rejection date (n8) - Page 188 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Functional Errors) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | functional error, D, 999x | | | | | | | | | | | | | | | | | | functional error, D, 999x | | | | | | | | | | | | | | | | | | header, R, 1x 'AAO' (= Error description (free text)) Error type (n2) Error pointer (an..210) - continued 70 - continued 70 Error reason (an..140) - continued 70 - 'AAP' (= Response (free text)) Original attribute value (an..140) - continued 70 - 'ABD' (= Nature of transaction) Action to be taken (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Action to be taken LNG (a2) Page 189 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Functional Errors) Segment Table …… FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 FTX[4], FREE TEXT, C, 9999 x 4451 TEXT SUBJECT QUALIFIER M an..3 4453 TEXT FUNCTION, CODED C C107 4441 1131 3055 TEXT REFERENCE C M an..17 C an..3 C an..3 C108 4440 4440 4440 4440 4440 TEXT LITERAL 3453 LANGUAGE, CODED Free text identification Code list qualifier Code list responsible agency, coded Free text Free text Free text Free text Free text an..3 C C C C C C an..70 an..70 an..70 an..70 an..70 C an..3 | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | header, R, 1x | | | | | | | | | | | | | | | | | | header, R, 1x 'ACD' (= Reason) Declaration rejection reason (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Declaration rejection reason LNG (a2) 'ACD' (= Reason) Unloading remarks rejection reason (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Unloading remarks rejection reason LNG (a2) 'ARR' (= Arrival conditions) Arrival rejection reason (an..350) - continued 70 - continued 70 - continued 70 - continued 70 Arrival rejection reason LNG (a2) Page 190 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Functional Errors) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ header, R, 1x an..3 an..35 an..6 an..35 | | | | | | header, R, 1x an..3 an..35 an..6 an..35 | | | | | | RFF[12], REFERENCE, C, 999 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C RFF[12], REFERENCE, C, 999 x C506 1153 1154 1156 4000 REFERENCE Reference qualifier Reference number Line number Reference version number M M C C C 'ABE' (= Declarant's reference number) Reference number (an..22) - 'ABO' (= Original interchange control reference) original message identification (an..14) - UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ UNT[52], MESSAGE TRAILER, M, 1 x 0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 0062 MESSAGE REFERENCE NUMBER M an..14 | message, R, 1x | Number of segments in the message | | Message identification (an..14) Page 191 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CUSRES (Functional Errors) Segment Table …… UNB UNH UNT UNZ ┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ UNZ[53], INTERCHANGE TRAILER, M, 1 x 0036 INTERCHANGE CONTROL COUNT M n..6 0020 INTERCHANGE CONTROL REFERENCE M an..14 | message, R, 1x | Interchange control count | | Interchange control reference (an..14) Page 192 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 H.10. CONTRL Segment Table UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ █ ░ ░ ░ ░ ░ | ░ | ░ UNB[0], INTERCHANGE HEADER, M, 1 x S001 0001 0002 SYNTAX IDENTIFIER S002 0004 0007 0008 INTERCHANGE SENDER S003 0010 0007 0014 INTERCHANGE RECIPIENT S004 0017 0019 DATE/TIME OF PREPARATION 0020 INTERCHANGE CONTROL REFERENCE M an..14 S005 0022 0025 RECIPIENTS REFERENCE, PASSWORD C M an..14 C an2 0026 APPLICATION REFERENCE C an..14 0029 PROCESSING PRIORITY CODE C a1 0031 ACKNOWLEDGEMENT REQUEST C n1 0032 COMMUNICATIONS AGREEMENT ID. C an..35 0035 TEST INDICATOR C n1 Syntax identifier Syntax version number Sender identification Identification code qualifier Address for reverse routing Recipient identification Identification code qualifier Routing address Date Time Recipient's reference/password Recipient's reference/password qualifier M M a4 M n1 M M an..35 C an..4 C an..14 M M an..35 C an..4 C an..14 M M n6 M n4 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | message, R, 1x ’UNOC’ ’3‘ ’NCTS’ Message recipient (an..35) Date of preparation (n6) (YYMMDD) Time of preparation (n4) (HHMM) Interchange control reference (an..14) Test indicator (n1) UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ █ ░ ░ ░ ░ | ░ | ░ UNH[1], MESSAGE HEADER, M, 1 x 0062 MESSAGE REFERENCE NUMBER M an..14 S009 0065 0052 0054 0051 0057 MESSAGE IDENTIFIER M M M M M C an..6 an..3 an..3 an..2 an..6 0068 COMMON ACCESS REFERENCE C an..35 S010 0070 0073 STATUS OF THE TRANSFER C M n..2 C a1 Message type Message version number Message release number Controlling agency Association assigned code Sequence of transfers First and last transfer | | | | | | | | | | | | | | | message, R, 1x Message identification (an..14) 'CONTRL' 'D' '3' 'UN' ‘CD907A’ - Page 193 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CONTRL Segment Table …… UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ █ ░ ░ ░ | ░ | ░ | interchange errors, R, 1x UCI[2], INTERCHANGE RESPONSE, M, 1 x 0020 INTERCHANGE CONTROL REFERENCE M S002 0004 0007 0008 INTERCHANGE SENDER M S003 0010 0007 0014 0083 INTERCHANGE RECIPIENT ACTION CODED M an..3 0085 SYNTAX ERROR, CODED C an..3 0013 SERVICE SEGMENT TAG, CODED C a3 S011 0098 0104 DATA ELEMENT IDENTIFICATION Sender identification Identification code qualifier Address for reverse routing Recipient Identification Identification code qualifier Routing address an..14 M an..35 C an..4 C an..14 M M an..35 C an..4 C an..14 C Erroneous data element position in segment M n..3 Erroneous component data element in position C n..3 | | | | | | | | | | | | | | | | | | | Interchange control reference (an..14) Message sender (an..35) Message recipient (an..35) Action taken by recipient (an..3) Syntax error (n2) Interchange service segment (a3) Position of erroneous data element (n..3) Position of erroneous data component (n..3) UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ ░ █ ░ ░ | ░ | ░ | message errors, C, 99x UCM[3], MESSAGE RESPONSE, C, 99999 x 0062 MESSAGE REFERENCE NUMBER M S009 0065 0052 0054 0051 0057 MESSAGE IDENTIFIER M 0083 Message Type Message version number Message release number Controlling agency Association assigned code an..14 M M M M C an..6 an..3 an..3 an..2 an..6 ACTION CODED M an..3 0085 SYNTAX ERROR, CODED C an..3 0013 SERVICE SEGMENT TAG, CODED C a3 S011 0098 0104 DATA ELEMENT IDENTIFICATION C Erroneous data element position in segment M n..3 Erroneous component data element in position C n..3 | Message identification (an..14) | | Message type (an..6) | Message version (an..3) | Message release number (an..3) | | Controlling agency (an..2) Association assigned code (an..6) | | Action taken by recipient (an..3) | | Error (n2) | | Message service segment (a3) | | | | Position of erroneous data element (n..3) Position of erroneous data component (n..3) Page 194 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 CONTRL Segment Table …… UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ ░ ░ ░ ░ | █ | ░ UCM(*).UCS[4], SEGMENT ERROR DESCRIPTION, C, 999 x 0096 SEGMENT POSITION IN TAG M n..6 0085 SYNTAX ERROR, CODED C an..3 | segment errors, C, 999x | Segment position in message (n..6) | | Error (n2) | UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ ░ ░ ░ ░ | ░ | █ 0085 SYNTAX ERROR, CODED M an..3 | data element errors, C, 99x | Error (n2) S011 0098 0104 DATA ELEMENT IDENTIFICATION M M C n..3 n..3 | | | UCM(*).UCS(*).UCD[5], DATA ELEMENT ERROR INDICATION, C, 99 x Erroneous data element position in segment Erroneous component data element in position | Position of erroneous data element (n..3) Position of erroneous data component (n..3) UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ ░ ░ █ ░ | ░ | ░ UNT[10], MESSAGE TRAILER, M, 1 x 0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 0062 MESSAGE REFERENCE NUMBER M an..14 | message, R, 1x | Number of segments in the message | | Message identification (an..14) UNB UNH UNT UNZ ┌──┬──┬──┬──┬──┐ ░ ░ ░ ░ ░ █ | ░ | ░ UNZ[11], INTERCHANGE TRAILER, M, 1 x 0036 INTERCHANGE CONTROL COUNT M n..6 0020 INTERCHANGE CONTROL REFERENCE M an..14 | message, R, 1x | Interchange control count | | Interchange control reference (an..14) Page 195 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 APPENDIX I – SAMPLE EDI MESSAGES These messages should only be used as examples for creating your own messages. They should not be used as they appear here. Sample IE15 E_DEC_DAT Declared Data (Simplified declaration) UNB+UNOC:3+123456789012+NCTS+010718:1754+20030118175432++NCTS++++1' UNH+1+CUSDEC:D:96B:UN:GB015B' (Type of declaration)BGM+:::T1' (OoDep)LOC+118+GB000060' (Authorised location)LOC+14++Dover Erts' (Country of dispatch)LOC+35+GB' (Country of Destination)LOC+36+PL' (OoDest)LOC+45+PL123456' (OoTrans)LOC+50+DE123456' (Place of loading)LOC+9+Dover' (Declaration place)LOC+91+:::Dover' (Declaration date)DTM+137:20010308' (Control Result date)DTM+268:20010315' (Containerised ind)GIS+0:109' (Total gross mass)MEA+WT+AAD+KGM:22266' (Seals identity)SEL+0+:::Seal 2' (Representative capacity)FTX+ACP+++Agent' (TAD language code)FTX+ALL++++EN' (Control result code)FTX+ADO++A3' (LRN)RFF+ABE:D57E0264' (Guarantee type)RFF+ABL:1' (Guarantee ref)PAC+1+++1234:04GB00000100000W0' (Identity of means of transport at departure)TDT+12+++++++:::CAR 123:GB' (Principal)NAD+AF+683470514++Channel Ports Ltd+Freight Services Centre+Dover+EN+CT16 1JA+GB' (Representative)NAD+AH+++AN Other' (Consignee)NAD+CN+++Hamburska Spolka Handlowa HSH+UL Przemystowa 5+Wielun+PL+98-300+PL' (Consignor)NAD+CZ+131748378++Imerys Minerals Ltd+John Keay House+St Austell+EN+LM16 1QR+GB' UNS+D' (Goods item)CST+1' (Goods description)FTX+AAA+++18 pallets Kaolinic clays+EN' (Gross mass)MEA+WT+AAB+KGM:22266' (Net mass)MEA+WT+AAA+KGM:22266' (Packages-kind/no.)PAC+6+++SC:18' (Marks & Numbers of Packages)PCI+28+Marks01' (Produced Documents/Certificates)DOC+916:::ZZZ+Pre Entry Li=9999:::EN' (Special mentions)TOD+2' (Liability amount of £7830)FTX+ACB++CAL+7830GBP04GB00000100000W0' UNS+S' (Total no.packages)CNT+11:18' (Seals no.)CNT+16:1' (Total no.items)CNT+5:1' UNT+41+1' UNZ+1+20030118175432' Page 196 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 Sample IE14 E_DEC_CAN Declaration Cancellation Request UNB+UNOC:3+123456789012+NCTS+030311:1158+GB030311115840++NCTS++++1' UNH+1+CUSDEC:D:96B:UN:GB014A' BGM++03GB00006000009101' LOC+118+GB000060' DTM+318:20030311' FTX+ACD+++Duplicate Entry/Declaration+EN' NAD+AF+9541315330000++NCTS UK TEST LAB HMCE+11TH FLOOR, ALEX HOUSE, VICTORIA AV+SOUTHEND-ON-SEA, ESSEX+EN+SS99 1AA+GB' UNS+D' UNS+S' UNT+9+1' UNZ+1+GB030311115840' Sample IE07 E_ARR_NOT Arrival Notification UNB+UNOC:3+123456789012+NCTS+030401:1118+GB030401111821++NCTS++++1' UNH+1+CUSDEC:D:96B:UN:GB007A' BGM++03IT02130000001565' LOC+26+DOVER ERTS' LOC+60+:::DOVER' LOC+22+GB000060' DTM+132:20030401' GIS+0:119' NAD+CPD+9541331350000++NCTS TEST TRADER+C E HEATH HOUSE, VICTORIA+SOUTHENDON-SEA+EN+SS2 6DX+GB' UNS+D' UNS+S' UNT+11+1' UNZ+1+GB030401111821' Sample IE44 E_ULD_REM Unloading Remarks (Conform i.e. no unloading remarks present) UNB+UNOC:3+123456789012+NCTS+030422:1636+GB030422163624++NCTS++++1' UNH+1+CUSDEC:D:96B:UN:GB044A' BGM++03GB00006000010729' LOC+22+IT021300' MEA+WT+AAD+KGM:1000' SEL+0+:::NCTS001' NAD+CPD+11ITALIANAC11++NCTS UK TEST LAB HMCE+ITALIAN OFFICE+MILAN+EN+IT99 1IT+IT' TOD+5+1+1:::20030422' FTX+CLR++1' UNS+D' UNS+S' CNT+5:1' CNT+11:10' CNT+16:1' UNT+14+1' UNZ+1+GB030422163624' Sample IE44 E_ULD_REM Unloading Remarks (Does not conform i.e. unloading remarks present) UNB+UNOC:3+123456789012+NCTS+030904:1716+GB030904171651++NCTS++++1' UNH+1+CUSDEC:D:96B:UN:GB044A' BGM++03GB00006000014719' LOC+22+IT021300' MEA+WT+AAD+KGM:1000' SEL+0+:::NCTS001' FTX+ABV++DI+35:::1001' NAD+CPD+11ITALIANAC11++NCTS UK TEST LAB HMCE+ITALIAN OFFICE+MILAN+EN+IT99 1IT+IT' TOD+5+0+1:::20030902' Page 197 of 198 NCTS 14/08/2014 TECHNICAL INTERFACE SPECIFICATION APPENDICES Version 3.9.1 FTX+CLR++1' UNS+D' UNS+S' CNT+5:1' CNT+11:10' CNT+16:1' UNT+15+1' UNZ+1+GB030904171651' END OF DOCUMENT Page 198 of 198