new computerised transit system (ncts) phase 4 technical ... · 15/05/2017 version 3.9.3 page 7 of...

197
NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES 15/05/2017 Version 3.9.3 Page 1 of 197 International Trade New Computerised Transit System (NCTS) Phase 4 Technical Interface Specification (TIS) Appendices Version 3.9.3

Upload: others

Post on 13-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 1 of 197

International Trade New Computerised Transit System (NCTS)

Phase 4

Technical Interface Specification (TIS)

Appendices

Version 3.9.3

Page 2: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 2 of 197

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 Approval Signature / Date

Author Paul Martin 15/05/2017

Approved by

REFERENCES

No Document Title Document Reference

1. Functional Transit System Specification – NCTS

CORR 2009-final

FTSS-CORR-2009 final

2. Design Document for National Transit Applications

– V17.00 Error! Unknown document property name. 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_consolidation_en.pdf

5. Draft of Accompanying Documents DGXXI/1471/97-r1

6. NCTS – Transit Manual Supplement V3.3 - August

2011

TAXUD/801/2004

Page 3: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 3 of 197

CHANGE HISTORY

Version

No.

Date Details of Changes included in Update Author(s)

0.1 07/06/2000 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 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

Fiona Byatt

0.7 27/05/2002 Amendments following review by Business Change Fiona Byatt

1.0 30/5/02 Issued to the Trade Fiona Byatt

Page 4: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 4 of 197

1.1 7/2/2003 Inclusion of Authentication Information/Identifier in IE29 message

and in printing of TAD

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.

Fiona Byatt

Page 5: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 5 of 197

1.2 16/5/2003 Inclusion of IE907 CONTRL error message

Amendments following review by Trade/Software suppliers

The following have changed:

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

Fiona Byatt

1.3 19/9/03 Inclusion of data item acronyms, for ‘Error pointer’ field of

IE08/16/58 functional error messages, as Code List 100

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

Fiona Byatt

Page 6: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 6 of 197

1.4 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 7: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 7 of 197

2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71, 100

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.

Fiona Byatt

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

2.3 20/06/05 Clarification of processing following sending of IE55 (Guarantee

not valid) message, in section 3.1

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.

Fiona Byatt

Page 8: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 8 of 197

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

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)

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)

Fiona Byatt

2.5 05/12/06 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 9: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 9 of 197

2.6 18/06/2008 Implementation of the NCTS-TIR for NCTS

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

Fiona Byatt

3.0 18/12/2008 Amendments in line with MCC P4 version 7.0.0 and ECN P4

version 7.0.0

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

HEADER.Place of unloading, code

HEADER. Place of unloading LNG

Fiona Byatt

Page 10: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 10 of 197

(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)

Addition of rules R181, R229, R660, R840, R876 in

messages IE015, IE029, IE051 (Appendix D)

Page 11: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 11 of 197

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

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,

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

Fiona Byatt

Page 12: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 12 of 197

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-(CONSIGNOR-

SECURITY)TRADER.Name,

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Street and number

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Postal code

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.City

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Country code

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Name,

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Street and number

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Postal code

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.City

GOODS ITEM-(CONSIGNEE-

SECURITY)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-

Page 13: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 13 of 197

SECURITY)TRADER.EORI-TIN (CONSIGNEE-

SECURITY)TRADER.EORI-TIN GOODS ITEM-

(CONSIGNOR-SECURITY)TRADER.EORI-TIN

GOODS ITEM-(CONSIGNEE-

SECURITY)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 ITEM-

PRODUCED 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.EORI-

TIN 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.EORI-

TIN 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.EORI-

TIN in messages IE025, IE043 (Sections 4.5, 4.8, B.11,

B.14)

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)

Page 14: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 14 of 197

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-(CONSIGNOR-

SECURITY)TRADER.Name,

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Street and number

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Postal code

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.City

GOODS ITEM-(CONSIGNOR-

SECURITY)TRADER.Country code

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Name,

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Street and number

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Postal code

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.City

GOODS ITEM-(CONSIGNEE-

SECURITY)TRADER.Country code

Condition C572 applied to data items (CONSIGNOR-

SECURITY)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 (CONSIGNEE-

SECURITY)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

(TRANSIT)CUSTOMS OFFICE.Arrival time in

messages IE015, IE029, IE051 (Sections 3.3, 3.7, 3.9,

B.9, B.13, B17)

Condition C112 applied to data item

(DESTINATION)TRADER.EORI-TIN in message IE007

(Sections 4.3, B.5)

Page 15: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 15 of 197

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 ITEM-

PRODUCED 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)

3.3 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,

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

(Appendix F)

Removal of ‘G13’ entry in code list 52 Invalid Guarantee

Reason Code (Appendix F)

Fiona Byatt

3.4 01/04/2011 Amendments in line with MCC P4 version 8 (7.3) and ECN P4

version 8 (7.3).

Phil Dangerfield

Page 16: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 16 of 197

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.

3.5 01/05/2012 Amendments to add Turkey/Croatia as ‘Common Transit’ countries

w.e.f. 01/07/2012, plus other minor changes.

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:

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.

Phil Dangerfield

3.6 01/07/2012 Amendments included to align with DDNTA V15.50 (i.e. KELv24

changes), and some typos.

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).

Phil Dangerfield

Page 17: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 17 of 197

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).

3.7 01/01/2013 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).

Phil Dangerfield

3.7.1 11/06/2013 The new code 'VS' (Bulk, scrap metal) to be handled as other Bulk types in condition C060 –Appendix C updated as below:-

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

Paul Martin

3.8 05/03/2014 Amendments included to align with DDNTA V17.00 (i.e. KELv26

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

Paul Martin

Page 18: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 18 of 197

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 Updated country code lists 8, 9, 10 & 70 to include Croatia

following review

Paul Martin

3.9.2 09/06/15 SEALS ID data group changed from 99x to 9999x

EC Reg 756/2012 indicator ‘B’ removed from document

Chris Taylor

3.9.3 11/08/2017 Add new Technical rule TR0016. Apply Rule to IE015, IE029,

IE044. Removed text in italics from C902.

Amended Conditions C001, C002, C030 and C140

Amended R010 and R011 rules

Removed TR0601 and TR0630 rules

Removed R902 rule

Paul Martin

Page 19: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 19 of 197

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 NCTS UN/EDIFACT MESSAGE TYPES ............................................................................................ 98 LIST 8 COUNTRY CODES (FULL LIST) ............................................................................................................ 98 LIST 9 COUNTRY CODES (COMMON TRANSIT) ............................................................................................. 99 LIST 10 COUNTRY CODES (COMMUNITY TRANSIT) .................................................................................. 100 LIST 12 LANGUAGE CODES ...................................................................................................................... 102 LIST 13 DOCUMENT TYPE ........................................................................................................................ 102 LIST 14 PREVIOUS DOCUMENT TYPE ........................................................................................................ 103 LIST 17 KIND OF PACKAGES ..................................................................................................................... 104 LIST 18 TRANSPORT MODE ...................................................................................................................... 107 LIST 21 SYNTAX IDENTIFIER ..................................................................................................................... 107 LIST 22 SYNTAX VERSION NUMBER .......................................................................................................... 107 LIST 23 ERROR CODES FOR EDI NCK ...................................................................................................... 107 LIST 27 FLAG ........................................................................................................................................... 109 LIST 31 TYPE OF DECLARATION TRANSIT PROCEDURES .......................................................................... 109

Page 20: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 20 of 197

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 .................................................................................................................... 115 LIST 85 UNOE LANGUAGES .................................................................................................................... 116 LIST 96 SPECIFIC CIRCUMSTANCE INDICATOR ......................................................................................... 116 LIST 100 DATA ITEM ACRONYMS ............................................................................................................... 116 LIST 101 UN DANGEROUS GOODS CODE ................................................................................................... 117 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. MOVEMENT REFERENCE NUMBER (MRN) .......................................................................................... 120 G.2. GUARANTEE REFERENCE NUMBER (GRN) .......................................................................................... 120 G.3. CUSTOMS OFFICE REFERENCE NUMBER (COR) .................................................................................. 122 G.4. COMMODITY CODE (COM) ................................................................................................................. 122 G.5. SENSITIVE GOODS INDICATOR (SGI) ................................................................................................... 122 G.6. LOCAL REFERENCE NUMBER (LRN) ................................................................................................... 122

APPENDIX H- SEGMENT DESCRIPTIONS ............................................................................................. 123

H.1. SYMBOLISM USED ................................................................................................................................ 123 H.2. EDIFACT CONVENTIONS FOR NCTS UN/EDIFACT CHOICES ........................................................... 124 H.3. FORMAT CHANGES ............................................................................................................................... 125 H.4. STUFFING ............................................................................................................................................ 126 H.5. UNB SEGMENT ................................................................................................................................... 126 H.6. UNH SEGMENT ............................................................................................................................... 126 H.7. CUSDEC (CORE) SEGMENT TABLE .................................................................................................... 127 H.8. CUSRES (CORE) SEGMENT TABLE ..................................................................................................... 182 H.9. CUSRES (FUNCTIONAL ERRORS) SEGMENT TABLE ............................................................................ 188 H.10. CONTRL SEGMENT TABLE ............................................................................................................ 194

APPENDIX I – SAMPLE EDI MESSAGES ................................................................................................. 197

Page 21: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 21 of 197

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 ....................................................................................................... 123 TABLE 5: MESSAGE FORMAT CHANGES ............................................................................................................. 126 TABLE 6: SEGMENT STUFFING ............................................................................................................................. 126

Page 22: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 22 of 197

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 23: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

15/05/2017 Version 3.9.3

Page 23 of 197

Group1

C 99

RFF[12]

M 1

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.

A

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 24: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 24 of 197

A.3. CUSDEC (96B) Branching Diagram

The CUSDEC hierarchy is defined in the following three diagrams.

UNB[0]

M 1

UNH[1]

M 1

BGM[2]

M 1

LOC[4]

C 99

DTM[5]

C 15

GIS[6]

C 25

Group2

C 99

DTM[13]

C 1

MEA[8]

C 5

SEL[10]

C 999

FTX[11]

C 99

Group1

C 99

RFF[12]

M 1

PAC[14]

M 1

Group3

C 999

PCI[15]

M 1

FTX[16]

C 99

Le

ve

l 0L

eve

l 1L

eve

l 2L

evel 3

Leve

l 4Le

ve

l 5

Group4

C 5

TDT[17]

M 1

TPL[18]

C 1

A

FII[7]

C 1

EQD[9]

C 999

Page 25: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 25 of 197

Page 26: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 26 of 197

UNT[151]

M 1

Group44

C 50

GIR[131]

M 1

CNT[145]

C 5

Level 0

Level 1

Level 2

Level 3

Level 4

Level 5

B

UNZ[152]

M 1

C

UNS[144]

M 1

Page 27: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 27 of 197

A.5. CUSRES (96B) Branching Diagram

The CUSRES hierarchy is defined in the following diagram.

UNB[0]

M 1

UNH[1]

M 1

BGM[2]

M 1

DTM[3]

C 9

FTX[4]

C 9999

LOC[6]

C 99

GIS[7]

C 10

Group1

C 9

NAD[9]

M 1

Le

ve

l 0L

eve

l 1L

eve

l 2L

eve

l 3

UNT[52]

M 1

UNZ[53]

M 1

Group3

C 999

RFF[12]

M 1

A.6. FUNACK Branching Diagram - (CUSRES functional errors).

See A.5

Page 28: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 28 of 197

A.7. CONTRL Branching Diagram

The CONTRL hierarchy is defined in the following diagram.

UNB[0]

M 1

UNH[1]

M 1

UCI[2]

M 1

Level 0

Level 1

Level 2

Level 3

Group1

C 99999

UCM[3]

M 1

UCD[57]

C 99

Group2

C 999

UCS[4]

M 1

UNT[10]

M 1

UNZ[11]

M 1

Page 29: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 29 of 197

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 Description

SAD Box No. 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.

Message element 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.

Data type The format of the data item.

Data Requirements R - Required

O - Optional

D - Dependent

Pos The position of the EDIFACT-segment in the UNSM. This position refers to

the branching diagram (Chapter 5 of this TIS).

EDIFACT mapping The mapping information for a data item on a particular EDIFACT segment.

Code List 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.

Conditions / Rules 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 30: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 30 of 197

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 31: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 31 of 197

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

caused the error by listing the hierarchy of that Data Item

and its occurrence in the hierarchy.

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)]

Required an..210

Error reason code This Data Item contains the identification of the condition

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).

Optional an..6

Original Data Item

value

This Data Item is used to exchange the original value in

case sequencing of Data Groups is changed at reception of

a message.

Optional 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 32: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 32 of 197

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 33: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 33 of 197

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 34: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 34 of 197

B.5 Arrival notification (IE07 - E_ARR_NOT)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER 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 12 TR99

Arrival agreed location code an..17 D 4 LOC[4](3227=20).C517.3225 - C155, R245

Arrival agreed location of goods an..35 D 4 LOC[4](3227=20).C517.3224 - C155, R245

Arrival agreed location of goods LNG a2 O 4 LOC[4](3227=20).5479 12 TR99

Arrival authorised location of goods an..17 D 4 LOC[4](3227=84).C517.3225 - C155, R245

-

Simplified procedure flag n1 R 6 GIS[6](C529.1131=119).C529.7365 27 R230

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 12

(DESTINATION) TRADER 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

(PRESENTATION OFFICE) CUSTOMS OFFICE R --

Reference number an8 R 4 LOC[4](3227=22).C517.3225 - -

EN ROUTE EVENT occurs 9 O -- R240

Place an..35 R 12 RFF[12](C506.1153=AIV).C506.1154 - -

Place LNG a2 O 12 RFF[12](C506.1153=AIV).C506.1156 12 TR99

Country code a2 R 14 RFF(C506.1153=AIV).PAC[14](7224=2).C402.7077 9 -

Page 35: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 35 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

CTL_CONTROL R --

CTL_CONTROL.Already in NCTS n1 R 13 RFF(C506.1153=AIV).DTM[13](C507.2005=311).C507.2380 27 R230

INCIDENT O -- R240

INCIDENT.Incident flag n1 C 14 RFF(C506.1153=AIV).PAC[14](7224=3).C531.7075 27 R230,

TR9030

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 TR99

INCIDENT.Endorsement date n8 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#1

-

INCIDENT.Endorsement authority an..35 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#2

-

INCIDENT.Endorsement authority LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#3

12 TR99

INCIDENT.Endorsement place an..35 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#4

-

INCIDENT.Endorsement place LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#5

12 TR99

INCIDENT.Endorsement country a2 O 15 RFF(C506.1153=AIV).PAC(7224=3).PCI[15](4233=18).C210.7102

#6

9

SEALS INFO O -- R240

SEALS INFO.Seals number n..4 R 14 RFF(C506.1153=AIV).PAC[14](7224=4).C402.7077 -

SEALS INFO - SEALS ID occurs 9999 R --

SEALS INFO - SEALS ID.Seals identity an..20 R 15 RFF(C506.1153=AIV).PAC(7224=4).PCI[15](4233=21).C210.7102

#1

-

SEALS INFO - SEALS ID.Seals identity LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=4).PCI[15](4233=21).C210.7102

#2 12 TR99

TRANSHIPMENT O -- R240

55 TRANSHIPMENT.New transport means identity an..27 O 16 RFF(C506.1153=AIV).PAC(7224=5).PCI(4233=23).FTX[16](4451

=TRA).C108.4440#1

- R190

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

Page 36: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 36 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

55 TRANSHIPMENT.New transport means nationality a2 O 14 RFF(C506.1153=AIV).PAC[14](7224=5).C202.7064 8 R190

TRANSHIPMENT.Endorsement date n8 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#1

-

TRANSHIPMENT.Endorsement authority an..35 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#2

-

TRANSHIPMENT.Endorsement authority LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#3

12 TR99

TRANSHIPMENT.Endorsement place an..35 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#4

-

TRANSHIPMENT.Endorsement place LNG a2 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#5

12 TR99

TRANSHIPMENT.Endorsement country a2 O 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=23).C210.7102

#6

9

TRANSHIPMENT - CONTAINERS occurs 99 O --

TRANSHIPMENT - CONTAINERS.Container number an..17 R 15 RFF(C506.1153=AIV).PAC(7224=5).PCI[15](4233=30).C210.7102

#1

- R190

Page 37: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 37 of 197

B.6 Arrival notification rejection (IE08 - E_ARR_REJ)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - FUNACK Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 -

Arrival rejection date n8 R 3 DTM[3](C507.2005=46).C507.2380 -

Action to be taken an..350 O 4 FTX[4](4451=ABD).C108.4440#1 -

Action to be taken LNG a2 O 4 FTX[4](4451=ABD).3453 12 TR99

Arrival rejection reason an..350 O 4 FTX[4](4451=ARR).C108.4440#1 -

Arrival rejection reason LNG a2 O 4 FTX[4](4451=ARR).3453 12 TR99

FUNCTIONAL ERROR occurs 999 D -- R123

Error type n2 R 4 FTX[4](4451=AAO).C107.4441 49

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 38: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 38 of 197

B.7. Cancellation Decision (IE09 - E_CAN_DEC)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSRES Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

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 27 C170, R180,

R230

Date of cancellation request n8 D 3 DTM[3](C507.2005=318).C507.2380 - C180

Cancellation initiated by Customs n1 R 7 GIS[7](C529.1131=117).C529.7365 27 R175, R230

Date of cancellation decision n8 R 3 DTM[3](C507.2005=193).C507.2380 -

-

Cancellation justification an..350 D 4 FTX[4](4451=ABY).C108.4440#1 - C175

Cancellation justification LNG a2 O 4 FTX[4](4451=ABY).3453 12 TR99

(PRINCIPAL) TRADER R --

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

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 6 LOC[6](3227=118).C517.3225 -

Page 39: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 39 of 197

B.8. Declaration cancellation request (IE14 - E_DEC_CAN)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

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 12 TR99

(PRINCIPAL) TRADER R --

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

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 4 LOC[4](3227=118).C517.3225 -

Page 40: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 40 of 197

B.9. Declared Data (IE15 - E_DEC_DAT)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE R --

Syntax identifier a4 R 0 UNB[0].S001.0001 21

Syntax version number n1 R 0 UNB[0].S001.0002 22

Message sender an..35 R 0 UNB[0].S002.0004 -

Message recipient an..35 R 0 UNB[0].S003.0010 -

Date of preparation n6 R 0 UNB[0].S004.0017 -

Time of preparation n4 R 0 UNB[0].S004.0019 -

Interchange control reference an..14 R 152 UNZ[152].0020 -

Interchange control reference an..14 R 0 UNB[0].0020 -

Application reference an..14 R 0 UNB[0].0026 -

Priority a1 O 0 UNB[0].0029 -

Acknowledgement request n1 O 0 UNB[0].0031 27

Communications agreement id an..35 O 0 UNB[0].0032 -

Test indicator n1 O 0 UNB[0].0035 - TR9085

Message identification an..14 R 151 UNT[151].0062 -

Message identification an..14 R 1 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S

009.0051=UN).0062

-

Message type an..6 R 1 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S

009.0051=UN).S009.0057

60

Common access reference an..35 O 1 UNH[1](S009.0065=CUSDEC)(S009.0052=D)(S009.0054=96B)(S

009.0051=UN).0068

-

Number of segments (exc.UNB and UNZ) in the message n..6 R 151 UNT[151].0074 -

Number of messages in the interchange n..6 R 152 UNZ[152].0036 -

HEADER R --

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 31 R909, R911

17A Country of destination code a2 D 4 LOC[4](3227=36).C517.3225 8 C140

30 Agreed location of goods, code an..17 D 4 LOC[4](3227=14).C517.3225 - C100,R41

30 Agreed location of goods an..35 D 4 LOC[4](3227=14).C517.3224 - C100,R41

Agreed location of goods LNG a2 O 4 LOC[4](3227=14).5479 12 TR99

30 Authorised location of goods, code an..17 D 4 LOC[4](3227=14).C519.3223 - C100,R41

Page 41: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 41 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

27 Place of loading, code an..17 D 4 LOC[4](3227=9).C517.3225 - C191

15A Country of dispatch/export code a2 D 4 LOC[4](3227=35).C517.3225 8 C135

Customs sub place an..17 D 4 LOC[4](3227=26).C517.3225 - C100,R41

26 Inland transport mode n..2 O 17 TDT[17](8051=1).C220.8067 18

25 Transport mode at border n..2 D 17 TDT[17](8051=11).C220.8067 18 C599

18 Identity of means of transport at departure (exp/trans) an..27 D 17 TDT[17](8051=12).C222.8212 - TR0035,

TR9090

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

21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 - C011

Identity of means of transport crossing border LNG a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99

21 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 n..2 O 17 TDT[17](8051=11).C228.8179 18

19 Containerised indicator n1 R 6 GIS[6](C529.1131=109).C529.7365 27 R230

Dialog language indicator at departure a2 O 11 FTX[11](4451=ACB).3453 12 R100

NCTS accompanying document language code a2 R 11 FTX[11](4451=ALL).3453 12

5 Total number of items n..5 R 145 CNT[145](C270.6069=5).C270.6066 -

6 Total number of packages n..7 O 145 CNT[145](C270.6069=11).C270.6066 - R105

35 Total gross mass n..11,3 R 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6

314

-

50 Declaration date n8 R 5 DTM[5](C507.2005=137).C507.2380 -

50 Declaration place an..35 R 4 LOC[4](3227=91).C517.3224 -

50 Declaration place LNG a2 O 4 LOC[4](3227=91).5479 12 TR99

Specific Circumstance Indicator a1 D 12 RFF[12](C506.1153=AMJ).C506.1154 96 C186, R825

Transport charges/ Method of Payment a1 D 11 FTX[11](4451=PAI).4453 116 C186

Commercial Reference Number an..70 D 7 FII[7](3035=XX).C088.3436 - C186, C547,

R876

Security n1 O 6 GIS[6](C529.1131=187).C529.7365 117 R229

Conveyance reference number an..35 O 11 FTX[11](4451=ACR).C108.4440#1 - C531

Place of unloading, code an..35 D 4 LOC[4](3227=58).C517.3224 - C186, C589

Page 42: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 42 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

Place of unloading LNG a2 O 4 LOC[4](3227=58).C517.3225 12 TR0099

(PRINCIPAL) TRADER R

50 Name an..35 D 22 NAD[22](3035=AF).C080.3036#1 - C50, NC50

50 Street and number an..35 D 22 NAD[22](3035=AF).C059.3042#1 - C50, NC50

50 Postal code an..9 D 22 NAD[22](3035=AF).3251 - C50, NC50

50 City an..35 D 22 NAD[22](3035=AF).3164 - C50, NC50

50 Country code a2 D 22 NAD[22](3035=AF).3207 8 C50, NC50

50 NAD_LNG a2 O 22 NAD[22](3035=AF).3229 12 TR99

50 EORI-TIN (Turn) an..17 D 22 NAD[22](3035=AF).C082.3039 - C111, C236,

NR1

50 Holder ID TIR an..17 D` 22 NAD[22](3035=AF).C080.3036#2 - C904, NR1

(CONSIGNOR) TRADER. O R10

2 Name an..35 R 22 NAD[22](3035=CZ).C080.3036#1 -

2 Street and number an..35 R 22 NAD[22](3035=CZ).C059.3042#1 -

2 Postal code an..9 R 22 NAD[22](3035=CZ).3251 -

2 City an..35 R 22 NAD[22](3035=CZ).3164 -

2 Country code a2 R 22 NAD[22](3035=CZ).3207 8

2 NAD_LNG a2 O 22 NAD[22](3035=CZ).3229 12 TR99

2 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CZ).C082.3039 -

(CONSIGNEE) TRADER. D R011,C001

8 Name an..35 R 22 NAD[22](3035=CN).C080.3036#1 -

8 Street and number an..35 R 22 NAD[22](3035=CN).C059.3042#1 -

8 Postal code an..9 R 22 NAD[22](3035=CN).3251 -

8 City an..35 R 22 NAD[22](3035=CN).3164 -

8 Country code a2 R 22 NAD[22](3035=CN).3207 8

8 NAD_LNG a2 O 22 NAD[22](3035=CN).3229 12 TR99

8 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CN).C082.3039 -

Page 43: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 43 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

(AUTHORISED CONSIGNEE) TRADER O -- R15

EORI-TIN (Turn) an..17 R 22 NAD[22](3035=TD).C082.3039 -

(DEPARTURE) CUSTOMS OFFICE R --

C Reference number an8 R 4 LOC[4](3227=118).C517.3225 - R901

(TRANSIT) CUSTOMS OFFICE occurs 9 D -- C030

51 Reference number an8 R 4 LOC[4](3227=50).C517.3225 - R906, R907,

R908, R910,

TR0635

Arrival Time n12 D 4 LOC[4](3227=50).C519.3223 - C598, R660

(DESTINATION) CUSTOMS OFFICE R --

53 Reference number an8 R 4 LOC[4](3227=45).C517.3225 - R901, R904,

R905,

TR0635

CONTROL RESULT O -- R160

D Control result code an2 R 11 FTX[11](4451=ADO).C107.4441 47 R903

D Date limit n8 R 5 DTM[5](C507.2005=268).C507.2380 -

REPRESENTATIVE O --

50 Name an..35 R 22 NAD[22](3035=AH).C080.3036#1 -

50 Representative capacity an ..35 O 11 FTX[11](4451=ACP).C108.4440#1 -

Representative capacity LNG a2 O 11 FTX[11](4451=ACP).3453 12 TR99

SEALS INFO O -- R165

D Seals number n..4 R 145 CNT[145](C270.6069=16).C270.6066 -

SEALS ID occurs 9999 R -- -

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 12 TR99

GUARANTEE occurs 9 R --

52 Guarantee type an1 R 12 RFF[12](C506.1153=ABL).C506.1154 51 C900

GUARANTEE REFERENCE occurs 99 D -- - C085

52 GUARANTEE REFERENCE.Guarantee reference

number (GRN)

an..24 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 - C125,TR301

52 GUARANTEE REFERENCE.Other guarantee reference an..35 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900

52 GUARANTEE REFERENCE.Access code an4 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 - C86

Page 44: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 44 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

GUARANTEE REFERENCE - VALIDITY

LIMITATION EC

O -- -

52 GUARANTEE REFERENCE - VALIDITY

LIMITATION EC.Not valid for EC

n1 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.710

2#1

27 R230

GUARANTEE REFERENCE - VALIDITY

LIMITATION NON EC occurs 99

O -- -

52 GUARANTEE REFERENCE - VALIDITY

LIMITATION NON EC.Not valid for other contracting

parties

a2 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.710

2#1

71 R231

GOODS ITEM occurs 999 R --

32 Item number n..5 R 92 CST[92].1496 - R5,R7,

TR1200

33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - C15,R60,

R470

1 Type of Declaration an..9 D 92 CST[92].C246#5.7361 31 C45

31 Goods description an..260 R 93 CST.FTX[93](4451=AAA).C108.4440#1 -

Goods description LNG a2 O 93 CST.FTX[93](4451=AAA).3453 12 TR99

35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174

.6411=KGM).C174.6314

- R700

38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174

.6411=KGM).C174.6314

-

15A Country of dispatch/export code a2 D 94 CST.LOC[94](3227=35).C517.3225 8 C135

17A Country of destination code a2 D 94 CST.LOC[94](3227=36).C517.3225 8 C140

Transport charges/ Method of Payment a1 D 98 CST.TDT[98](8051=10).C228.8179 116 C186, C576,

TR9120

Commercial Reference Number an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 - C186, C547,

R876

UN dangerous goods code an4 O 98 CST.TDT[98](8051=10).C222.8213 101 C186

PREV ADMIN REF occurs 9 D -- - C035,

TR0635

40 PREV ADMIN REF .Previous document type an..6 R 111 CST.DOC[111](C002.1001=190).C002.1000 R20,TR100

40 PREV ADMIN REF .Previous document reference an..35 R 111 CST.DOC[111](C002.1001=190).C503.1004 -

PREV ADMIN REF .Previous document reference LNG a2 O 111 CST.DOC[111](C002.1001=190).C503.3453 12 TR99

Page 45: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 45 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

40 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

PRODUCED DOC/CERT occurs 99 D -- - C903, C547

44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 C901,

TR0103

44 PRODUCED DOC/CERT.Document reference an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C902,

TR0016

PRODUCED DOC/CERT.Document reference LNG a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99

44 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 O -- - R027

44 SPECIAL MENTIONS.Additional information an..70 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 -

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

(CONSIGNOR) TRADER O -- - R10

02 (CONSIGNOR) TRADER.Name an..35 R 97 CST.NAD[97](3035=CZ).C080.3036#1 -

02 (CONSIGNOR) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CZ).C059.3042#1 -

02 (CONSIGNOR) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CZ).3251 -

02 (CONSIGNOR) TRADER.City an..35 R 97 CST.NAD[97](3035=CZ).3164 -

02 (CONSIGNOR) TRADER.Country code a2 R 97 CST.NAD[97](3035=CZ).3207 8

02 (CONSIGNOR) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CZ).3229 12 TR99

02 (CONSIGNOR) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CZ).C082.3039 -

Page 46: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 46 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

(CONSIGNEE) TRADER D -- - R011,C002

08 (CONSIGNEE) TRADER.Name an..35 R 97 CST.NAD[97](3035=CN).C080.3036#1 -

08 (CONSIGNEE) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CN).C059.3042#1 --

08 (CONSIGNEE) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CN).3251 -

08 (CONSIGNEE) TRADER.City an..35 R 97 CST.NAD[97](3035=CN).3164 -

08 (CONSIGNEE) TRADER.Country code a2 R 97 CST.NAD[97](3035=CN).3207 8

08 (CONSIGNEE) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CN).3229 12 TR99

08 (CONSIGNEE) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CN).C082.3039 -

CONTAINERS occurs 99 D -- - C55

31 CONTAINERS.Container number an..17 R 105 CST.RFF[105](C506.1153=AAQ).C506.1154 -

PACKAGES occurs 99 R -- -

31 PACKAGES.Marks & numbers of packages an..42 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 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,

TR0022

31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - C60

SGI CODES occurs 9. O -- - R155

31 SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64 R156

31 SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 -

(CONSIGNOR-SECURITY) TRADER occurs 1 D - C186, C187

Name an..35 D 97 NAD[97](3035=GM).C080.3036#1 - C501

Street and number an..35 D 97 NAD[97](3035=GM).C059.3042#1 - C501

Postal code an..9 D 97 NAD[97](3035=GM).3251 - C501

City an..35 D 97 NAD[97](3035=GM).3164 - C501

Country code a2 D 97 NAD[97](3035=GM).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=GM).3229 12 TR0099

EORI-TIN (Turn) an..17 D 97 NAD[97](3035=GM).C082.3039 - C572

(CONSIGNEE-SECURITY) TRADER occurs 1 D - C186, C188

Name an..35 D 97 NAD[97](3035=DP).C080.3036#1 - C501

Street and number an..35 D 97 NAD[97](3035=DP).C059.3042#1 - C501

Page 47: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 47 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

Postal code an..9 D 97 NAD[97](3035=DP).3251 - C501

City an..35 D 97 NAD[97](3035=DP).3164 - C501

Country code a2 D 97 NAD[97](3035=DP).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=DP).3229 12 TR0099

EORI-TIN (Turn) an..17 D 97 NAD[97](3035=DP).C082.3039 - C596

ITINERARY occurs 99 D - C186, C587

Country of routing code a2 R 9 EQD[9](8053=CH).C237.3207 8

(CARRIER) TRADER occurs 1 D - C186, R181

Name an..35 D 22 NAD[22](3035=GA).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GA).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GA).3251 - C501

City an..35 D 22 NAD[22](3035=GA).3164 - C501

Country code a2 D 22 NAD[22](3035=GA).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GA).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GA).C082.3039 -

(CONSIGNOR-SECURITY) TRADER occurs 1 D - C186, C187

Name an..35 D 22 NAD[22](3035=GL).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GL).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GL).3251 - C501

City an..35 D 22 NAD[22](3035=GL).3164 - C501

Country code a2 D 22 NAD[22](3035=GL).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GL).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GL).C082.3039 - C572

(CONSIGNEE-SECURITY) TRADER occurs 1 D - C186, C188

Name an..35 D 22 NAD[22](3035=UC).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=UC).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=UC).3251 - C501

City an..35 D 22 NAD[22](3035=UC).3164 - C501

Country code a2 D 22 NAD[22](3035=UC).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=UC).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=UC).C082.3039 - C596

Page 48: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 48 of 197

B.10. Declaration rejected (IE16 - E_DEC_REJ)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - FUNACK Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

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 31

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 TR99

FUNCTIONAL ERROR occurs 999 D -- R123

Error type n2 R 4 FTX[4](4451=AAO).C107.4441 49

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 49 of 197

B.11. Goods release notification (IE25 - E_GDS_REL)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping -CUSRES Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

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 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 R012

(PRESENTATION OFFICE) CUSTOMS OFFICE R --

Reference number an8 R 6 LOC[6](3227=22).C517.3225

Page 50: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 50 of 197

B.12. MRN Allocated (IE28 - E_MRN_ALL)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSRES Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

7 Reference number (LRN) an..22 R 12 RFF[12](C506.1153=ABE).C506.1154 -

Document/reference number (MRN) an..21 R 2 BGM[2](1225=11).C106.1004 -

Acceptance date n8 R 3 DTM[3](C507.2005=148).C507.2380 -

(PRINCIPAL) TRADER R --

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 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

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 6 LOC[6](3227=118).C517.3225 -

Page 51: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 51 of 197

B.13. Release for Transit (IE29 - E_REL_TRA)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R -- R143

HEADER R --

7 Reference number (LRN) an..22 R 12 RFF[12](C506.1153=ABE).C506.1154

Document/Reference number (MRN) an..21 R 2 BGM[2].C106.1004 -

1 Type of declaration an..9 R 2 BGM[2].C002.1000 31 R909, R911

17A Country of destination code a2 D 4 LOC[4](3227=36).C517.3225 8 C140

30 Agreed location of goods, code an..17 D 4 LOC[4](3227=14).C517.3225 - C100,R41

30 Agreed location of goods an..35 D 4 LOC[4](3227=14).C517.3224 - C100,R41

Agreed location of goods LNG a2 O 4 LOC[4](3227=14).5479 12 TR99

30 Authorised location of goods, code an..17 D 4 LOC[4](3227=14).C519.3223 - C100,R41

27 Place of loading, code an..17 D 4 LOC[4](3227=9).C517.3225 - C191

15A Country of dispatch/export code a2 D 4 LOC[4](3227=35).C517.3225 8 C135

Customs sub place an..17 D 4 LOC[4](3227=26).C517.3225 - C100,R41

26 Inland transport mode n..2 O 17 TDT[17](8051=1).C220.8067 18

25 Transport mode at border n..2 D 17 TDT[17](8051=11).C220.8067 18 C599

18 Identity of means of transport at departure

(exp/trans)

an..27 D 17 TDT[17](8051=12).C222.8212 - TR0035,

TR9090

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

21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 - C011

Identity of means of transport crossing border

LNG

a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99

21 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 n..2 O 17 TDT[17](8051=11).C228.8179 18

19 Containerised indicator n1 R 6 GIS[6](C529.1131=109).C529.7365 27 R230

NCTS return copy n1 R 6 GIS[6](C529.1131=62).C529.7365 27 R330

Acceptance date n8 R 5 DTM[5](C507.2005=148).C507.2380 -

Page 52: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 52 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

Issuing date n8 R 5 DTM[5](C507.2005=182).C507.2380 -

Dialog language indicator at departure a2 O 11 FTX[11](4451=ACB).3453 12 R100

NCTS accompanying document language

code

a2 R 11 FTX[11](4451=ALL).3453 12

5 Total number of items n..5 R 145 CNT[145](C270.6069=5).C270.6066 -

6 Total number of packages n..7 O 145 CNT[145](C270.6069=11).C270.6066 - R105

35 Total gross mass n..11,3 R 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6314 -

D Binding itinerary n1 R 11 FTX[11](4451=ABL).C108.4440#1 27 R230

Authorisation id an..17 O 12 RFF[12](C506.1153=LAN).C506.1154 -

50 Declaration date n8 R 5 DTM[5](C507.2005=137).C507.2380 -

50 Declaration place an..35 R 4 LOC[4](3227=91).C517.3224 -

Declaration place LNG a2 O 4 LOC[4](3227=91).5479 12 TR0099

Specific Circumstance Indicator a1 D 12 RFF[12](C506.1153=AMJ).C506.1154 96 C186, C825

Transport charges/ Method of Payment a1 D 11 FTX[11](4451=PAI).4453 116 C186

Commercial Reference Number an..70 D 7 FII[7](3035=XX).C088.3436 - C186, C547,

R876

Security n1 O 6 GIS[6](C529.1131=187).C529.7365 117 R229

Conveyance reference number an..35 O 11 FTX[11](4451=ACR).C108.4440#1 - C531

Place of unloading, code an..35 D 4 LOC[4](3227=58).C517.3224 - C186, C589

Place of unloading LNG a2 O 4 LOC[4](3227=58).C517.3225 12 TR0099

(PRINCIPAL) TRADER R

50 Name an..35 D 22 NAD[22](3035=AF).C080.3036#1 - C50, NC50

50 Street and number an..35 D 22 NAD[22](3035=AF).C059.3042#1 - C50, NC50

50 Postal code an..9 D 22 NAD[22](3035=AF).3251 - C50, NC50

50 City an..35 D 22 NAD[22](3035=AF).3164 - C50, NC50

50 Country code a2 D 22 NAD[22](3035=AF).3207 8 C50, NC50

50 NAD_LNG a2 O 22 NAD[22](3035=AF).3229 12 TR99

50 EORI-TIN (Turn) an..17 D 22 NAD[22](3035=AF).C082.3039 - C111, C236,

NR1

50 Holder ID TIR an..17 D 22 NAD[22](3035=AF).C080.3036#2 - C904, NR1

Page 53: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 53 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

(CONSIGNOR) TRADER. O R10

2 Name an..35 R 22 NAD[22](3035=CZ).C080.3036#1 -

2 Street and number an..35 R 22 NAD[22](3035=CZ).C059.3042#1 -

2 Postal code an..9 R 22 NAD[22](3035=CZ).3251 -

2 City an..35 R 22 NAD[22](3035=CZ).3164 -

2 Country code a2 R 22 NAD[22](3035=CZ).3207 8

2 NAD_LNG a2 O 22 NAD[22](3035=CZ).3229 12 TR99

2 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CZ).C082.3039 -

(CONSIGNEE) TRADER. D R011,C001

8 Name an..35 R 22 NAD[22](3035=CN).C080.3036#1 -

8 Street and number an..35 R 22 NAD[22](3035=CN).C059.3042#1 -

8 Postal code an..9 R 22 NAD[22](3035=CN).3251 -

8 City an..35 R 22 NAD[22](3035=CN).3164 -

8 Country code a2 R 22 NAD[22](3035=CN).3207 8

8 NAD_LNG a2 O 22 NAD[22](3035=CN).3229 12 TR99

8 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CN).C082.3039 -

(AUTHORISED CONSIGNEE)

TRADER

O -- R15

EORI-TIN (Turn) an..17 R 22 NAD[22](3035=TD).C082.3039 -

(DEPARTURE) CUSTOMS OFFICE R --

C Reference number an8 R 4 LOC[4](3227=118).C517.3225 - R901

(TRANSIT) CUSTOMS OFFICE occurs

9

D -- C030

51 Reference number an8 R 4 LOC[4](3227=50).C517.3225 - R906, R907,

R908, R910,

TR0635

Arrival Time n12 D 4 LOC[4](3227=50).C519.3223 - C598, R660

(DESTINATION) CUSTOMS OFFICE R --

53 Reference number an8 R 4 LOC[4](3227=45).C517.3225 - R901, R904,

R905,

TR0635

Page 54: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 54 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

(RETURN COPIES) CUSTOMS OFFICE O -- R330

Reference number an8 R 4 LOC[4](3227=168).C517.3225 -

Customs office name an..35 R 4 LOC[4](3227=168).C517.3224 -

Street and number an..35 R 4 LOC[4](3227=168).C519.3222 -

Country code a2 R 4 LOC[4](3227=168).C519.3223 9

Postal code an..9 R 4 LOC[4](3227=168).C553.3233 -

City an..35 R 4 LOC[4](3227=168).C553.3232 -

NAD_LNG a2 O 4 LOC[4](3227=168).5479 12 TR99

CONTROL RESULT O -- R335

D Control date n8 R 5 DTM[5](C507.2005=9).C507.2380 -

D Control Result Code an2 R 11 FTX[11](4451=ADO).C107.4441 47 R903

D Controlled by an..35 R 22 NAD[22](3035=EI).C082.3039 -

Controlled by LNG a2 O 22 NAD[22](3035=EI).3207 12 TR99

D Date limit n8 R 5 DTM[5](C507.2005=268).C507.2380

REPRESENTATIVE O --

50 Name an..35 R 22 NAD[22](3035=AH).C080.3036#1 -

50 Representative capacity an..35 O 11 FTX[11](4451=ACP).C108.4440#1 -

Representative capacity LNG a2 O 11 FTX[11](4451=ACP).3453 12 TR99

SEALS INFO O -- R165

D Seals number n..4 R 145 CNT[145](C270.6069=16).C270.6066 -

SEALS ID occurs 9999 R -- -

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 12 TR99

GUARANTEE occurs 9 R --

52 Guarantee type an1 R 12 RFF[12](C506.1153=ABL).C506.1154 51 C900

GUARANTEE REFERENCE occurs 99 D -- - C085

52 GUARANTEE REFERENCE.Guarantee

reference number (GRN)

an..24 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 - C125,TR301

52 GUARANTEE REFERENCE.Other

guarantee reference

an..35 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900

52 GUARANTEE REFERENCE.Access code an4 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 - C86

Page 55: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 55 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

GUARANTEE REFERENCE -

VALIDITY LIMITATION EC

O -- -

52 GUARANTEE REFERENCE - VALIDITY

LIMITATION EC.Not valid for EC

n1 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.7102#1 27 R230

GUARANTEE REFERENCE -

VALIDITY LIMITATION NON EC

occurs 99

O -- -

52 GUARANTEE REFERENCE - VALIDITY

LIMITATION NON EC.Not valid for other

contracting parties

a2 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.7102#1 71 R231

GOODS ITEM occurs 999 R --

32 Item number n..5 R 92 CST[92].1496 - R5,R7,

TR1200

33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - C15,R60,

R470

1 Type of Declaration an..9 D 92 CST[92].C246#5.7361 31 C45

31 Goods description an..260 R 93 CST.FTX[93](4451=AAA).C108.4440#1 -

Goods description LNG a2 O 93 CST.FTX[93](4451=AAA).3453 12 TR99

35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C174.6314 - R700

38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C174.6314 -

15A Country of dispatch/export code a2 D 94 CST.LOC[94](3227=35).C517.3225 8 C135

17A Country of destination code a2 D 94 CST.LOC[94](3227=36).C517.3225 8 C140

Transport charges/ Method of Payment a1 D 98 CST.TDT[98](8051=10).C228.8179 116 C186, C576,

TR9120

Commercial Reference Number an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 - C186, C547,

R876

UN dangerous goods code an4 O 98 CST.TDT[98](8051=10).C222.8213 101 C186

PREV ADMIN REF occurs 9 D -- - C035,

TR0635

40 PREV ADMIN REF .Previous document

type

an..6 R 111 CST.DOC[111](C002.1001=190).C002.1000 - R020,TR100

40 PREV ADMIN REF .Previous document

reference

an..35 R 111 CST.DOC[111](C002.1001=190).C503.1004 -

PREV ADMIN REF .Previous document

reference LNG

a2 O 111 CST.DOC[111](C002.1001=190).C503.3453 12 TR99

Page 56: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 56 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

40 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

PRODUCED DOC/CERT occurs 99 D -- - C547, C903

44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 C901,

TR0103

44 PRODUCED DOC/CERT.Document

reference

an..35 F 111 CST.DOC[111](C002.1001=916).C503.1004 - C902,

TR0016

PRODUCED DOC/CERT.Document

reference LNG

a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99

44 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 O -- - R027

44 SPECIAL MENTIONS.Additional

information

an..70 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 -

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 - 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

(CONSIGNOR) TRADER O -- - R10

02 (CONSIGNOR) TRADER.Name an..35 R 97 CST.NAD[97](3035=CZ).C080.3036#1 -

02 (CONSIGNOR) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CZ).C059.3042#1 -

02 (CONSIGNOR) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CZ).3251 -

02 (CONSIGNOR) TRADER.City an..35 R 97 CST.NAD[97](3035=CZ).3164 -

02 (CONSIGNOR) TRADER.Country code a2 R 97 CST.NAD[97](3035=CZ).3207 8

02 (CONSIGNOR) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CZ).3229 12 TR99

Page 57: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 57 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

02 (CONSIGNOR) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CZ).C082.3039 -

(CONSIGNEE) TRADER D -- - R011,C002

08 (CONSIGNEE) TRADER.Name an..35 R 97 CST.NAD[97](3035=CN).C080.3036#1 -

08 (CONSIGNEE) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CN).C059.3042#1 -

08 (CONSIGNEE) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CN).3251 -

08 (CONSIGNEE) TRADER.City an..35 R 97 CST.NAD[97](3035=CN).3164 -

08 (CONSIGNEE) TRADER.Country code a2 R 97 CST.NAD[97](3035=CN).3207 8

08 (CONSIGNEE) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CN).3229 12 TR99

08 (CONSIGNEE) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CN).C082.3039 -

CONTAINERS occurs 99 D -- - C55

31 CONTAINERS.Container number an..17 R 105 CST.RFF[105](C506.1153=AAQ).C506.1154 -

PACKAGES occurs 99 R -- -

31 PACKAGES.Marks & numbers of packages an..42 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 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,

TR0022

31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - C60

SGI CODES occurs 9. O -- - R155

31 SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64 R156

31 SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 -

(CONSIGNOR-SECURITY)

TRADER occurs 1

D - C186, C187

Name an..35 D 97 NAD[97](3035=GM).C080.3036#1 - C501

Street and number an..35 D 97 NAD[97](3035=GM).C059.3042#1 - C501

Postal code an..9 D 97 NAD[97](3035=GM).3251 - C501

City an..35 D 97 NAD[97](3035=GM).3164 - C501

Country code a2 D 97 NAD[97](3035=GM).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=GM).3229 12 TR0099

EORI-TIN (Turn) an..17 D 97 NAD[97](3035=GM).C082.3039 - C572

Page 58: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 58 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

(CONSIGNEE-SECURITY)

TRADER occurs 1

D - C186, C188

Name an..35 D 97 NAD[97](3035=DP).C080.3036#1 - C501

Street and number an..35 D 97 NAD[97](3035=DP).C059.3042#1 - C501

Postal code an..9 D 97 NAD[97](3035=DP).3251 - C501

City an..35 D 97 NAD[97](3035=DP).3164 - C501

Country code a2 D 97 NAD[97](3035=DP).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=DP).3229 12 TR0099

EORI-TIN (Turn) an..17 D 97 NAD[972](3035=DP).C082.3039 - C596

ITINERARY occurs 99 D - C186, C587

Country of routing code a2 R 9 EQD[9](8053=CH).C237.3207 8

(CARRIER) TRADER occurs 1 D - C186, R181

Name an..35 D 22 NAD[22](3035=GA).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GA).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GA).3251 - C501

City an..35 D 22 NAD[22](3035=GA).3164 - C501

Country code a2 D 22 NAD[22](3035=GA).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GA).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GA).C082.3039 -

(CONSIGNOR-SECURITY)

TRADER occurs 1

D - C186, C187

Name an..35 D 22 NAD[22](3035=GL).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GL).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GL).3251 - C501

City an..35 D 22 NAD[22](3035=GL).3164 - C501

Country code a2 D 22 NAD[22](3035=GL).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GL).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GL).C082.3039 - C572

(CONSIGNEE-SECURITY)

TRADER occurs 1

D - C186, C188

Name an..35 D 22 NAD[22](3035=UC).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=UC).C059.3042#1 - C501

Page 59: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 59 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

Postal code an..9 D 22 NAD[22](3035=UC).3251 - C501

City an..35 D 22 NAD[22](3035=UC).3164 - C501

Country code a2 D 22 NAD[22](3035=UC).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=UC).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=UC).C082.3039 - C596

Page 60: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 60 of 197

B.14. Unloading permission (IE43 - E_ULD_PER)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R -- R195

HEADER R --

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

-

(PRINCIPAL) TRADER D --

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

(CONSIGNOR) TRADER O -- R10

2 Name an..35 R 22 NAD[22](3035=CZ).C080.3036#1 -

2 Street and number an..35 R 22 NAD[22](3035=CZ).C059.3042#1 -

2 Postal code an..9 R 22 NAD[22](3035=CZ).3251 -

2 City an..35 R 22 NAD[22](3035=CZ).3164 -

Page 61: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 61 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

2 Country code a2 R 22 NAD[22](3035=CZ).3207 8

2 NAD_LNG a2 O 22 NAD[22](3035=CZ).3229 12 TR99

2 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CZ).C082.3039 - R012

(CONSIGNEE) TRADER D -- R011, C001

8 Name an..35 R 22 NAD[22](3035=CN).C080.3036#1 -

8 Street and number an..35 R 22 NAD[22](3035=CN).C059.3042#1 -

8 Postal code an..9 R 22 NAD[22](3035=CN).3251 -

8 City an..35 R 22 NAD[22](3035=CN).3164 -

8 Country code a2 R 22 NAD[22](3035=CN).3207 8

8 NAD_LNG a2 O 22 NAD[22](3035=CN).3229 12 TR99

8 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CN).C082.3039 - R012

(DESTINATION) TRADER 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 O 22 NAD[22](3035=CPD).C082.3039 - R012

(DEPARTURE) CUSTOMS OFFICE D --

Reference number an8 R 4 LOC[4](3227=118).C517.3225 -

(PRESENTATION OFFICE) CUSTOMS OFFICE R --

Reference number an8 R 4 LOC[4](3227=22).C517.3225 -

CTL_CONTROL O --

Continue unloading n1 R 6 GIS[6](C529.1131=63).C529.7365 27 R510

SEALS INFO O --

Seals number n..4 R 145 CNT[145](C270.6069=16).C270.6066 -

SEALS ID occurs 9999 R --

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 12 TR99

Page 62: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 62 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

GOODS ITEM occurs 999 D --

32 Item number n..5 R 92 CST[92].1496 - R5, R7,

TR1200

33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - C15, R60

Type of Declaration an..9 D 92 CST[92].C246#5.7361 31 C45

31 Goods description an..260 R 93 CST.FTX[93](4451=AAA).C108.4440#1 -

Goods description LNG a2 O 93 CST.FTX[93](4451=AAA).3453 12 TR99

35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C

174.6314

-

38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C

174.6314

-

Country of dispatch/export code a2 D 94 CST.LOC[94](3227=35).C517.3225 8 C135

Country of destination code a2 D 94 CST.LOC[94](3227=36).C517.3225 8 C140

PRODUCED DOC/CERTIFICATES occurs 99 O --

PRODUCED DOC/CERT.Docum type an..3 R 111 CST.DOC[111](C002.1001=916).C002.1000 13

44 PRODUCED DOC/CERT.Docum reference an..35 O 111 CST.DOC[111](C002.1001=916).C503.1004 -

PRODUCED DOC/CERT.Docum 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 O -- -

44 SPECIAL MENTIONS.Additional information coded an..3 R 117 CST.TOD(4055=2).FTX[117](4451=ACB).C107.4441 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

(CONSIGNOR) TRADER O -- R10

02 (CONSIGNOR) TRADER.Name an..35 R 97 CST.NAD[97](3035=CZ).C080.3036#1 -

02 (CONSIGNOR) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CZ).C059.3042#1 -

02 (CONSIGNOR) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CZ).3251 -

02 (CONSIGNOR) TRADER.City an..35 R 97 CST.NAD[97](3035=CZ).3164 -

02 (CONSIGNOR) TRADER.Country code a2 R 97 CST.NAD[97](3035=CZ).3207 8

02 (CONSIGNOR) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CZ).3229 12 TR99

Page 63: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 63 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

02

(CONSIGNOR) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CZ).C082.3039 - R012

(CONSIGNEE) TRADER D -- R011, C002

08 (CONSIGNEE) TRADER.Name an..35 R 97 CST.NAD[97](3035=CN).C080.3036#1 -

08 (CONSIGNEE) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CN).C059.3042#1 -

08 (CONSIGNEE) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CN).3251 -

08 (CONSIGNEE) TRADER.City an..35 R 97 CST.NAD[97](3035=CN).3164 -

08 (CONSIGNEE) TRADER.Country code a2 R 97 CST.NAD[97](3035=CN).3207 8

08 (CONSIGNEE) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CN).3229 12 TR99

08 (CONSIGNEE) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CN).C082.3039 - R012

CONTAINERS occurs 99 D -- C55

31 CONTAINERS.Container number an..17 R 105 CST.RFF[105](C506.1153=AAQ).C506.1154 -

PACKAGES occurs 99 D --

31 PACKAGES.Marks & numbers of packages an..42 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 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

SGI CODES occurs 9 O --

SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64

SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 -

Page 64: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 64 of 197

B.15. Unloading Remarks (IE44 – E_ULD_REM)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

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 - TR02

35 Total gross mass n..11,3 R 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C714.6

314

-

(DESTINATION) TRADER 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

(PRESENTATION OFFICE) CUSTOMS OFFICE R --

Reference number an8 R 4 LOC[4](3227=22).C517.3225 -

UNLOADING REMARK R --

State of the seals OK n1 O 28 TOD(4055=5).FTX[28](4451=CLR).C107.4441 27 R200/R340

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 12 TR99

Conform n1 R 26 TOD[26](4055=5).4215 R205

Unloading completion n1 R 26 TOD[26](4055=5).C100.4053 27 R186

Unloading date n8 R 26 TOD[26](4055=5).C100.4052#1 -

RESULTS OF CONTROL occurs 9 D -- C210

Control indicator an2 R 11 FTX[11](4451=ABV).C107.4441 42 TR03

Page 65: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 65 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

Pointer to the attribute an..35 D 11 FTX[11](4451=ABV).C108.4440#1 TR05

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 D -- C200

Seals number n..4 R 145 CNT[145](C270.6069=16).C270.6066 -

SEALS ID occurs 9999 D -- R206

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 12 TR99

GOODS ITEM occurs 9999 D -- 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 12 TR99

35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C

174.6314

-

38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C

174.6314

-

PRODUCED DOCS/CERT occurs 99 O -- TR08

PRODUCED DOCS/CERT.Document type an..3 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 TR0103

44 PRODUCED DOCS/CERT.Document reference an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C902,

TR0016

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 TR99

Page 66: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 66 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

RESULTS OF CONTROL occurs 199 D -- C210,

TR13/12/14

RESULTS OF CONTROL.Control indicator an2 R 93 CST.FTX[93](4451=ABV).C107.4441 41 TR03

RESULTS OF CONTROL.Pointer to the attribute an..35 D 93 CST.FTX[93](4451=ABV).C108.4440#1 - TR10,TR14,

TR18

RESULTS OF CONTROL.Description an..140 O 93 CST.FTX[93](4451=ABV).C108.4440#2 - TR09

RESULTS OF CONTROL.Description LNG a2 D 93 CST.FTX[93](4451=ABV).3453 12 TR99

CONTAINERS occurs 99 O -- TR08

31 CONTAINERS.Container number an..17 R 105 CST.RFF[105](C506.1153=AAQ).C506.1154 -

PACKAGES occurs 99 D -- TR08

31 PACKAGES.Marks & numbers of packages an..42 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 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

SGI CODES occurs 9 O -- R155/TR08

31 SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64 R156

31 SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 -

Page 67: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 67 of 197

B.16. Write-off Notification (IE45 - E_WRT_NOT)

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R -

HEADER R -- -

Document/reference number (MRN)

an..21 R 2 BGM[2].C106.1004 -

Write-off date n8 R 5 DTM[5](C507.2005=204).C507.2380 -

(PRINCIPAL) TRADER 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

GUARANTOR O -- -

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

(DEPARTURE) CUSTOMS OFFICE R -- -

Reference number an8 R 4 LOC[4](3227=118).C517.3225 -

Page 68: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 68 of 197

B.17. No release for Transit (IE51 - E_REL_NOT)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R -- R135,R143

7 Reference number (LRN) an..22 R 12 RFF[12](C506.1153=ABE).C506.1154

Document/Reference number (MRN) an..21 R 2 BGM[2].C106.1004 -

1 Type of declaration an..9 R 2 BGM[2].C002.1000 31 R909, R911

17A Country of destination code a2 D 4 LOC[4](3227=36).C517.3225 8 C140

30 Agreed location of goods, code an..17 D 4 LOC[4](3227=14).C517.3225 - C100,R41

30 Agreed location of goods an..35 D 4 LOC[4](3227=14).C517.3224 - C100,R41

Agreed location of goods LNG a2 O 4 LOC[4](3227=14).5479 12 TR99

30 Authorised location of goods, code an..17 D 4 LOC[4](3227=14).C519.3223 - C100,R41

27 Place of loading, code an..17 D 4 LOC[4](3227=9).C517.3225 - C191

15A Country of dispatch/export code a2 D 4 LOC[4](3227=35).C517.3225 8 C135

Customs sub place an..17 D 4 LOC[4](3227=26).C517.3225 - C100,R41

26 Inland transport mode n..2 O 17 TDT[17](8051=1).C220.8067 18

25 Transport mode at border n..2 D 17 TDT[17](8051=11).C220.8067 18 C599

18 Identity of means of transport at departure

(exp/trans)

an..27 D 17 TDT[17](8051=12).C222.8212 - TR9090,

TR0035,

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,

TR0035,

TR9095

21 Identity of means of transport crossing border an..27 D 17 TDT[17](8051=11).C222.8212 - C011

Identity of means of transport crossing border

LNG

a2 O 18 TDT(8051=11).TPL[18].C222.8453 12 TR99

21 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 n..2 O 17 TDT[17](8051=11).C228.8179 18

19 Containerised indicator n1 R 6 GIS[6](C529.1131=109).C529.7365 27 R230

Dialog language indicator at departure a2 O 11 FTX[11](4451=ACB).3453 12 R100

Page 69: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 69 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

NCTS accompanying document language

code

a2 R 11 FTX[11](4451=ALL).3453 12

5 Total number of items n..5 R 145 CNT[145](C270.6069=5).C270.6066 -

6 Total number of packages n..7 O 145 CNT[145](C270.6069=11).C270.6066 - R105, TR02

35 Total gross mass n..11,3 R 8 MEA[8](6311=WT)(C502.6313=AAD)(C174.6411=KGM).C174.6314 -

50 Declaration date n8 R 5 DTM[5](C507.2005=137).C507.2380 -

50 Declaration place an..35 R 4 LOC[4](3227=91).C517.3224 -

50 Declaration place LNG a2 O 4 LOC[4](3227=91).5479 12 TR99

No release motivation an..350 O 11 FTX[11](4451=ABQ).C108.4440#1 -

No release motivation LNG a2 O 11 FTX[11](4451=ABQ).3453 12 TR99

Specific Circumstance Indicator a1 D 12 RFF[12](C506.1153=AMJ).C506.1154 96 C186, C825

Transport charges/ Method of Payment a1 D 11 FTX[11](4451=PAI).4453 116 C186

Commercial Reference Number an..70 D 7 FII[7](3035=XX).C088.3436 - C186, C547,

R876

Security n1 O 6 GIS[6](C529.1131=187).C529.7365 117 R229

Conveyance reference number an..35 O 11 FTX[11](4451=ACR).C108.4440#1 - C531

Place of unloading, code an..35 D 4 LOC[4](3227=58).C517.3224 - C186, C589

Place of unloading LNG a2 O 4 LOC[4](3227=58).C517.3225 12 TR0099

(PRINCIPAL) TRADER R

50 Name an..35 D 22 NAD[22](3035=AF).C080.3036#1 - C50, NC50

50 Street and number an..35 D 22 NAD[22](3035=AF).C059.3042#1 - C50, NC50

50 Postal code an..9 D 22 NAD[22](3035=AF).3251 - C50, NC50

50 City an..35 D 22 NAD[22](3035=AF).3164 - C50, NC50

50 Country code a2 D 22 NAD[22](3035=AF).3207 8 C50, NC50

50 NAD_LNG a2 O 22 NAD[22](3035=AF).3229 12 TR99

50 EORI-TIN (Turn) an..17 D 22 NAD[22](3035=AF).C082.3039 - C111, C236,

NR1

50 Holder ID TIR an..17 D 22 NAD[22](3035=AF).C080.3036#2 - C904, NR1

(CONSIGNOR) TRADER. O R10

2 Name an..35 R 22 NAD[22](3035=CZ).C080.3036#1 -

2 Street and number an..35 R 22 NAD[22](3035=CZ).C059.3042#1 -

2 Postal code an..9 R 22 NAD[22](3035=CZ).3251 -

2 City an..35 R 22 NAD[22](3035=CZ).3164 -

Page 70: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 70 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

2 Country code a2 R 22 NAD[22](3035=CZ).3207 8

2 NAD_LNG a2 O 22 NAD[22](3035=CZ).3229 12 TR99

2 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CZ).C082.3039 -

(CONSIGNEE) TRADER. D R011,C001

8 Name an..35 R 22 NAD[22](3035=CN).C080.3036#1 -

8 Street and number an..35 R 22 NAD[22](3035=CN).C059.3042#1 -

8 Postal code an..9 R 22 NAD[22](3035=CN).3251 -

8 City an..35 R 22 NAD[22](3035=CN).3164 -

8 Country code a2 R 22 NAD[22](3035=CN).3207 8

8 NAD_LNG a2 O 22 NAD[22](3035=CN).3229 12 TR99

8 EORI-TIN (Turn) an..17 O 22 NAD[22](3035=CN).C082.3039 -

(AUTHORISED CONSIGNEE)

TRADER

O -- R15

EORI-TIN (Turn) an..17 R 22 NAD[22](3035=TD).C082.3039 -

(DEPARTURE) CUSTOMS OFFICE R --

C Reference number an8 R 4 LOC[4](3227=118).C517.3225 - R901

(TRANSIT) CUSTOMS OFFICE occurs

9

D -- C030

51 Reference number an8 R 4 LOC[4](3227=50).C517.3225 - R906, R907,

R908, R910,

TR0635

Arrival Time n12 D 4 LOC[4](3227=50).C519.3223 - C598, R660

(DESTINATION) CUSTOMS OFFICE R --

53 Reference number an8 R 4 LOC[4](3227=45).C517.3225 - R901, R904,

R905,

TR0635

CONTROL RESULT R --

D Control date n8 R 5 DTM[5](C507.2005=9).C507.2380 -

D Control result code an2 R 11 FTX[11](4451=ADO).C107.4441 47 R903

D Date limit n8 O 5 DTM[5](C507.2005=268).C507.2380 -

RESULTS OF CONTROL occurs 9 O -- R145

Control indicator an2 R 11 FTX[11](4451=ABV).C107.4441 42 TR03

Description an..140 O 11 FTX[11](4451=ABV).C108.4440#2 - TR06

Page 71: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 71 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

Description LNG a2 D 11 FTX[11](4451=ABV).3453 12 TR99

REPRESENTATIVE O --

50 Name an..35 R 22 NAD[22](3035=AH).C080.3036#1 -

50 Representative capacity an..35 O 11 FTX[11](4451=ACP).C108.4440#1 -

50 Representative capacity LNG a2 O 11 FTX[11](4451=ACP).3453 12 TR99

SEALS INFO O -- R165

D Seals number n..4 R 145 CNT[145](C270.6069=16).C270.6066 -

SEALS ID occurs 9999 R -- -

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 12 TR99

GUARANTEE occurs 9 R --

52 Guarantee type an1 R 12 RFF[12](C506.1153=ABL).C506.1154 51 C900

GUARANTEE REFERENCE occurs 99 D -- - C085

52 GUARANTEE REFERENCE.Guarantee

reference number (GRN)

an..24 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#1 - C125,TR301

52 GUARANTEE REFERENCE.Other

guarantee reference

an..35 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7064#2 - C130, R900

52 GUARANTEE REFERENCE.Access code an4 D 14 RFF(C506.1153=ABL).PAC[14](7224=1).C402.7077 - C86

GUARANTEE REFERENCE –

VALIDITY LIMITATION EC

O -- -

52 GUARANTEE REFERENCE – VALIDITY

LIMITATION EC.Not valid for EC

n1 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=19).C210.7102#1 27 R230

GUARANTEE REFERENCE –

VALIDITY LIMITATION NON EC

occurs 99

O -- -

52 GUARANTEE REFERENCE – VALIDITY

LIMITATION NON EC.Not valid for other

contracting parties

a2 R 15 RFF(C506.1153=ABL).PAC(7224=1).PCI[15](4233=28).C210.7102#1 71 R231

GOODS ITEM occurs 999 R --

32 Item number n..5 R 92 CST[92].1496 - R5,R7,

TR1200

33 Commodity code (taric code) an..22 D 92 CST[92].C246#1.7361 - C15,R60,

R470

Page 72: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 72 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

1 Type of Declaration an..9 D 92 CST[92].C246#5.7361 31 C45

31 Goods description an..260 R 93 CST.FTX[93](4451=AAA).C108.4440#1 -

Goods description LNG a2 O 93 CST.FTX[93](4451=AAA).3453 12 TR99

35 Gross mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAB)(C174.6411=KGM).C174.6314 - R700

38 Net mass n..11,3 O 96 CST.MEA[96](6311=WT)(C502.6313=AAA)(C174.6411=KGM).C174.6314 -

15A Country of dispatch/export code a2 D 94 CST.LOC[94](3227=35).C517.3225 8 C135

17A Country of destination code a2 D 94 CST.LOC[94](3227=36).C517.3225 8 C140

Transport charges/ Method of Payment a1 D 98 CST.TDT[98](8051=10).C228.8179 116 C186, C576,

TR9120

Commercial Reference Number an..70 D 93 CST.FTX[93](4451=IND).C108.4440#1 - C186, C547,

R876

UN dangerous goods code an4 O 98 CST.TDT[98](8051=10).C222.8213 101 C186

PREV ADMIN REF occurs 9 D -- - C035,

TR0635

40

PREV ADMIN REF .Previous document

type

an..6 R 111 CST.DOC[111](C002.1001=190).C002.1000 R020,TR100

40 PREV ADMIN REF .Previous document

reference

an..35 R 111 CST.DOC[111](C002.1001=190).C503.1004 -

PREV ADMIN REF .Previous document

reference LNG

a2 O 111 CST.DOC[111](C002.1001=190).C503.3453 12 TR99

40 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

PRODUCED DOC/CERT occurs 99 D -- - C903, C547

44 PRODUCED DOC/CERT.Document type an..4 R 111 CST.DOC[111](C002.1001=916).C002.1000 13 C901,

TR0103

44 PRODUCED DOC/CERT.Document

reference

an..35 D 111 CST.DOC[111](C002.1001=916).C503.1004 - C902

PRODUCED DOC/CERT.Document

reference LNG

a2 O 111 CST.DOC[111](C002.1001=916).C503.3453 12 TR99

44 PRODUCED DOC/CERT.Complement of

information

an..26 O 111 CST.DOC[111](C002.1001=916).C503.1366 -

Page 73: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 73 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

PRODUCED DOC/CERT.Complement of

information LNG

a2 O 111 CST.DOC[111](C002.1001=916).C503.1373 12 TR99

SPECIAL MENTIONS occurs 99 O -- - R27

44 SPECIAL MENTIONS.Additional

information

an..70 O 117 CST.TOD(4055=2).FTX[117](4451=ACB).C108.4440#1 -

44 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 - 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

RESULTS OF CONTROL occurs 9 O -- -

RESULTS OF CONTROL.Control indicator an2 R 93 CST.FTX[93](4451=ABV).C107.4441 41 TR03

RESULTS OF CONTROL.Pointer to the

attribute

an..35 D 93 CST.FTX[93](4451=ABV).C108.4440#1 - TR10,TR14

RESULTS OF CONTROL.Description an..140 O 93 CST.FTX[93](4451=ABV).C108.4440#2 - TR09

RESULTS OF CONTROL.Description LNG a2 D 93 CST.FTX[93](4451=ABV).3453 12 TR99

(CONSIGNOR) TRADER O -- - R10

02 (CONSIGNOR) TRADER.Name an..35 R 97 CST.NAD[97](3035=CZ).C080.3036#1 -

02 (CONSIGNOR) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CZ).C059.3042#1 -

02 (CONSIGNOR) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CZ).3251 -

02 (CONSIGNOR) TRADER.City an..35 R 97 CST.NAD[97](3035=CZ).3164 -

02 (CONSIGNOR) TRADER.Country code a2 R 97 CST.NAD[97](3035=CZ).3207 8

02 (CONSIGNOR) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CZ).3229 12 TR99

02 (CONSIGNOR) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CZ).C082.3039 -

(CONSIGNEE) TRADER D -- - R11,C002

08 (CONSIGNEE) TRADER.Name an..35 R 97 CST.NAD[97](3035=CN).C080.3036#1 -

08 (CONSIGNEE) TRADER.Street and number an..35 R 97 CST.NAD[97](3035=CN).C059.3042#1 -

08 (CONSIGNEE) TRADER.Postal code an..9 R 97 CST.NAD[97](3035=CN).3251 -

08 (CONSIGNEE) TRADER.City an..35 R 97 CST.NAD[97](3035=CN).3164 -

08 (CONSIGNEE) TRADER.Country code a2 R 97 CST.NAD[97](3035=CN).3207 8

Page 74: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 74 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

08 (CONSIGNEE) TRADER.NAD_LNG a2 O 97 CST.NAD[97](3035=CN).3229 12 TR99

08 (CONSIGNEE) TRADER.EORI-TIN (Turn) an..17 O 97 CST.NAD[97](3035=CN).C082.3039 -

CONTAINERS occurs 99 D -- - C55

31 CONTAINERS.Container number an..17 R 105 CST.RFF[105](C506.1153=AAQ).C506.1154 - C60

PACKAGES occurs 99 R -- -

31 PACKAGES.Marks & numbers of packages an..42 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 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,

TR0022

31 PACKAGES.Number of pieces n..5 D 99 CST.PAC[99](7224=6).C402.7064#2 - C60

SGI CODES occurs 9. O -- - R155

31 SGI CODES.Sensitive goods code n..2 O 131 CST.GIR[131](7297=3).C206#2.7402 64 R156

31 SGI CODES.Sensitive quantity n..11,3 R 131 CST.GIR[131](7297=3).C206#1.7402 -

(CONSIGNOR-SECURITY)

TRADER occurs 1

D - C186, C187

Name an..35 D 97 NAD[97](3035=GM).C080.3036#1 - C501

Street and number an..35 D 97 NAD[97](3035=GM).C059.3042#1 - C501

Postal code an..9 D 97 NAD[97](3035=GM).3251 - C501

City an..35 D 97 NAD[97](3035=GM).3164 - C501

Country code a2 D 97 NAD[97](3035=GM).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=GM).3229 12 TR0099

EORI-TIN (Turn) an..17 D 97 NAD[97](3035=GM).C082.3039 - C572

(CONSIGNEE-SECURITY)

TRADER occurs 1

D - C186, C188

Name an..35 D 97 NAD[972](3035=DP).C080.3036#1 - C501

Street and number an..35 D 97 NAD[972](3035=DP).C059.3042#1 - C501

Postal code an..9 D 97 NAD[972](3035=DP).3251 - C501

City an..35 D 97 NAD[972](3035=DP).3164 - C501

Country code a2 D 97 NAD[972](3035=DP).3207 8 C501

NAD_LNG a2 O 97 NAD[97](3035=DP).3229 12 TR0099

Page 75: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 75 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSDEC Code

List

Conditions

Rules

EORI-TIN (Turn) an..17 D 97 NAD[97](3035=DP).C082.3039 - C596

ITINERARY occurs 99 D - C186, C587

Country of routing code a2 R 9 EQD[9](8053=CH).C237.3207 8

(CARRIER) TRADER occurs 1 D - C186, R181

Name an..35 D 22 NAD[22](3035=GA).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GA).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GA).3251 - C501

City an..35 D 22 NAD[22](3035=GA).3164 - C501

Country code a2 D 22 NAD[22](3035=GA).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GA).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GA).C082.3039 -

(CONSIGNOR-SECURITY)

TRADER occurs 1

D - C186, C187

Name an..35 D 22 NAD[22](3035=GL).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=GL).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=GL).3251 - C501

City an..35 D 22 NAD[22](3035=GL).3164 - C501

Country code a2 D 22 NAD[22](3035=GL).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=GL).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=GL).C082.3039 - C572

(CONSIGNEE-SECURITY)

TRADER occurs 1

D - C186, C188

Name an..35 D 22 NAD[22](3035=UC).C080.3036#1 - C501

Street and number an..35 D 22 NAD[22](3035=UC).C059.3042#1 - C501

Postal code an..9 D 22 NAD[22](3035=UC).3251 - C501

City an..35 D 22 NAD[22](3035=UC).3164 - C501

Country code a2 D 22 NAD[22](3035=UC).3207 8 C501

NAD_LNG a2 O 22 NAD[22](3035=UC).3229 12 TR0099

EORI-TIN (Turn) an..17 D 22 NAD[22](3035=UC).C082.3039 - C596

Page 76: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 76 of 197

B.18. Guarantee not valid (IE55 – E_GUA_INV)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSDEC Code

List

Conditions

Rules

MESSAGE (as per IE15 – E_DEC_DAT) R --

HEADER R --

Document/reference number (MRN) an..21 R 2 BGM[2].C106.1004 - -

(PRINCIPAL) TRADER R --

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 - R012

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 4 LOC[4](3227=118).C517.3225 - -

GUARANTEE REFERENCE occurs 99 R --

52 Guarantee reference number (GRN) an..24 R 14 RFF(C506.1153=ABK).PAC[14](C531.7075=1).C402.7064#1 - -

INVALID GUARANTEE REASON R --

Invalid guarantee reason code an..3 R 16 RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).C

107.4441

52 -

Invalid guarantee reason an..350 O 16 RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).C

108.4440#1

- -

Invalid guarantee reason LNG a2 O 16 RFF(C506.1153=ABK).PAC(7224=1).PCI.FTX[16](4451=AUT).3

453

- TR99

Page 77: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 77 of 197

B.19. Unloading remarks rejection (IE58 – E_ULD_REJ)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – FUNACK Code

List

Conditions

Rules

MESSAGE (as per IE15 – E_DEC_DAT) R --

HEADER R --

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 12 TR99

FUNCTIONAL ERROR occurs 999 D -- R123

Error type n2 R 4 FTX[4](4451=AAO).C107.4441 49

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 78: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 78 of 197

B.20. Control decision notification (IE60 – E_CTR_DEC)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CUSRES Code

List

Conditions

Rules

MESSAGE (as per IE15 – E_DEC_DAT) R --

HEADER R --

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 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

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 6 LOC[6](3227=118).C517.3225 -

Page 79: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 79 of 197

B.21. EDIFACT NACK (IE907 – C_EDI_NCK)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CONTRL Code

List

Conditions

Rules

MESSAGE (as per IE15 – E_DEC_DAT) R --

INTERCHANGE ERRORS R --

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 -

MESSAGE ERRORS occurs 99 D -- TR0902

Message identification an..14 R 3 UCM[3].0062 - TR9250

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 - TR9250

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 -- TR0902

Segment position in message n..6 R 4 UCM.UCS[4].0096 -

Error n2 D 4 UCM.UCS[4].0085 23 TR0901

DATA ELEMENT ERRORS occurs 99 D TR0902

Error n2 R 5 UCM.UCS.UCD[5].0085 23 TR0901

Position of erroneous data element n..3 R 5 UCM.UCS.UCD[5].S011.0098 -

Page 80: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 80 of 197

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – CONTRL Code

List

Conditions

Rules

Position of erroneous data component n..3 O 5 UCM.UCS.UCD[5].S011.0104 -

Page 81: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 81 of 197

B.22. XML NCK (IE917 – C_XML_NCK)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping – FUNACK Code

List

Conditions

Rules

MESSAGE (as per IE15 – E_DEC_DAT) R --

HEADER R --

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 - TR9250

Reference number (LRN) an..22 D 4 RFF[12](1153=ABE).C506.1154 -

FUNCTIONAL ERROR R --

Error type n2 R 4 FTX[4](4451=AAO).C107.4441 49

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 - TR9250

Page 82: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 82 of 197

B.23. Positive Acknowledgement (IE928 - E_POS_ACK)

SAD

Box

Message element Data

Type

Data

Req

Pos. EDIFACT Mapping - CUSRES Code

List

Conditions

Rules

MESSAGE (as per IE15 - E_DEC_DAT) R --

HEADER R --

7 Reference number (LRN) an..22 R 12 RFF[12](C506.1153=ABE).C506.1154 -

(PRINCIPAL) TRADER R --

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 O 9 NAD[9](3035=AF).C082.3039 -

50 Holder ID TIR an..17 D` 22 NAD[22](3035=AF).C080.3036#2 - C904

(DEPARTURE) CUSTOMS OFFICE R --

Reference number an8 R 6 LOC[6](3227=118).C517.3225 -

Page 83: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 83 of 197

APPENDIX C – CONDITIONS AND NATIONAL CONDITIONS FOR IE MESSAGES

CONDITIONS

C001 : IF ‘Header.Country of Destination code’ in {CL009},

THEN (‘(CONSIGNEE) TRADER’ = ‘R’

OR

‘GOODS ITEM.(CONSIGNEE) TRADER’ = ‘R’ for all GOODS ITEMS)

ELSE (‘(CONSIGNEE) TRADER’ = ‘O’ AND GOODS ITEM.(CONSIGNEE) TRADER’ = ‘O’

Unless other Rules & Conditions apply).

With CL009 = all the countries with ‘Country Regime’ equal to ‘EEC’ or ‘TOC’

C002 : IF ‘GOODS ITEM.Country of Destination code’ in {CL009},

THEN (‘(CONSIGNEE) TRADER’ = ‘R’

OR

‘GOODS ITEM.(CONSIGNEE) TRADER’ = ‘R’ for this GOODS ITEM)

ELSE

GOODS ITEM .(CONSIGNEE) TRADER’ = ‘O’ for this GOODS ITEM,

Unless other Rules & Conditions apply).

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 ‘HEADER.Type of declaration’ = ‘TIR’,

THEN ‘(TRANSIT) CUSTOMS OFFICE’ cannot be used,

ELSE

IF

(Country Code of ‘(DEPARTURE) CUSTOMS OFFICE.Reference Number’ in {CL063}

OR

(Country Code of ‘(DESTINATION) CUSTOMS OFFICE.Reference Number’ in {CL063}

OR

‘HEADER.Type of declaration’ in {‘T2’, ‘T-‘}),

THEN ‘(TRANSIT) CUSTOMS OFFICE’ = ‘R’,

ELSE‘(TRANSIT) CUSTOMS OFFICE’ = ‘O’.

Note. CL063 is a list of the Common Transit countries outside of the European Union (EU)

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

Page 84: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 84 of 197

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"

"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’.

Page 85: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 85 of 197

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.

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 ‘HEADER.Country of destination code’ is used,

THEN ‘GOODS ITEM.Country of destination code’ cannot be used (for any GOODS

ITEMS)

ELSE

((‘GOODS ITEM.Country of destination code’ = ‘R’ (for all GOODS ITEMS))

AND

(the same ‘Country of destination code’ cannot be used for all GOODS ITEMS)).

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

Page 86: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 86 of 197

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

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 = ‘cannot be used’ ELSE this attribute =

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

Page 87: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 87 of 197

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.

C589 :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 PRODUCED DOCUMENTS/CERTIFICATES.Document type' = '952',

THEN PRODUCED DOCUMENTS/CERTIFICATES. Document Reference is ‘Required’

ELSE PRODUCED DOCUMENTS/CERTIFICATES. Document Reference is ‘’Optional’

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’,

Page 88: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 88 of 197

ELSE “Holder ID TIR” cannot be used.

Note: ‘Holder ID TIR’is a non-language sensitive text field, as defined in DDCOM.

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 89 of 197

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 : IF ‘(CONSIGNOR) TRADER’ is used

THEN ‘GOODS ITEMS.(CONSIGNOR) TRADER’ cannot be used (for any GOODS ITEMS)

ELSE

((‘GOODS ITEMS.(CONSIGNOR) TRADER’ = ‘O’)

AND

(the same ‘(CONSIGNOR) TRADER’ cannot be used for all GOODS ITEMS))

Note

To evaluate if two traders are identical, a case-sensitive comparison is performed between the strings

CONCAT[Name;Street and number;Postal code;City;country Code;NAD LNG] of each TRADER at

GOODS ITEM level (i.e. any differences in letter cases of two strings means two different traders, as

defined in DDCOM section ‘text fields’)

R011 : IF ‘(CONSIGNEE) TRADER’ is used

THEN ‘GOODS ITEMS.(CONSIGNEE) TRADER’ cannot be used (for any GOODS ITEMS)

ELSE

((‘GOODS ITEMS.(CONSIGNEE) TRADER’ = ‘O’) unless other Rules & Conditions apply

AND

(the same ‘(CONSIGNEE) TRADER’ cannot be used for all GOODS ITEMS)).

Note

To evaluate if two traders are identical, a case-sensitive comparison is performed between the strings

CONCAT[Name;Street and number;Postal code;City;country Code;NAD LNG] of each TRADER at

GOODS ITEM level (i.e. any differences in letter cases of two strings means two different traders, as

defined in DDCOM section ‘text fields’)

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

Page 90: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 90 of 197

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’.

R143 : 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.

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

Page 91: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 91 of 197

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

(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

Page 92: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 92 of 197

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 'Consignors-

security' 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 'Consignees-

security' 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.

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'.

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 93 of 197

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 94 of 197

TR0012: (Unsatisfactory -> Missing document – Control Indicator=NP) For each document missing, a RoC-

group 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).

TR0016: IF 'PRODUCED DOCUMENTS/CERTIFICATES.Document type' = '952',

THEN ((the Document Reference must have the format an10 or an11) AND (the Document

Reference must follow the algorithm defined by IRU, see DDNTA Main 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

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 95 of 197

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:

Latin-5 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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 96 of 197

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 97 of 197

List 1 NCTS UN/EDIFACT Message Types

Details: Used for attribute MESSAGE ERRORS.Message Type.

Code Value

CUSDEC Customs declaration

CUSRES 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 Value

-- technical code

AT Austria

AU Australia

BE Belgium

BG Bulgaria

CA Canada

CH Switzerland

Including the German territory of Büsingen and the Italian municipality of

Campione d’Italia

DE Germany

Including the island of Helgoland; excluding the territory of Büsingen

DK Denmark

ES Spain

Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla

FR France

Including Monaco and the French overseas departments (Réunion, Guadeloupe,

Martinique and French Guiana)

GB United Kingdom

Great Britain, Northern Ireland, Channel Islands and Isle of Man

GR Greece

HR Croatia

HU Hungary

IE Ireland

IS Iceland

IT Italy

Including Livigno

LI Liechtenstein

LU Luxembourg

MK Macedonia, The Former Yugoslav Republic of

NL Netherlands

NO Norway

PL Poland

PR Puerto Rico

PT Portugal

Including Azores and Madeira

SE Sweden

SJ Svalbard and Jan Mayen

Page 98: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 98 of 197

US 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 Value

AD Andorra

AT Austria

AX Åland Islands

BE Belgium

BG Bulgaria

CH Switzerland

Including the German territory of Büsingen and the Italian municipality of

Campione d’Italia

CY Cyprus

CZ Czech Republic

DE Germany

Including the island of Helgoland; excluding the territory of Büsingen

DK Denmark

EE Estonia

ES Spain

Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla

FI Finland

Including Åland Islands

FR France

Including Monaco and the French overseas departments (Réunion, Guadeloupe,

Martinique and French Guiana)

GB United Kingdom

Great Britain, Northern Ireland, Channel Islands and Isle of Man

GF French Guiana

GP Guadeloupe

GR Greece

HR Croatia

HU Hungary

IE Ireland

IS Iceland

IT Italy

Including Livigno

LI Liechtenstein

LT Lithuania

LU Luxembourg

LV Latvia

MC Monaco

MQ Martinique

MT Malta

NL Netherlands

NO Norway

Including Svalbard Archipelago and Jan Mayen Island

PL Poland

PT Portugal

Including Azores and Madeira

Page 99: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 99 of 197

RE Reunion

RO Romania

SE Sweden

SI Slovenia

SJ Svalbard and Jan Mayen Islands

SK Slovakia

SM San Marino

TR Turkey

List 10 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 Value

AT Austria

AX Åland Islands

BE Belgium

BG Bulgaria

CY Cyprus

CZ Czech Republic

DE Germany

Including the island of Helgoland; excluding the territory of Büsingen

DK Denmark

EE Estonia

ES Spain

Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla

FI Finland

Including Åland Islands

Page 100: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 100 of 197

Code Value

FR France

GB United Kingdom

Great Britain, Northern Ireland, Channel Islands and Isle of Man

GF French Guiana

GP Guadeloupe

GR Greece

HR Croatia

HU Hungary

IE Ireland

IT Italy

Including Livigno

LT Lithuania

LU Luxembourg

LV Latvia

MC Monaco

MQ Martinique

MT Malta

NL Netherlands

PL Poland

PT Portugal

Including Azores and Madeira

RE Reunion

RO Romania

SE Sweden

SI Slovenia

SK Slovakia

Page 101: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 101 of 197

List 12 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 Value Remark

BG Bulgarian

CS Czech

CY Welsh

DA Danish Dansk

DE German Deutsch

EL Greek Ellinika

EN English English

ES Spanish Espãnol

ET Estonian

FI Finnish Suomi

FR French Français

HU Hungarian Magyar

IS Icelandic Islenzk

IT Italian Italiano

LT Lithuanian

LV Latvian, Lettish

MT Maltese

NL Dutch Nederlands

NO Norwegian Norsk

PL Polish (Jezyk) Polski

PT Portuguese Português

SK Slovak Slovensky

SL Slovenian Slovensci

SV Swedish Svenska

List 13 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 Transport

Document?

2 Certificate of conformity N

3 Certificate of quality N

18 Movement certificate A.TR.1 N

235 Container list Y

271 Packing list Y

325 Proforma invoice N

380 Commercial invoice N

703 House waybill Y

704 Master bill of lading Y

705 Bill of lading Y

714 House bill of lading N

720 CIM consignment note (rail) Y

Page 102: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 102 of 197

Code Value Transport

Document?

720a NCTS rail test movement N

722 Road list-SMGS Y

730 Road consignment note Y

740 Air waybill Y

741 Master air waybill Y

750 Despatch note (post parcels) Y

760 Multimodal/combined transport document (generic) Y

785 Cargo manifest Y

787 Bordereau Y

820 Despatch note model T N

821 Despatch note model T1 N

822 Despatch note model T2 N

823 Control document T5 N

825 Despatch note model T2L N

830 Goods declaration for exportation N

851 Phytosanitary certificate N

852 Sanitary certificate N

853 Veterinary certificate N

861 Certificate of origin N

862 Declaration of origin N

864 Preference certificate of origin N

865 Certificate of origin form GSP N

911 Import licence N

933 Cargo declaration (arrival) N

941 Embargo permit N

951 TIF form N

952 TIR carnet Y

954 EUR 1 certificate of origin N

955 TA carnet Y

Y022 Consignor / exporter (AEO) N

Y023 Consignee (AEO certificate number) N

Y024 Declarant (AEO certificate number) N

Y025 Representative (AEO) N

Y026 Principal (AEO certificate number) N

Y027 Warehousekeeper (AEO) N

Y028 Carrier (AEO certificate number) N

Y029 Other authorised economic operator N

ZZZ Other N

List 14 Previous Document Type

Details: Previous administrative reference types. Only those marked ‘common’ are sent across the

Common Domain.

Page 103: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 103 of 197

Code Value

T1 Document T1 National

T2 T2 Common

T2ATA T2ATA Common

T2CIM T2CIM Common

T2F Internal Community transit Declaration — Article 340 c,

1)

Common

T2L T2L Common

T2LF T2LF Common

T2SM T2SM Common

T2TIR T2TIR Common

ZZZ Other Common

List 17 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 Value

AE Aerosol

AM Ampoule, non protected

AP Ampoule, protected

AT Atomizer

BA Barrel

BB Bobbin

BC Bottlecrate, bottlerack

BD Board

BE Bundle

BF Ballon, non protected

BG Bag

BH Bunch

BI Bin

BJ Bucket

BK Basket

BL Bale, compressed

BN Bale, non-compressed

BO Bottle, non-protected, cylindrical

BP Ballon, protected

BQ Bottle, protected, cylindrical

BR Bar

BS Bottle, non-protected, bulbous

BT Bolt

BU Butt

BV Bottle, protected, bulbous

BX Box

BY Board, in bundle/bunch/truss

BZ Bars, in bundle/bunch/truss

CA Can, rectangular

Page 104: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 104 of 197

Code Value

CB Beer crate

CC Churn

CE Creel

CF Coffer

CG Cage

CH Chest

CI Canister

CJ Coffin

CK Cask

CL Coil

CO Carboy, non protected

CP Carboy, protected

CR Crate

CS Case

CT Carton

CU Cup

CV Cover

CX Can, cylindrical

CY Cylinder

CZ Canvas

DJ Demijohn, non protected

DP Demijohn, protected

DR Drum

EN Envelope

FC Fruit crate

FD Framed crate

FI Firkin

FL Flask

FO Footlocker

FP Filmpack

FR Frame

GB Gas bottle

GI Girder

GZ Girders, in bundle/bunch/truss

HG Hogshead

HR Hamper

IN Ingot

IZ Ingots, in bundle/bunch/truss

JC Jerrican, rectangular

JG Jug

JR Jar

JT Jutebag

JY Jerrican, cylindrical

KG Keg

LG Log

LZ Logs, in bundle/bunch/truss

MB Multiply bag

MC Milk crate

MS Multiwall sack

MT Mat

MX Match box

NE Unpacked or unpackaged

Page 105: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 105 of 197

Code Value

NS Nest

NT Net

PA Packet

PC Parcel

PG Plate

PH Pitcher

PI Pipe

PK Package

PL Pail

PN Plank

PO Pouch

PT Pot

PU Tray/Tray pack

PY Plates, in bundle/bunch/truss

PZ Pipes/Planks, in bundle/bunch/truss

RD Rod

RG Ring

RL Reel

RO Roll

RT Rednet

RZ Rods, in bundle/bunch/truss

SA Sack

SC Shallow crate

SD Spindle

SE Sea-chest

SH Sachet

SK Skeleton case

SL Slipsheet

SM Sheetmetal

ST Sheet

SU Suitcase

SW Shrinkwrapped

SZ Sheets, in bundle/bunch/truss

TB Tub

TC Tea-chest

TD Tube, collapsible/Collapsible tube

TK Tank, rectangular

TN Tin

TO Tun

TR Trunk

TS Truss

TU Tube

TY Tank, cylindrical

TZ Tube, in bundle/bunch/truss

VA Vat

VG Bulk, gas (at 1031mbar and 15°C)

VI Vial

VL Bulk, liquid

VO Bulk, solid, large particles (“nodul.”)

VP Vacuum-packed

VQ Bulk, liquefied gas (at abnormal temperature/pressure)

VR Bulk, solid, granular particles (« grains »)

Page 106: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 106 of 197

Code Value

VS Bulk, scrap metal

VY Bulk, solid, fine particles (« powders »)

WB Wickerbottle

List 18 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 Value

1 Sea transport

2 Rail transport

3 Road transport

4 Air transport

5 Postal consignment

7 Fixed transport installations

8 Inland waterway transport

9 Own propulsion

List 21 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 Error

segment

2 Syntax version or

level not supported

The syntax version or syntax level is not in accordance with the

one specified in the TIS

UCI

Page 107: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 107 of 197

3 Message

version/release not

supported

6 Data segment

missing/invalid

7 Interchange

recipient not actual

recipient

The interchange recipient (S003) is different from the actual

recipient

UCI

12 Incorrect (code)

value

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.

UCI

UCM

UCD

13 Missing 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.

UCI

UCM

UCS

UCD

14 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.

UCI

UCM

UCD

15 Not supported in

this position

The element is not allowed to be present according to the

UN/EDIFACT message specification.

UCS

UCD

16 Too many

constituents

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

UCI

UCD

18 Unspecified error Notification that an error has been identified, but the nature of the

error is not reported

19 Invalid decimal

notation

The decimal notation is not according to the decimal formatting

standards UCI, UCM, UCD.

UCI

UCM

UCD

21 Invalid character(s) 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.

UCI

UCM

UCD

22 Invalid service

character(s)

The service character(s) used in the interchange is not a valid

service character as according to this document

UCI

UCM

UCD

23 Unknown

interchange sender

The Interchange sender (S002) is unknown. UCI

26 Duplicate detected 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

UCI

28 Invalid control

reference

The control reference in UNB/UNH does not match the one in

UNZ/UNT

UCI

UCM

Page 108: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 108 of 197

29 Invalid control

count

The number of messages/ segments does not match the number

given in UNZ/UNT.

UCI

UCM

32 Lower level empty The interchange did not contain any messages. UCI

33 Invalid occurrence

outside message

An invalid segment or data element occurred in the interchange,

between messages. Rejection is reported at the level above.

UCI

35 Too many

repetitions

Too many occurrences of a segment or entity. UCS

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)

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.

UCD

38 Missing digit in

front of decimal

sign

Notification that a decimal sign is not preceded by one or more

digits.

UCD

39 Element too long

(length constraint)

Notification that the length of the element received exceeded the

maximum length specified.

UCD

40 Element too short

(length constraint)

Notification that the length of an element received is shorter than

the minimum length specified.

UCD

List 27 Flag

Details: Used for attributes that can have a positive or negative value.

A Transit Business code maintained in CS/RD.

Code Value

0 NO

1 YES

List 31 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 Value

T- Mixed consignment of T1 and T2 goods

T1 Goods moving under external Community transit procedure

T2 Goods moving under internal Community transit procedure

T2F Goods moving under internal Community transit procedure between different fiscal

territories

T2SM see T2 + San Marino

TIR TIR

List 32 Action Codes

Details: Used for attribute MESSAGE ERRORS.Action taken by recipient.

Code Value

4 This level and lower levels rejected

7 This level acknowledged and next lower level acknowledged if not explicitly rejected

Page 109: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 109 of 197

List 33 Interchange Service Segment Tags

Details: Used to denote the Interchange Segment in which an error was detected.

Code Value

UNB Interchange header segment

UNZ Interchange trailer segment

List 34 Message Service Segment Tags

Details: Used to denote the Message Segment in which an error was detected.

Code Value

UNH Message header segment

UNT Message trailer segment

List 35 Version Numbers

Details:

Code Value

D Draft UN/EDIFACT directory

List 36 Release Numbers

Details:

Code Value

96B UN/EDIFACT 96B directory

List 37 Controlling Agencies

Details:

Code Value

UN United Nations

List 39 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 Value

10600 Negotiable Bill of lading 'to order blank endorsed'

DG0 “Export from ‘1 EFTA country’ subject to restriction” OR “Export from ‘EC’ subject

to restriction”

DG1 “Export from ‘1 EFTA country’ subject to duties” OR “Export from ‘EC’ subject to

duties”

DG2 EXPORT

Page 110: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 110 of 197

List 41 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 Value

DI Differences (Attribute incorrect)

NE New Entry

NP Not Present

OR Original (technical code)

OT Other

List 47 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 Value Remark

A1 Satisfactory Dep. & Des.

A2 Considered Satisfactory Dep. & Des.

A3 Simplified Procedure Dep.

A5 Charges collected Des.

B1 Not satisfactory Dep. & Des.

List 49 Functional Error Codes

Code Value

12 Incorrect (code) value

Value of an element in a message is outside the predefined domain or not part of the

applicable code list.

13 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.

14 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.

15 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

19 Invalid decimal notation

The decimal notation is not according to the decimal formatting standards UCI,

UCM, UCD

26 Duplicate detected

The same interchange is received again. Duplication is detected by reception of an

interchange reference that has already been received.

35 Too many repetitions

Too many occurrences of a segment or entity.

37 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

Page 111: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 111 of 197

Code Value

38 Missing digit in front of decimal sign

Notification that a decimal sign is not preceded by one or more digits.

39 Element too long (length constraint)

Notification that the length of the element received exceeded the maximum length

specified.

40 Element too short (length constraint)

Notification that the length of an element received is shorter than the minimum

length specified.

90 Unknown MRN

The MRN of the received message is not known, whereas it is expected to be

known.

91 Duplicate MRN

The MRN of the received message is already known and is therefore not unique

according to the specified rules.

92 Message out of sequence

The message can not be processed, because the receiver is not in a proper state.

93 Invalid MRN

The structure of the MRN does not conform to the specifications given in Appendix

G.1

List 51 Guarantee Type codes

Code Value

0 Guarantee waiver

1 Comprehensive Guarantee

2 Individual Guarantee (by guarantor)

3 Cash Deposit Guarantee

4 Flat-rate voucher

5 Guarantee waiver, secured amount not greater than 500 EUR

6 Guarantee waived

7 Guarantee not required for the journey between OoDep and OoTra

8 Guarantee not required for certain public bodies

9 Individual Guarantee with multiple usage

A Guarantee waiver by agreement

B Movements carried under the TIR convention

List 52 Invalid Guarantee Reason codes

Code Value

G01 Does not exist

G02 Guarantee exists, but not valid

G03 Access code not valid

G04 Principal of Guarantee is not equal to Principal of Declaration

G05 Individual guarantee voucher already used

G06 Use restriction : No suspended goods

G07 Use restriction : NO sensitive goods

G08 Not valid for Country of Tra/Des

G09 Reference/Guarantee amounts NOT sufficient

G10 Individual guarantee by Guarantor already used

G11 Customs Office of Departure/Customs Office of Destination does not correspond

(Guarantee type ‘2’)

Page 112: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 112 of 197

Code Value

G12 Declared Commodity code # Commodity code in guarantee

List 60 Message Types

Detail: Used for attribute MESSAGE ERRORS.Association assigned code and MESSAGE.Message

Type.

For CUSDEC

Code Value

GB007A Arrival notification

GB014A Declaration cancellation request

GB015B Declaration data

GB029B Release for transit

GB043A Unloading permission

GB044A Unloading remarks

GB045A Write-off notification

GB051B No release for transit

GB055A Guarantee not valid

for CUSRES

Code Value

GB009A Cancellation decision

GB025A Goods release notification

GB028A MRN allocated

GB060A Control decision notification

GB928A Positive Acknowledgement

for FUNACK (CUSRES functional errors)

Code Value

GB008A Arrival notification rejection

GB016A Declaration rejected

GB058A Unloading remarks rejection

CC917A XML NCK

for CONTRL (EDIFACT errors)

Code Value

CD907A EDIFACT NACK

Page 113: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 113 of 197

List 63 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 Value

AD Andorra

CH Switzerland

IS Iceland

LI

MK

Liechtenstein

Macedonia

NO Norway

SJ Svalbard and Jan Mayen

SM San Marino

TR Turkey

List 64 Sensitive Goods Code

Details: Used as verification for the additional identifier

Code Value

1

List 65 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 Value

CS Czech

HR Croatian

HU Hungarian

PL Polish

RO Romanian

SK Slovakian

SL Slovenian

List 66 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 Value

EL Greek (Ellinika)

List 70 Country Codes (Customs Office Lists)

Page 114: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 114 of 197

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

BE Belgium

BG Bulgaria

CH Switzerland - Including the German territory of Büsingen and the Italian municipality

of Campione d’Italia

CY Cyprus

CZ Czech Republic

DE Germany - Including the island of Helgoland; excluding the territory of Büsingen

DK Denmark

EE Estonia

ES Spain - Including Balearic Islands and Canary Islands; excluding Ceuta and Melilla

FI Finland - Including Åland Islands

FR France - Including Monaco and the French overseas departments (Réunion,

Guadeloupe, Martinique and French Guiana)

GB United Kingdom - Great Britain, Northern Ireland, Channel Islands and Isle of Man

GR Greece

HR Croatia

HU Hungary

IE Ireland

IS Iceland

IT Italy - Including Livigno

LT Lithuania

LU Luxembourg

LV

MK

Latvia

Macedonia

MT Malta

NL Netherlands

NO Norway - Including Svalbard Archipelago and Jan Mayen Island

PL Poland

PT Portugal - Including Azores and Madeira

RO Romania

SE Sweden

SI Slovenia

SK Slovakia

SM San Marino

TR Turkey

List 71 Country Codes (Guarantee Management – non EC)

Details: Used to verify Country Code in field ‘Validity Limitation Non EC.Not valid for other

contracting parties’.

Code Value

AD Andorra

CH Switzerland

Page 115: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 115 of 197

IS

MK

Iceland

Macedonia

NO Norway

SM San Marino

TR Turkey

List 80 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 Value

EE Estonian

LT Lithuanian

LV Latvian

List 85 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 Value

BG Bulgarian

List 96 Specific Circumstance Indicator

Details: Codes pertaining to regulation 1875/2006

Code Value

A Postal and express consignments

B Ship and aircraft supplies

C Road mode of transport

D Rail mode of transport

E Authorised economic operators

List 100 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

MES MESSAGE

HEA ---HEADER

PC1 ---(PRINCIPAL) TRADER

CO1 ---(CONSIGNOR) TRADER

Page 116: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 116 of 197

Code Value

CE1 ---(CONSIGNEE) TRADER

TRA ---(AUTHORISED CONSIGNEE) TRADER

TRD ---(DESTINATION) TRADER

GTR ---GUARANTOR

EPT ---(DEPARTURE) CUSTOMS OFFICE

RES ---(PRESENTATION OFFICE) CUSTOMS OFFICE

RNS ---(TRANSIT) CUSTOMS OFFICE

EST ---(DESTINATION) CUSTOMS OFFICE

OCP ---(RETURN COPIES) CUSTOMS OFFICE

ITI ---ITINERARY

SCR ---SPECIFIC CIRCUMSTANCE INDICATOR,

UNG ---UN DANGEROUS GOODS CODE,

TMG ---TRANSPORT CHARGES METHOD OF PAYMENT

CTC ---(CARRIER) TRADER,

COS ---(CONSIGNOR-SECURITY) TRADER

TSC ---(CONSIGNEE-SECURITY) TRADER

CL1 ---CTL_CONTROL

ERS ---CONTROL RESULT

REM ---UNLOADING REMARK

TOC ---RESULTS OF CONTROL

REP ---REPRESENTATIVE

SLI ---SEALS INFO

SID ------SEALS ID

GUA ---GUARANTEE

REF ------GUARANTEE REFERENCE

IGR ---------INVALID GUARANTEE REASON

VLE ---------VALIDITY LIMITATION EC

LIM ---------VALIDITY LIMITATION NON EC

TEV ---EN ROUTE EVENT

CTL ------CTL_CONTROL

INC ------INCIDENT

SF1 ------SEALS INFO

SI1 ---------SEALS ID

SHP ------TRANSHIPMENT

NR3 ---------CONTAINERS

GDS ---GOODS ITEM

AR2 ------PREVIOUS ADMINISTRATIVE REFERENCES

DC2 ------PRODUCED DOCUMENTS/CERTIFICATES

MT2 ------SPECIAL MENTIONS

ROC ------RESULTS OF CONTROL

CO2 ------(CONSIGNOR) TRADER

CE2 ------(CONSIGNEE) TRADER

Page 117: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 117 of 197

Code Value

NR2 ------CONTAINERS

GS2 ------PACKAGES

SD2 ------SGI CODES

CON ------(CONSIGNOR-SECURITY) TRADER

RAD ------(CONSIGNEE-SECURITY) TRADER

INT ---INTERCHANGE ERRORS

MER ---MESSAGE ERRORS

SER ------SEGMENT ERRORS

DER ---------DATA ELEMENT ERRORS

ER1 ---FUNCTIONAL ERROR

List 101 UN Dangerous Goods Code

Details: Codes from the UNDG (United Nations Dangerous Goods list) shall be used. e.g.

Code Value

0094 Flash Powder

List 116 Transport Charges – Method of Payment

Details: Codes pertaining to regulation 1875/2006. Maintained in CS/RD.

Code Value

A Payment in cash

B Payment by credit card

C Payment by cheque

D Other

H Electronic credit transfer

Y Account holder with carrier

Z Not pre-paid

List 117 Security Indicator

Details:

Code Value

1 Declaration used for safety and security purposes

List 137 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 Value

TR Turkish

Page 118: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

09/06/2015 Version 3.9.2

Page 118 of 197

List 138 Country Codes (Functioning as ‘Contracting parties to the Convention on Common

Transit’)

Details: CL138 = CL63 – SJ –AD –SM + EU

Code Value

CH Switzerland

EU European Union

IS Iceland

LI

MK

Liechtenstein

Macedonia

NO Norway

TR Turkey

List 139 Country Codes (Functioning as ‘non-EU common transit countries)

Details: CL139 = CL63 – AD – SM - SJ

Code Value

CH Switzerland

IS Iceland

LI

MK

Liechtenstein

Macedonia

NO Norway

TR Turkey

Page 119: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 119 of 197

APPENDIX G – REFERENCE NUMBERS

G.1. Movement Reference Number (MRN)

Field Content Field type Examples

1 Last two digits of year of formal acceptance of transit

movement (YY)

Numeric 2 03

2 Identifier of the country from which movement

originates. (ISO alpha 2 country code; see CNT)

Alphabetic 2 GB

3 UK Transit office code Numeric 6 000060

4 Unique identifier for transit movement per year and

country

Alphanumeric 7 8890123

5 Check digit 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)

Numeric 2 97

2 Identifier of the country where the guarantee is lodged.

(ISO alpha 2 country code; see CNT).

Alphabetic 2 IT

3 Unique identifier for the acceptance given by the

Office of Guarantee per year and country

Alphanumeric 12 1234AB788966

4 Check digit Alphanumeric 1 8

5 Identifier of the NCTS flat-rate voucher (1 letter + 6

digits) or NULL for other guarantee types

Alphanumeric 7 A001017

Field 1, and 2 as explained above.

Field 3 has to be filled with a unique identifier per year and country for the acceptance1 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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 120 of 197

G.3. Customs Office Reference Number (COR)

Field Content Field type Examples 1 Identifier of the country to which the Customs Office

belongs (ISO alpha 2 country code; see CNT)

Alphabetic 2 IT

2 National number of the Customs Office 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 Content Field type Examples 1 HS6 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 Field type Examples 1 HS6 (see COM) Numeric 6

(left aligned)

010290

2 Additional code for sensitive goods Numeric up to 2 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 Examples 1 Trader Identifier Alphanumeric

2 Numbering series Numeric

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 121 of 197

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).

Heading,

column 2

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).

Body,

column 1

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.

Body,

column 2

Qualifier value to be used (shown between apostrophes, e.g. ‘14’)

qualifier description (in brackets); OR

attribute name from FMS, followed by format.

Table 4: Segment Content Description

Page 122: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 122 of 197

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 (Valid). 123456789.123 (Invalid - too many digits before decimal point and too many digits in

total).

12345678.1234 (Invalid - too many digits after decimal point and too many digits in total).

0123 (Invalid - leading zero not permitted).

+123 (Invalid - plus sign not allowed).

-123 (Invalid - minus sign not allowed).

1,234 (Invalid - triad separator not allowed).

Page 123: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 123 of 197

.3 (Invalid - no digit before decimal point).

12345. (Invalid - no digit after decimal point).

0.3 (Valid).

1.3E1 (Invalid - only digits and decimal point allowed).

12345678901 (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 Position Change Reason

CUSDEC GIR[131].C206#1 status from M to C SGI.CODES.Sensitive Quantity

CUSDEC FTX[11&93].C108.4440 status from M to C Pointer to the attribute

CUSDEC PAC[14] repeat factor 99 GUARANTEE - GUARANTEE REFERENCE (99x)

CUSDEC PAC[14] .C402.7077 status from M to C Guarantee Access Code

CUSDEC PAC[14].C402.7077 an..3 to an..4 Guarantee Access Code and Seals Number

CUSDEC PAC[14 &

99].C402.7064

status from M to C Number of Packages Guarantee reference number

CUSDEC PCI[15].C210.7102 status from M to C Endorsement Date

CUSDEC CST[92] repeat factor 9999 mapping of GOODS ITEM (9999)

CUSDEC CST.FTX[93] repeat factor 999 mapping of GOODS ITEM - RESULTS OF CONTROL

Page 124: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 124 of 197

(199x)

CUSDEC PAC[99] repeat factor 99 GOODS ITEM - PACKAGES (99x)

CUSDEC DOC[111] repeat factor 999 GOODS ITEM - PREVIOUS ADMINISTRATIVE

REFERENCES (9x)

CUSDEC TOD[115] repeat factor 99 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 Element Segment Position

CUSDEC EN ROUTE EVENT PAC 14

CUSDEC VALIDITY LIMITATION PCI 15

CUSDEC TRANSHIPMENT FTX 16

CUSDEC TRANSHIPMENT PCI 15

CUSDEC INCIDENT FTX 16

CUSDEC INCIDENT PCI 15

CUSDEC CONTAINERS PCI 15

CUSDEC GUARANTEE REFERENCE PAC 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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 125 of 197

H.7. CUSDEC (Core) Segment Table

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

UNB[0], INTERCHANGE HEADER, M, 1 x | message, R, 1x

S001 SYNTAX IDENTIFIER M | 0001 Syntax identifier M a4 | ’UNOC’ 0002 Syntax version number M n1 | ’3’

| S002 INTERCHANGE SENDER M | 0004 Sender identification M an..35 | Message sender (an..35) 0007 Identification code qualifier C an..4 | - 0008 Address for reverse routing C an..14 | -

| S003 INTERCHANGE RECIPIENT M | 0010 Recipient identification M an..35 | ’NCTS’ 0007 Identification code qualifier C an..4 | - 0014 Routing address C an..14 | - | S004 DATE/TIME OF PREPARATION M | 0017 Date M n6 | Date of preparation (n6) (YYMMDD) 0019 Time M n4 | Time of preparation (n4) (HHMM) | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14) | S005 RECIPIENTS REFERENCE, PASSWORD C | 0022 Recipient's reference/password C an..14 | - 0025 Recipient's reference/password qualifier C an2 | - | 0026 APPLICATION REFERENCE M an..14 | ’NCTS’ | 0029 PROCESSING PRIORITY CODE C a1 | Priority (a1) | 0031 ACKNOWLEDGEMENT REQUEST C n1 | Acknowledgement request (n1)

| 0032 COMMUNICATIONS AGREEMENT ID. C an..35 | Communications agreement id (an..35) | 0035 TEST INDICATOR C n1 | Test indicator (n1)

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

UNH[1], MESSAGE HEADER, M, 1 x | message, R, 1x

0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14) | S009 MESSAGE IDENTIFIER M | 0065 Message type M an..6 | 'CUSDEC' 0052 Message version number M an..3 | 'D' 0054 Message release number M an..3 | '96B' 0051 CONTROLLING AGENCY M an..2 | 'UN' 0057 Association assigned code M an..6 | Message type (an..6) e.g. GB015B | 0068 COMMON ACCESS REFERENCE C an..35 | Common access reference (an..35) | S010 STATUS OF THE TRANSFER C | 0070 Sequence of transfers M n..2 | - 0073 First and last transfer C a1 | -

Page 126: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 126 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

BGM[2], BEGINNING OF MESSAGE, M, 1 x | header, R, 1x

C002 DOCUMENT/MESSAGE NAME C | 1001 Document/message name, coded C an..3 | -) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 1000 Document/message name C an..35 | Type of declaration (an..9) | C106 DOCUMENT/MESSAGE IDENTIFICATION C | 1004 Document/message number C an..35 | Document/reference number (an..21) 1056 Version C an..9 | - 1060 Revision number C an..6 | - | 1225 MESSAGE FUNCTION, CODED C an..3 | - | 4343 RESPONSE TYPE, CODED C an..3 | -

Page 127: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 127 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '9' (= Place/port of loading) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Place of loading, code (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '14' (= Location of goods) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Agreed location of goods, code (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Agreed location of goods (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | Authorised location of goods, code (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | Agreed location of goods LNG (a2)

Page 128: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 128 of 197

CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '20' (= Place of ultimate destination of goods) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Arrival agreed location code (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Arrival agreed location of goods (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | Arrival agreed location of goods LNG (a2)

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | (presentation office) customs office, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '22' (= Customs office of clearance) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '26' (= City) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Customs sub place (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

Page 129: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 129 of 197

CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '35' (= Country of exportation/despatch) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Country of dispatch/export code (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '36' (= Country of ultimate destination) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Country of destination code (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | (destination) customs office, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '45' (= Customs Office of Destination (transit)) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

Page 130: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 130 of 197

CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | (transit) customs office, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '50' (=Customs office of transit) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | Arrival time (n12) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '58' (=Full track loading or unloading) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Place of unloading LNG (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Place of unloading, code (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '60' (= Place of arrival) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Arrival notification place (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | Arrival notification place LNG (a2)

Page 131: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 131 of 197

CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, C, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '84' (= Transport contract place of acceptance) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Arrival authorised location of goods (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | - CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | header, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '91' (= Place of document issue) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Declaration place (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | Declaration place LNG (a2)

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | (departure) customs office, D, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '118' (= Customs Office of Departure) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

Page 132: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 132 of 197

CUSDEC (Core) Segment Table ......

LOC[4], PLACE/LOCATION IDENTIFICATION, C, 99 x | (return copies) customs office, O, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '168' (= Physical place of return of item) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | Customs office name (an..35) | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | Country (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | Street and number (an..35) | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | Postal code (an..9) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | City (an..35) | 5479 RELATION, CODED C an..3 | NAD LNG (a2)

Page 133: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 133 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

DTM[5], DATE/TIME/PERIOD, C, 15 x | control result, D, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '9' (= Processing date/time) 2380 Date/time/period C an..35 | Control date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '132' (= Arrival date/time, estimated) 2380 Date/time/period C an..35 | Arrival notification date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '137' (= Document/message date/time) 2380 Date/time/period C an..35 | Declaration date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, D, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '148' (= Acceptance date of Goods declaration (Customs)) 2380 Date/time/period C an..35 | Acceptance date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '182' (= Issue date) 2380 Date/time/period C an..35 | Issuing date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '204' (=Release date) 2380 Date/time/period C an..35 | Write-off date (n8) 2379 Date/time/period format qualifier C an..3 | -

Page 134: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 134 of 197

CUSDEC (Core) Segment Table ......

DTM[5], DATE/TIME/PERIOD, C, 15 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '318' (=Request date) 2380 Date/time/period C an..35 | Date of cancellation request (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[5], DATE/TIME/PERIOD, C, 15 x | control result, O, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '268' (= Transit time/limits) 2380 Date/time/period C an..35 | Date limit (n8) 2379 Date/time/period format qualifier C an..3 | -

Page 135: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 135 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

GIS[6], GENERAL INDICATOR, C, 25 x | header, R, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | NCTS return copy (n1) 1131 Code list qualifier C an..3 | '62' (= Requirements indicator) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

GIS[6], GENERAL INDICATOR, C, 25 x | ctl_control, O, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Continue unloading (n1) 1131 Code list qualifier C an..3 | '63' (= Handling action) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

GIS[6], GENERAL INDICATOR, C, 25 x | header, D, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Containerised indicator (n1) 1131 Code list qualifier C an..3 | '109' (= Customs indicator) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

GIS[6], GENERAL INDICATOR, C, 25 x | header, R, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Simplified procedure flag (n1) 1131 Code list qualifier C an..3 | '119' (= Customs simplified procedure) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

GIS[6], GENERAL INDICATOR, C, 25 x | header, O, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Security (n1) 1131 Code list qualifier C an..3 | '187' (= Suppiler’s stock turnover) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

Page 136: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 136 of 197

CUSDEC (Core) Segment Table ......

FII[7], FINANCIAL INSTITUTION INFORMATION, C, 1 x | header, C, 1x

3035 PARTY QUALIFIER M an..3 | ‘XX’ (= no heading) C078 ACCOUNT IDENTIFICATION C | 3194 Account holder number C an..35 | - 3192 Account holder name C an..35 | - 3192 Account holder name C an..35 | - 6345 Currency, coded C an..3 | - C088 INSTITUTION IDENTIFICATION C | - 3433 Insitution name identification C an..11 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3434 Insitution branch number C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3432 Insitution name C an..70 | - 3436 Insitution branch place C an..70 | Commercial Reference Number (an..70) 3207 COUNTRY, CODED C an..3 | -

Page 137: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 137 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

MEA[8], MEASUREMENTS, C, 5 x | header, D 1x

6311 MEASUREMENT APPLICATION QUALIFIER M an..3 | 'WT' (= Weights) | C502 MEASUREMENT DETAILS C | 6313 Measurement dimension, coded C an..3 | ‘AAD’ (=Total gross mass) 6321 Measurement significance, coded C an..3 | - 6155 Measurement attribute identification C an..17 | - 6154 Measurement attribute C an..70 | - | C174 VALUE/RANGE C | 6411 Measure unit qualifier M an..3 | ‘KGM’ (= Kilogram) 6314 Measurement value C an..18 | Total gross mass (n..11,3) 6162 Range minimum C n..18 | - 6152 Range maximum C n..18 | - 6432 Significant digits C n..2 | - | 7383 SURFACE/LAYER INDICATOR, CODED C an..3 | -

EQD[9], EQUIPMENT DETAILS, C, 999 x | itinerary, C, 99x

8053 EQUIPMENT QUALIFIER M an..3 | 'CH' (= chassis) | C237 EQUIPMENT IDENTIFICATION C | 8260 Equipment identification number C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3207 Country, coded C an..3 | country of routing code (a2) | C224 EQUIPMENT SIZE AND TYPE C | 8155 Equipment size and type identification C an..10 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8154 Equipment size and type C an..35 | - | 8077 EQUIPMENT SUPPLIER, CODED C an..3 | - | 8249 EQUIPMENT STATUS, CODED C an..3 | - | 8169 FULL/EMPTY INDICATOR, CODED C an..3 | -

Page 138: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 138 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

SEL[10], SEAL NUMBER, C, 999 x | seals id, O, 9999x

9308 SEAL NUMBER M an..10 | ’0’ C215 SEAL ISSUER C | 9303 Sealing party, coded C an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 9302 Sealing party C an..35 | Seals identity (an..20) | 4517 SEAL CONDITION, CODED C an..3 | Seals identity LNG (a2)

Page 139: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 139 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

FTX[11], FREE TEXT, C, 99 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABL' (= Government information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL M | 4440 Free text C an..70 | Binding itinerary (n1) 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

FTX[11], FREE TEXT, C, 99 x | header, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABQ' (= Method of issuance) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | No release motivation (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | No release motivation LNG (a2)

FTX[11], FREE TEXT, C, 99 x | results of control, C, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABV' (= Acceptance terms additional) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Control indicator (an2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Pointer to the attribute (an..35) 4440 Free text C an..70 | Description (an..140) 4440 Free text C an..70 | - continued 70- 4440 Free text C an..70 | Corrected value (an..27) 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Description LNG (a2)

Page 140: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 140 of 197

CUSDEC (Core) Segment Table ......

FTX[11], FREE TEXT, C, 99 x | header, D, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACB' (= Additional information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Dialog language indicator at departure/destination

(a2)

FTX[11], FREE TEXT, C, 99 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACD' (= Reason) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Cancellation reason (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Cancellation reason LNG (a2)

FTX[11], FREE TEXT, C, 99 x | representative, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACP' (= Statistical title) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Representative capacity (an..35) 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Representative capacity LNG (a2)

Page 141: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 141 of 197

CUSDEC (Core) Segment Table ......

FTX[11], FREE TEXT, C, 99 x | header, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACR' (= Unexpected stops information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Conveyance reference number (an..35) 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

Page 142: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 142 of 197

CUSDEC (Core) Segment Table ......

FTX[11], FREE TEXT, C, 99 x | control result, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ADO' (= Type of survey question) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Control result code (an2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

FTX[11], FREE TEXT, C, 99 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ALL' (= All documents) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | NCTS accompanying document language code (a2)

FTX[11], FREE TEXT, C, 99 x | header, C, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'PAI' (= Payment instructions information) | 4453 TEXT FUNCTION, CODED C an..3 | Transport charges/method of payment (a1) | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

Page 143: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 143 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF[12], REFERENCE, C, 99 x | header, R, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABE' (= Declarant's reference number) 1154 Reference number C an..35 | Reference number (an..22) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

RFF[12], REFERENCE, C, 99 x | guarantee, R, 9x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABL' (= Customs guarantee number) 1154 Reference number C an..35 | Guarantee type (an1) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(ABL).PAC[14], PACKAGE, C, 99 x | guarantee - guarantee reference, D, 99x

7224 NUMBER OF PACKAGES C n..8 | '1' (= Guarantee reference) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | - 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | Access code (an4 – UPPER CASE)

7064 Type of packages C an..35 | Guarantee reference number (GRN) (an24 – UPPER

CASE) 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | Other guarantee reference (an..35) 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

Page 144: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 144 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(ABL).PAC(001).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | guarantee - guarantee reference - validity limitation ec, O, 1x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '19' (= Legal requirements) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Not valid for EC (n1) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

RFF(ABL).PAC(001).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | guarantee - guarantee reference - validity limitation non ec, O, 99x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '28' (= Mark free text) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Not valid for other contracting parties (a2) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

Page 145: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 145 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF[12], REFERENCE, C, 99 x | header, C, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'AMJ' (= Payment plan reference) 1154 Reference number C an..35 | Specific circumstance indicator (a1) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

RFF[12], REFERENCE, C, 99 x | en route event, O, 9x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'AIV' (= Event reference number) 1154 Reference number C an..35 | Place (an..35) 1156 Line number C an..6 | Place LNG (a2) 4000 Reference version number C an..35 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).DTM[13], DATE/TIME/PERIOD, C, 1 x | en route event - ctl_control, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '311' (= On) 2380 Date/time/period C an..35 | Already in NCTS (n1) 2379 Date/time/period format qualifier C an..3 | -

Page 146: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 146 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC[14], PACKAGE, C, 99 x | en route event, O, 9x

7224 NUMBER OF PACKAGES C n..8 | '2' (= En route event) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | - 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | Country code (a2) 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

RFF(AIV).PAC[14], PACKAGE, C, 99 x | en route event - incident, O, 1x

7224 NUMBER OF PACKAGES C n..8 | '3' (= Incident) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | Incident flag (n1) 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

Page 147: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 147 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(003).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | en route event - incident, O, 1x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '18' (= Carrier's instructions) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Endorsement date (n8) 7102 Shipping marks C an..35 | Endorsement authority (an..35) 7102 Shipping marks C an..35 | Endorsement authority LNG (a2) 7102 Shipping marks C an..35 | Endorsement place (an..35) 7102 Shipping marks C an..35 | Endorsement place LNG (a2) 7102 Shipping marks C an..35 | Endorsement country (a2) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(003).PCI(18).FTX[16], FREE TEXT, C, 99 x | en route event - incident, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABM' (= Onward routing information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Incident information (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Incident information LNG (a2)

Page 148: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 148 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC[14], PACKAGE, C, 99 x | en route event - seals info, O, 1x

7224 NUMBER OF PACKAGES C n..8 | '4' (= Seals info) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | - 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | Seals number (n..4) 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(004).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | en route event - seals info - seals id, R, 9999x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '21' (= Line item only) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Seals identity (an..20) 7102 Shipping marks C an..35 | Seals identity LNG (a2) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

Page 149: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 149 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC[14], PACKAGE, C, 99 x | en route event - transhipment, O, 1x

7224 NUMBER OF PACKAGES C n..8 | '5' (= Transhipment) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | - 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | New transport means nationality (a2) | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(005).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | en route event - transhipment, O, 1x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '23' (= Entire shipment) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Endorsement date (n8) 7102 Shipping marks C an..35 | Endorsement authority (an..35) 7102 Shipping marks C an..35 | Endorsement authority LNG (a2) 7102 Shipping marks C an..35 | Endorsement place (an..35) 7102 Shipping marks C an..35 | Endorsement place LNG (a2) 7102 Shipping marks C an..35 | Endorsement country (a2) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

Page 150: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 150 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(005).PCI(23).FTX[16], FREE TEXT, C, 99 x | en route event - transhipment, O, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'TRA' (= Transportation information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | New transport means identity (an..27) 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | New transport means identity LNG (a2)

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(AIV).PAC(005).PCI[15], PACKAGE IDENTIFICATION, C, 999 x | en route event - transhipment - containers, O, 99x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '30' (= Mark serial shipping container code) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Container number (an..17) 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | - | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

Page 151: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 151 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF[12], REFERENCE, C, 99 x | header, R, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'LAN' (= Loading authorization number) 1154 Reference number C an..35 | Authorisation id (an..17) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

RFF[12], REFERENCE, C, 99 x | guarantee reference, R, 99x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABK' (=Transit (onward carriage) guarantee (bond)

number) 1154 Reference number C an..35 | - 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

RFF(ABK).PAC[14], PACKAGE, C, 99 x | guarantee reference, R, 1x

7224 NUMBER OF PACKAGES C n..8 | - | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | ‘1’ (= Guarantee reference) 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | - 7064 Type of packages C an..35 | Guarantee reference number (GRN) (an..24) 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | - 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

Page 152: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 152 of 197

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 | guarantee reference – invalid guarantee reason, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'AUT' (= Authentication) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Invalid guarantee reason code (an..3) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Invalid guarantee reason (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Invalid guarantee reason LNG (a2)

Page 153: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 153 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TDT[17], DETAILS OF TRANSPORT, C, 5 x | header, D, 1x

8051 TRANSPORT STAGE QUALIFIER M an..3 | '1' (= Inland transport) | 8028 CONVEYANCE REFERENCE NUMBER C an..17 | - | C220 MODE OF TRANSPORT C | 8067 Mode of transport, coded C an..3 | Inland transport mode (n..2) 8066 Mode of transport C an..17 | - | C228 TRANSPORT MEANS C | 8179 Type of means of transport identification C an..8 | - 8178 Type of means of transport C an..17 | - | C040 CARRIER C | 3127 Carrier identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3128 Carrier name C an..35 | - | 8101 TRANSIT DIRECTION, CODED C an..3 | - | C401 EXCESS TRANSPORTATION INFORMATION C | 8457 Excess transportation reason, coded M an..3 | - 8459 Excess transportation responsibility, coded M an..3 | - 7130 Customer authorization number C an..17 | - | C222 TRANSPORT IDENTIFICATION C | 8213 Id. of means of transport identification C an..9 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | - 8453 Nationality of means of transport, coded C an..3 | - | 8281 TRANSPORT OWNERSHIP, CODED C an..3 | -

Page 154: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 154 of 197

CUSDEC (Core) Segment Table ......

TDT[17], DETAILS OF TRANSPORT, C, 5 x | header, D, 1x

8051 TRANSPORT STAGE QUALIFIER M an..3 | '11' (= At border) | 8028 CONVEYANCE REFERENCE NUMBER C an..17 | - | C220 MODE OF TRANSPORT C | 8067 Mode of transport, coded C an..3 | Transport mode at border (n..2) 8066 Mode of transport C an..17 | - | C228 TRANSPORT MEANS C | 8179 Type of means of transport identification C an..8 | Type of means of transport crossing border (n..2) 8178 Type of means of transport C an..17 | - | C040 CARRIER C | 3127 Carrier identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3128 Carrier name C an..35 | - | 8101 TRANSIT DIRECTION, CODED C an..3 | - | C401 EXCESS TRANSPORTATION INFORMATION C | 8457 Excess transportation reason, coded M an..3 | - 8459 Excess transportation responsibility, coded M an..3 | - 7130 Customer authorization number C an..17 | - | C222 TRANSPORT IDENTIFICATION C | 8213 Id. of means of transport identification C an..9 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | Identity of means of transport crossing border

(O,an..27) 8453 Nationality of means of transport, coded C an..3 | Nationality of means of transport crossing border

(O,a2) | 8281 TRANSPORT OWNERSHIP, CODED C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ █ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TDT(11).TPL[18], TRANSPORT PLACEMENT, C, 1 x | header, O, 1x

C222 TRANSPORT IDENTIFICATION M | 8213 Id. of means of transport identification C an..9 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | - 8453 Nationality of means of transport, coded C an..3 | Identity of means of transport crossing border LNG

(a2)

Page 155: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 155 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TDT[17], DETAILS OF TRANSPORT, C, 5 x | header, D, 1x

8051 TRANSPORT STAGE QUALIFIER M an..3 | '12' (= At departure) | 8028 CONVEYANCE REFERENCE NUMBER C an..17 | - | C220 MODE OF TRANSPORT C | 8067 Mode of transport, coded C an..3 | - 8066 Mode of transport C an..17 | - | C228 TRANSPORT MEANS C | 8179 Type of means of transport identification C an..8 | - 8178 Type of means of transport C an..17 | - | C040 CARRIER C | 3127 Carrier identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3128 Carrier name C an..35 | - | 8101 TRANSIT DIRECTION, CODED C an..3 | - | C401 EXCESS TRANSPORTATION INFORMATION C | 8457 Excess transportation reason, coded M an..3 | - 8459 Excess transportation responsibility, coded M an..3 | - 7130 Customer authorization number C an..17 | - | C222 TRANSPORT IDENTIFICATION C | 8213 Id. of means of transport identification C an..9 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | Identity of means of transport at departure (an..2) 8453 Nationality of means of transport, coded C an..3 | Nationality of means of transport at departure (a2)

| | 8281 TRANSPORT OWNERSHIP, CODED C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ █ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TDT(12).TPL[18], TRANSPORT PLACEMENT, C, 1 x | header, D, 1x

C222 TRANSPORT IDENTIFICATION M | 8213 Id. of means of transport identification C an..9 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | - 8453 Nationality of means of transport, coded C an..3 | Identity of means of transport at departure LNG (a2)

Page 156: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 156 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

NAD[22], NAME AND ADDRESS, C, 10 x | (principal) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'AF' (= Transit principal) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | Holder ID TIR (an..17) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 157: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 157 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | representative, O, 1x

3035 PARTY QUALIFIER M an..3 | 'AH' (= Transit principal's agent/representative) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 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 | -

NAD[22], NAME AND ADDRESS, C, 10 x | (consignee) trader, O, 1x

3035 PARTY QUALIFIER M an..3 | 'CN' (= Consignee) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 158: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 158 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | (destination) trader, R, 1x

3035 PARTY QUALIFIER M an..3 | 'CPD' (= Charges payer at destination) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 159: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 159 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | (consignor) trader, O, 1x

3035 PARTY QUALIFIER M an..3 | 'CZ' (= Consignor) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

NAD[22], NAME AND ADDRESS, C, 10 x | control result, O, 1x

3035 PARTY QUALIFIER M an..3 | 'EI' (= Controller, quality) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | Controlled by (an..35) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 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 | Controlled by LNG (a2)

Page 160: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 160 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | (carrier) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'GA' (= Road carrier) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

NAD[22], NAME AND ADDRESS, C, 10 x | (consignor-security) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'GL' (= Socially insured person) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 161: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 161 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | (consignee-security) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'UC' (= Ultimate consignee) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

NAD[22], NAME AND ADDRESS, C, 10 x | (authorised consignee) trader, O, 1x

3035 PARTY QUALIFIER M an..3 | 'TD' (= Party to receive technical documentation) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 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 | -

Page 162: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 162 of 197

CUSDEC (Core) Segment Table ......

NAD[22], NAME AND ADDRESS, C, 10 x | guarantor, O, 1x

3035 PARTY QUALIFIER M an..3 | 'SX' (= surety for additions) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 163: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 163 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TOD[26], TERMS OF DELIVERY OR TRANSPORT,C,1x | unloading remark, R, 1x

4055 TERMS OF DELIVERY OR TRANSPORT C an..3 | '5' (= Transport condition) FUNCTION, CODED | | 4215 TRANSPORT CHARGES METHOD C an..3 | Conform (n1) OF PAYMENT, CODED | | C100 TERMS OF DELIVERY OR TRANSPORT C | 4053 Terms of delivery or transport, coded C an..3 | Unloading completion (n1) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 4052 Terms of delivery or transport C an..70 | Unloading date (n8) 4052 Terms of delivery or transport C an..70 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ █ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

TOD(5).FTX[28], FREE TEXT, C, 1 x | unloading remark, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'CLR' (= Loading remarks) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | State of the seals OK (n1) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Unloading Remark (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Unloading Remark LNG (a2)

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

Page 164: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 164 of 197

UNS[32], SECTION CONTROL, M, 1 x | , R, 1x

0081 SECTION IDENTIFICATION M a1 | 'D' (= Header/detail section separation)

Page 165: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 165 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST[92], CUSTOMS STATUS OF GOODS, C, 9999 x | goods item, D, 9999x

1496 GOODS ITEM NUMBER C n..5 | Item number (n..5) | C246 CUSTOMS IDENTITY CODES C | 7361 Customs code identification M an..18 | Commodity code (taric code) (an..22) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C246 CUSTOMS IDENTITY CODES C | 7361 Customs code identification M an..18 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C246 CUSTOMS IDENTITY CODES C | 7361 Customs code identification M an..18 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C246 CUSTOMS IDENTITY CODES C | 7361 Customs code identification M an..18 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C246 CUSTOMS IDENTITY CODES C | 7361 Customs code identification M an..18 | Type of declaration (an..5) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ █─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).FTX[93], FREE TEXT, C, 999 x | goods item, D, 9999x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'AAA' (= Goods description) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Goods description (an..260) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 50 - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Goods description LNG (a2)

Page 166: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 166 of 197

CUSDEC (Core) Segment Table ......

CST(*).FTX[93], FREE TEXT, C, 999 x | goods item - results of control, D, 5x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABV' (= Acceptance terms additional) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Control indicator (an2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Pointer to the attribute (an..35) 4440 Free text O an..70 | Description (an..140) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Description LNG (a2)

CST(*).FTX[93], FREE TEXT, C, 999 x | goods item, D, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'IND' (= Commercial invoice item description) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Commercial reference number (an..70) 4440 Free text O an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

Page 167: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 167 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─█─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).LOC[94], PLACE/LOCATION IDENTIFICATION, C, 25 x | goods item, D, 999x

3227 PLACE/LOCATION QUALIFIER M an..3 | '35' (= Country of exportation/despatch) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Country of dispatch/export code (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

CST(*).LOC[94], PLACE/LOCATION IDENTIFICATION, C, 25 x | goods item, D, 999x

3227 PLACE/LOCATION QUALIFIER M an..3 | '36' (= Country of ultimate destination) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Country of destination code (a2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

Page 168: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 168 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─█─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).MEA[96], MEASUREMENTS, C, 20 x | goods item, O, 999x

6311 MEASUREMENT APPLICATION QUALIFIER M an..3 | 'WT' (= Weights) | C502 MEASUREMENT DETAILS C | 6313 Measurement dimension, coded C an..3 | ‘AAA’ (=Unit net weight) 6321 Measurement significance, coded C an..3 | - 6155 Measurement attribute identification C an..17 | - 6154 Measurement attribute C an..70 | - | C174 VALUE/RANGE C | 6411 Measure unit qualifier M an..3 | ‘KGM’ (= Kilogram) 6314 Measurement value C an..18 | Net mass (n..11,3) 6162 Range minimum C n..18 | - 6152 Range maximum C n..18 | - 6432 Significant digits C n..2 | - | 7383 SURFACE/LAYER INDICATOR, CODED C an..3 | -

CST(*).MEA[96], MEASUREMENTS, C, 20 x | goods item, O, 999x

6311 MEASUREMENT APPLICATION QUALIFIER M an..3 | 'WT' (= Weights) | C502 MEASUREMENT DETAILS C | 6313 Measurement dimension, coded C an..3 | ‘AAB’ (=Unit gross weight) 6321 Measurement significance, coded C an..3 | - 6155 Measurement attribute identification C an..17 | - 6154 Measurement attribute C an..70 | - | C174 VALUE/RANGE C | 6411 Measure unit qualifier M an..3 | ‘KGM’ (= Kilogram) 6314 Measurement value C an..18 | Gross mass (n..11,3) 6162 Range minimum C n..18 | - 6152 Range maximum C n..18 | - 6432 Significant digits C n..2 | - | 7383 SURFACE/LAYER INDICATOR, CODED C an..3 | -

Page 169: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 169 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─█─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).NAD[97], NAME AND ADDRESS, C, 5 x | goods item - (consignee) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'CN' (= Consignee) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 170: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 170 of 197

CUSDEC (Core) Segment Table ......

CST(*).NAD[97], NAME AND ADDRESS, C, 5 x | goods item - (consignor) trader, O, 1x

3035 PARTY QUALIFIER M an..3 | 'CZ' (= Consignor) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 171: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 171 of 197

CUSDEC (Core) Segment Table ......

CST(*).NAD[97], NAME AND ADDRESS, C, 5 x | goods item - (consignee-security) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'DP' (= Delivery party) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 172: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 172 of 197

CUSDEC (Core) Segment Table ......

CST(*).NAD[97], NAME AND ADDRESS, C, 5 x | goods item - (consignor-security) trader, D, 1x

3035 PARTY QUALIFIER M an..3 | 'GM' (= Inventory controller) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | EORI-TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

TDT[98], DETAILS OF TRANSPORT, C, 5 x | goods item, D, 1x

8051 TRANSPORT STAGE QUALIFIER M an..3 | '10' (=pre-carriage transport) | 8028 CONVEYANCE REFERENCE NUMBER C an..17 | - | C220 MODE OF TRANSPORT C | 8067 Mode of transport, coded C an..3 | - 8066 Mode of transport C an..17 | - | C228 TRANSPORT MEANS C | 8179 Type of means of transport identification C an..8 | Transport charges/method of payment (a1) 8178 Type of means of transport C an..17 | - | C040 CARRIER C | 3127 Carrier identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3128 Carrier name C an..35 | - | 8101 TRANSIT DIRECTION, CODED C an..3 | - | C401 EXCESS TRANSPORTATION INFORMATION C | 8457 Excess transportation reason, coded M an..3 | - 8459 Excess transportation responsibility, coded M an..3 | - 7130 Customer authorization number C an..17 | - | C222 TRANSPORT IDENTIFICATION C | 8213 Id. of means of transport identification C an..9 | UN dangerous goods code (an4) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 8212 Id. of the means of transport C an..35 | - 8453 Nationality of means of transport, coded C an..3 | - |

| 8281 TRANSPORT OWNERSHIP, CODED C an..3 | -

Page 173: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 173 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─█─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).PAC[99], PACKAGE, C, 99 x | goods item - packages, D, 99x

7224 NUMBER OF PACKAGES C n..8 | '6' (= Packages) | C531 PACKAGING DETAILS C | 7075 Packaging level, coded C an..3 | - 7233 Packaging related information, coded C an..3 | - 7073 Packaging terms and conditions, coded C an..3 | - | C202 PACKAGE TYPE C | 7065 Type of packages identification C an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 7064 Type of packages C an..35 | - | C402 PACKAGE TYPE IDENTIFICATION C | 7077 Item description type, coded C an..4 | Kind of packages (an..3) 7064 Type of packages C an..35 | Number of packages (n..5) 7143 Item number type, coded C an..3 | - 7064 Type of packages C an..35 | Number of pieces (n..5) 7143 Item number type, coded C an..3 | - | C532 RETURNABLE PACKAGE DETAILS C | 8395 Returnable package freight C an..3 | - payment responsibility | 8393 Returnable package load contents, coded C an..3 | -

Page 174: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 174 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ █ ░

| |

░ ░

CST(*).PAC(006).PCI[100], PACKAGE IDENTIFICATION, C, 999 x | goods item - packages, O, 99x

4233 MARKING INSTRUCTIONS, CODED C an..3 | '28' (= Mark free text) | C210 MARKS & LABELS C | 7102 Shipping marks C an..35 | Marks & numbers of packages (an..42) 7102 Shipping marks C an..35 | - continued 7 - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - 7102 Shipping marks C an..35 | - | 8275 CONTAINER/PACKAGE STATUS, CODED C an..3 | Marks & numbers of packages LNG (a2) | C827 TYPE OF MARKING C | 7511 Type of marking, coded M an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | -

Page 175: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 175 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─█─░─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).RFF[105], REFERENCE, C, 999 x | goods item - containers, O, 99x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'AAQ' (= Unit load device (e.g. container) identification n) 1154 Reference number C an..35 | Container number (an..17) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─█─░─░

| | |

░ ░ ░

| |

░ ░

CST(*).DOC[111], DOCUMENT/MESSAGE DETAILS, C, 999 x | goods item - previous administrative references, D, 9x

C002 DOCUMENT/MESSAGE NAME M | 1001 Document/message name, coded C an..3 | '190' (= Statistical and other administrative internal docu) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 1000 Document/message name C an..35 | Previous document type (an..6) | C503 DOCUMENT/MESSAGE DETAILS C | 1004 Document/message number C an..35 | Previous document reference (an..35) 1373 Document/message status, coded C an..3 | Complement of information LNG (a2) 1366 Document/message source C an..35 | Complement of information (an..26) 3453 Language, coded C an..3 | Previous document reference LNG (a2) | 3153 COMMUNICATION CHANNEL IDENTIFIER, C an..3 | - CODED | | 1220 NUMBER OF COPIES OF C n..2 | - DOCUMENT REQUIRED | | 1218 NUMBER OF ORIGINALS OF C n..2 | -

DOCUMENT REQUIRED |

Page 176: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 176 of 197

CUSDEC (Core) Segment Table ......

CST(*).DOC[111], DOCUMENT/MESSAGE DETAILS, C, 999 x | goods item - produced documents/certificates, D, 99x

C002 DOCUMENT/MESSAGE NAME M | 1001 Document/message name, coded C an..3 | '916' (= Related document) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 1000 Document/message name C an..35 | Document type (an..4) | C503 DOCUMENT/MESSAGE DETAILS C | 1004 Document/message number C an..35 | Document reference (an..35) 1373 Document/message status, coded C an..3 | Complement of information LNG (a2) 1366 Document/message source C an..35 | Complement of information (an..26) 3453 Language, coded C an..3 | Document reference LNG (a2) | 3153 COMMUNICATION CHANNEL IDENTIFIER, C an..3 | - CODED | | 1220 NUMBER OF COPIES OF C n..2 | - DOCUMENT REQUIRED | | 1218 NUMBER OF ORIGINALS OF C n..2 | -

DOCUMENT REQUIRED |

Page 177: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 177 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─█─░

| | |

░ ░ ░

| |

░ ░

CST(*).TOD[115], TERMS OF DELIVERY OR TRANSPORT, C, 99 x | goods item - special mentions, O, 99x

4055 TERMS OF DELIVERY OR TRANSPORT C an..3 | '2' (= Despatch condition) FUNCTION, CODED | | 4215 TRANSPORT CHARGES METHOD C an..3 | - OF PAYMENT, CODED | | C100 TERMS OF DELIVERY OR TRANSPORT C | 4053 Terms of delivery or transport, coded C an..3 | Export from EC (n1) 1131 Code list qualifier C an..3 | Export from country (a2) 3055 Code list responsible agency, coded C an..3 | - 4052 Terms of delivery or transport C an..70 | - 4052 Terms of delivery or transport C an..70 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ █

| |

░ ░

CST(*).TOD(2).FTX[117], FREE TEXT, C, 1 x | goods item - special mentions, O, 99x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACB' (= Additional information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Additional information coded (an..5) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Additional information (an..70) 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | Additional information LNG (a2)

Page 178: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 178 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─█

| | |

░ ░ ░

| |

░ ░

CST(*).GIR[131], RELATED IDENTIFICATION NUMBERS, C, 50 x | goods item - sgi codes, O, 9x

7297 SET IDENTIFICATION QUALIFIER M an..3 | '3' (= Package) | C206 IDENTIFICATION NUMBER C | 7402 Identity number M an..35 | Sensitive quantity (n..11,3) 7405 Identity number qualifier C an..3 | 4405 Status, coded C an..3 | - | C206 IDENTIFICATION NUMBER C | 7402 Identity number M an..35 | Sensitive goods code (n..2) 7405 Identity number qualifier C an..3 | 4405 Status, coded C an..3 | - | C206 IDENTIFICATION NUMBER C | 7402 Identity number M an..35 | - 7405 Identity number qualifier C an..3 | 4405 Status, coded C an..3 | - | C206 IDENTIFICATION NUMBER C | 7402 Identity number M an..35 | - 7405 Identity number qualifier C an..3 | - 4405 Status, coded C an..3 | - | C206 IDENTIFICATION NUMBER C | 7402 Identity number M an..35 | - 7405 Identity number qualifier C an..3 | - 4405 Status, coded C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

UNS[144], SECTION CONTROL, M, 1 x | , R, 1x

0081 SECTION IDENTIFICATION M a1 | 'S' (= Detail/summary section separation)

Page 179: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 179 of 197

CUSDEC (Core) Segment Table ......

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

CNT[145], CONTROL TOTAL, C, 5 x | header, R, 1x

C270 CONTROL M | 6069 Control qualifier M an..3 | '5' (= Number of Customs item detail lines) 6066 Control value M n..18 | Total number of items (n..5) 6411 Measure unit qualifier C an..3 | -

CNT[145], CONTROL TOTAL, C, 5 x | header, O, 1x

C270 CONTROL M | 6069 Control qualifier M an..3 | '11' (= Total number of packages) 6066 Control value M n..18 | Total number of packages (n..7) 6411 Measure unit qualifier C an..3 | -

CNT[145], CONTROL TOTAL, C, 5 x | seals info, O, 1x

C270 CONTROL M | 6069 Control qualifier M an..3 | '16' (= Total number of equipment) 6066 Control value M n..18 | Seals number (n..4) 6411 Measure unit qualifier C an..3 | -

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

UNT[151], MESSAGE TRAILER, M, 1 x | message, R, 1x

0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 | Number of segments in the message(not including UNB and UNZ)

| 0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14)

UNB UNH RFF CST UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬───┬─┬─┬─┬─┬─────────────────┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █

| | | |

░─░ ░ ░ ░─░─░─░─░─░─░─░─░

| | |

░ ░ ░

| |

░ ░

UNZ[152], INTERCHANGE TRAILER, M, 1 x | message, R, 1x

0036 INTERCHANGE CONTROL COUNT M n..6 | Interchange control count | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14)

Page 180: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 180 of 197

H.8. CUSRES (Core) Segment Table

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

█ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░

UNB[0], INTERCHANGE HEADER, M, 1 x | message, R, 1x

S001 SYNTAX IDENTIFIER M | 0001 Syntax identifier M a4 | ’UNOC’ 0002 Syntax version number M n1 | ’3’ | S002 INTERCHANGE SENDER M | 0004 Sender identification M an..35 | ’NCTS’ 0007 Identification code qualifier C an..4 | - 0008 Address for reverse routing C an..14 | - | S003 INTERCHANGE RECIPIENT M | 0010 Recipient identification M an..35 | Message recipient (an..35) 0007 Identification code qualifier C an..4 | - 0014 Routing address C an..14 | - | S004 DATE/TIME OF PREPARATION M | 0017 Date M n6 | Date of preparation (n6) (YYMMDD) 0019 Time M n4 | Time of preparation (n4) (HHMM) | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14) | S005 RECIPIENTS REFERENCE, PASSWORD C | 0022 Recipient's reference/password M an..14 | - 0025 Recipient's reference/password qualifier C an2 | - | 0026 APPLICATION REFERENCE C an..14 | ’NCTS’ | 0029 PROCESSING PRIORITY CODE C a1 | Priority (a1) | 0031 ACKNOWLEDGEMENT REQUEST C n1 | Acknowledgement request (n1) | 0032 COMMUNICATIONS AGREEMENT ID. C an..35 | Communications agreement id (an..35) | 0035 TEST INDICATOR C n1 | Test indicator (n1)

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ █ ░ ░ ░ ░ ░ ░ ░ ░ ░

UNH[1], MESSAGE HEADER, M, 1 x | header, R, 1x

0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14) | S009 MESSAGE IDENTIFIER M | 0065 Message type M an..6 | 'CUSRES' 0052 Message version number M an..3 | 'D' 0054 Message release number M an..3 | '96B' 0051 CONTROLLING AGENCY M an..2 | 'UN' 0057 Association assigned code C an..6 | Message type (an..6) e.g. GB028A

| 0068 COMMON ACCESS REFERENCE C an..35 | Common access reference (an..35) | S010 STATUS OF THE TRANSFER C | 0070 Sequence of transfers M n..2 | - 0073 First and last transfer C a1 | -

Page 181: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 181 of 197

CUSRES (Core) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ █ ░ ░ ░ ░ ░ ░ ░ ░

BGM[2], BEGINNING OF MESSAGE, M, 1 x | header, R, 1x

C002 DOCUMENT/MESSAGE NAME C | 1001 Document/message name, coded C an..3 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 1000 Document/message name C an..35 | - | C106 DOCUMENT/MESSAGE IDENTIFICATION C | 1004 Document/message number C an..35 | Document/reference number (an..21) 1056 Version C an..9 | - 1060 Revision number C an..6 | - | 1225 MESSAGE FUNCTION, CODED C an..3 | ‘11’- | 4343 RESPONSE TYPE, CODED C an..3 | -

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ █ ░ ░ ░ ░ ░ ░ ░

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '148' (= Acceptance date of Goods declaration (Customs)) 2380 Date/time/period C an..35 | Acceptance date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '184' (= Notification date/time) 2380 Date/time/period C an..35 | Date of control notification (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '193' (= Execution date) 2380 Date/time/period C an..35 | Date of cancellation decision (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '261' (= Release date/time) 2380 Date/time/period C an..35 | Goods release date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, D, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '318' (= Request date) 2380 Date/time/period C an..35 | Date of cancellation request (n8) 2379 Date/time/period format qualifier C an..3 | -

Page 182: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 182 of 197

CUSRES (Core) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ █ ░ ░ ░ ░ ░ ░

FTX[4], FREE TEXT, C, 9999 x | header, D, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABY' (= Regulatory information) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Cancellation justification (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Cancellation justification LNG (a2)

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ █ ░ ░ ░ ░ ░

LOC[6], PLACE/LOCATION IDENTIFICATION, C, 99 x | (presentation office) customs office, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '22' (= Customs office of clearance) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

Page 183: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 183 of 197

CUSRES (Core) Segment Table ……

LOC[6], PLACE/LOCATION IDENTIFICATION, C, 99 x | (departure) customs office, R, 1x

3227 PLACE/LOCATION QUALIFIER M an..3 | '118' (= Customs Office of Departure) | C517 LOCATION IDENTIFICATION C | 3225 Place/location identification C an..25 | Reference number (an8) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3224 Place/location C an..70 | - | C519 RELATED LOCATION ONE IDENTIFICATION C | 3223 Related place/location one identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3222 Related place/location one C an..70 | - | C553 RELATED LOCATION TWO IDENTIFICATION C | 3233 Related place/location two identification C an..25 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 3232 Related place/location two C an..70 | - | 5479 RELATION, CODED C an..3 | -

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ █ ░ ░ ░ ░

GIS[7], GENERAL INDICATOR, C, 10 x | header, D, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Cancellation decision (n1) 1131 Code list qualifier C an..3 | '70' (= Customs inspection type) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

GIS[7], GENERAL INDICATOR, C, 10 x | header, R, 1x

C529 PROCESSING INDICATOR M | 7365 Processing indicator, coded M an..3 | Cancellation initiated by Customs (n1) 1131 Code list qualifier C an..3 | '117' (= Customs procedure) 3055 Code list responsible agency, coded C an..3 | - 7187 Process type identification C an..17 | -

Page 184: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 184 of 197

CUSRES (Core) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ █ ░ ░ ░

NAD[9], NAME AND ADDRESS, C, 9 x | (principal) trader, R, 1x

3035 PARTY QUALIFIER M an..3 | 'AF' (= Transit principal) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | Holder iD TIR (an..17) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

Page 185: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 185 of 197

CUSRES (Core) Segment Table ……

NAD[9], NAME AND ADDRESS, C, 9 x | (destination) trader, R, 1x

3035 PARTY QUALIFIER M an..3 | 'CPD' (= Charges payer at destination) | C082 PARTY IDENTIFICATION DETAILS C | 3039 Party id. identification M an..35 | TIN (an..17) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C058 NAME AND ADDRESS C | 3124 Name and address line M an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - 3124 Name and address line C an..35 | - | C080 PARTY NAME C | 3036 Party name M an..35 | Name (an..35) 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3036 Party name C an..35 | - 3045 Party name format, coded C an..3 | - | C059 STREET C | 3042 Street and number/p.o. box M an..35 | Street and number (an..35) 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - 3042 Street and number/p.o. box C an..35 | - | 3164 CITY NAME C an..35 | City (an..35) | 3229 COUNTRY SUB-ENTITY IDENTIFICATION C an..9 | NAD LNG (a2) | 3251 POSTCODE IDENTIFICATION C an..9 | Postal code (an..9) | 3207 COUNTRY, CODED C an..3 | Country code (a2)

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░

RFF[12], REFERENCE, C, 999 x | header, R, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABE' (= Declarant's reference number) 1154 Reference number C an..35 | Reference number (an..22) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░

UNT[52], MESSAGE TRAILER, M, 1 x | message, R, 1x

0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 | Number of segments in the message | 0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14)

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █

UNZ[53], INTERCHANGE TRAILER, M, 1 x | message, R, 1x

0036 INTERCHANGE CONTROL COUNT M n..6 | Interchange control count | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14)

Page 186: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 186 of 197

H.9. CUSRES (Functional Errors) Segment Table

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬──┐

█ ░ ░ ░ ░ ░ ░ ░ ░ ░

UNB[0], INTERCHANGE HEADER, M, 1 x | message, R, 1x

S001 SYNTAX IDENTIFIER M | 0001 Syntax identifier M a4 | ’UNOC’ 0002 Syntax version number M n1 | ’3‘ | S002 INTERCHANGE SENDER M | 0004 Sender identification M an..35 | ’NCTS’ 0007 Identification code qualifier C an..4 | - 0008 Address for reverse routing C an..14 | - | S003 INTERCHANGE RECIPIENT M | 0010 Recipient identification M an..35 | Message recipient (an..35) 0007 Identification code qualifier C an..4 | - 0014 Routing address C an..14 | - | S004 DATE/TIME OF PREPARATION M | 0017 Date M n6 | Date of preparation (n6) (YYMMDD) 0019 Time M n4 | Time of preparation (n4) (HHMM) | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14) | S005 RECIPIENTS REFERENCE, PASSWORD C | 0022 Recipient's reference/password M an..14 | - 0025 Recipient's reference/password qualifier C an2 | - | 0026 APPLICATION REFERENCE C an..14 | ’NCTS’ | 0029 PROCESSING PRIORITY CODE C a1 | Priority (a1) | 0031 ACKNOWLEDGEMENT REQUEST C n1 | Acknowledgement request (n1) | 0032 COMMUNICATIONS AGREEMENT ID. C an..35 | Communications agreement id (an..35) | 0035 TEST INDICATOR C n1 | Test indicator (n1)

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬──┐

░ █ ░ ░ ░ ░ ░ ░ ░ ░

UNH[1], MESSAGE HEADER, M, 1 x | message, R, 1x

0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14) | S009 MESSAGE IDENTIFIER M | 0065 Message type M an..6 | 'CUSRES' 0052 Message version number M an..3 | 'D' 0054 Message release number M an..3 | '96B' 0051 CONTROLLING AGENCY M an..2 | 'UN' 0057 Association assigned code C an..6 | Message type (an..6) e.g. GB016A

| 0068 COMMON ACCESS REFERENCE C an..35 | Common access reference (an..35) | S010 STATUS OF THE TRANSFER C | 0070 Sequence of transfers M n..2 | - 0073 First and last transfer C a1 | -

Page 187: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 187 of 197

CUSRES (Functional Errors) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ █ ░ ░ ░ ░ ░ ░ ░

BGM[2], BEGINNING OF MESSAGE, M, 1 x | header, R, 1x

C002 DOCUMENT/MESSAGE NAME C | 1001 Document/message name, coded C an..3 | - (no qualifier needed) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - 1000 Document/message name C an..35 | Type of declaration (an..9) | C106 DOCUMENT/MESSAGE IDENTIFICATION C | 1004 Document/message number C an..35 | Document/reference number (an..21) 1056 Version C an..9 | - 1060 Revision number C an..6 | - | 1225 MESSAGE FUNCTION, CODED C an..3 | ‘11’ | 4343 RESPONSE TYPE, CODED C an..3 | -

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ █ ░ ░ ░ ░ ░ ░

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '46' (= Cancellation date) 2380 Date/time/period C an..35 | Arrival rejection date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '46' (= Cancellation date) 2380 Date/time/period C an..35 | Declaration rejection date (n8) 2379 Date/time/period format qualifier C an..3 | -

DTM[3], DATE/TIME/PERIOD, C, 9 x | header, R, 1x

C507 DATE/TIME/PERIOD M | 2005 Date/time/period qualifier M an..3 | '357' (= Cancel if not published by this date) 2380 Date/time/period C an..35 | Unloading remarks rejection date (n8) 2379 Date/time/period format qualifier C an..3 | -

Page 188: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 188 of 197

CUSRES (Functional Errors) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ █ ░ ░ ░ ░ ░

FTX[4], FREE TEXT, C, 9999 x | functional error, D, 999x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'AAO' (= Error description (free text)) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | Error type (n2) 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Error pointer (an..210) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | Error reason (an..140) 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | -

FTX[4], FREE TEXT, C, 9999 x | functional error, D, 999x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'AAP' (= Response (free text)) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Original attribute value (an..140) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - 4440 Free text C an..70 | - 4440 Free text C an..70 | - | 3453 LANGUAGE, CODED C an..3 | -

FTX[4], FREE TEXT, C, 9999 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ABD' (= Nature of transaction) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Action to be taken (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Action to be taken LNG (a2)

Page 189: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 189 of 197

CUSRES (Functional Errors) Segment Table ……

FTX[4], FREE TEXT, C, 9999 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACD' (= Reason) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Declaration rejection reason (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Declaration rejection reason LNG (a2)

FTX[4], FREE TEXT, C, 9999 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ACD' (= Reason) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Unloading remarks rejection reason (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Unloading remarks rejection reason LNG (a2)

FTX[4], FREE TEXT, C, 9999 x | header, R, 1x

4451 TEXT SUBJECT QUALIFIER M an..3 | 'ARR' (= Arrival conditions) | 4453 TEXT FUNCTION, CODED C an..3 | - | C107 TEXT REFERENCE C | 4441 Free text identification M an..17 | - 1131 Code list qualifier C an..3 | - 3055 Code list responsible agency, coded C an..3 | - | C108 TEXT LITERAL C | 4440 Free text C an..70 | Arrival rejection reason (an..350) 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - 4440 Free text C an..70 | - continued 70 - | 3453 LANGUAGE, CODED C an..3 | Arrival rejection reason LNG (a2)

Page 190: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 190 of 197

CUSRES (Functional Errors) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ █ ░ ░

RFF[12], REFERENCE, C, 999 x | header, R, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABE' (= Declarant's reference number) 1154 Reference number C an..35 | Reference number (an..22) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

RFF[12], REFERENCE, C, 999 x | header, R, 1x

C506 REFERENCE M | 1153 Reference qualifier M an..3 | 'ABO' (= Original interchange control reference) 1154 Reference number C an..35 | original message identification (an..14) 1156 Line number C an..6 | - 4000 Reference version number C an..35 | -

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ █ ░

UNT[52], MESSAGE TRAILER, M, 1 x | message, R, 1x

0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 | Number of segments in the message | 0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14)

Page 191: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 191 of 197

CUSRES (Functional Errors) Segment Table ……

UNB UNH UNT UNZ

┌──┬─┬─┬─┬─┬─┬─┬─┬─┬──┐

░ ░ ░ ░ ░ ░ ░ ░ ░ ░ █

UNZ[53], INTERCHANGE TRAILER, M, 1 x | message, R, 1x

0036 INTERCHANGE CONTROL COUNT M n..6 | Interchange control count | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14)

Page 192: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 192 of 197

H.10. CONTRL Segment Table

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

█ ░ ░ ░ ░ ░

|

|

UNB[0], INTERCHANGE HEADER, M, 1 x | message, R, 1x

S001 SYNTAX IDENTIFIER M | 0001 Syntax identifier M a4 | ’UNOC’ 0002 Syntax version number M n1 | ’3‘ | S002 INTERCHANGE SENDER M | 0004 Sender identification M an..35 | ’NCTS’ 0007 Identification code qualifier C an..4 | - 0008 Address for reverse routing C an..14 | - | S003 INTERCHANGE RECIPIENT M | 0010 Recipient identification M an..35 | Message recipient (an..35) 0007 Identification code qualifier C an..4 | - 0014 Routing address C an..14 | - | S004 DATE/TIME OF PREPARATION M | 0017 Date M n6 | Date of preparation (n6) (YYMMDD) 0019 Time M n4 | Time of preparation (n4) (HHMM) | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14) | S005 RECIPIENTS REFERENCE, PASSWORD C | 0022 Recipient's reference/password M an..14 | - 0025 Recipient's reference/password qualifier 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 | Test indicator (n1)

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ █ ░ ░ ░ ░

|

|

UNH[1], MESSAGE HEADER, M, 1 x | message, R, 1x

0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14) | S009 MESSAGE IDENTIFIER M | 0065 Message type M an..6 | 'CONTRL' 0052 Message version number M an..3 | 'D' 0054 Message release number M an..3 | '3' 0051 Controlling agency M an..2 | 'UN' 0057 Association assigned code C an..6 | ‘CD907A’ | 0068 COMMON ACCESS REFERENCE C an..35 | - | S010 STATUS OF THE TRANSFER C | 0070 Sequence of transfers M n..2 | - 0073 First and last transfer C a1 | -

Page 193: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 193 of 197

CONTRL Segment Table ……

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ █ ░ ░ ░

|

|

UCI[2], INTERCHANGE RESPONSE, M, 1 x | interchange errors, R, 1x

0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14) S002 INTERCHANGE SENDER M | 0004 Sender identification M an..35 | Message sender (an..35) 0007 Identification code qualifier C an..4 | - 0008 Address for reverse routing C an..14 | - | S003 INTERCHANGE RECIPIENT M | 0010 Recipient Identification M an..35 | Message recipient (an..35) 0007 Identification code qualifier C an..4 | - 0014 Routing address C an..14 | - 0083 ACTION CODED M an..3 | Action taken by recipient (an..3) | 0085 SYNTAX ERROR, CODED C an..3 | Syntax error (n2) | 0013 SERVICE SEGMENT TAG, CODED C a3 | Interchange service segment (a3) | S011 DATA ELEMENT IDENTIFICATION C | 0098 Erroneous data element position in segment M n..3 | Position of erroneous data element (n..3) 0104 Erroneous component data element in position C n..3 | Position of erroneous data component (n..3)

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ ░ █ ░ ░

|

|

UCM[3], MESSAGE RESPONSE, C, 99999 x | message errors, C, 99x

0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14) S009 MESSAGE IDENTIFIER M | 0065 Message Type M an..6 | Message type (an..6) 0052 Message version number M an..3 | Message version (an..3) 0054 Message release number M an..3 | Message release number (an..3) 0051 Controlling agency M an..2 | Controlling agency (an..2) 0057 Association assigned code C an..6 | Association assigned code (an..6) | 0083 ACTION CODED M an..3 | Action taken by recipient (an..3) | 0085 SYNTAX ERROR, CODED C an..3 | Error (n2) | 0013 SERVICE SEGMENT TAG, CODED C a3 | Message service segment (a3) | S011 DATA ELEMENT IDENTIFICATION C | 0098 Erroneous data element position in segment M n..3 | Position of erroneous data element (n..3) 0104 Erroneous component data element in position C n..3 | Position of erroneous data component (n..3)

Page 194: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 194 of 197

CONTRL Segment Table ……

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ ░ ░ ░ ░

|

|

UCM(*).UCS[4], SEGMENT ERROR DESCRIPTION, C, 999 x | segment errors, C, 999x

0096 SEGMENT POSITION IN TAG M n..6 | Segment position in message (n..6) | 0085 SYNTAX ERROR, CODED C an..3 | Error (n2) |

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ ░ ░ ░ ░

|

|

UCM(*).UCS(*).UCD[5], DATA ELEMENT ERROR INDICATION, C, 99 x | data element errors, C, 99x

0085 SYNTAX ERROR, CODED M an..3 | Error (n2) | S011 DATA ELEMENT IDENTIFICATION M | 0098 Erroneous data element position in segment M n..3 | Position of erroneous data element (n..3) 0104 Erroneous component data element in position C n..3 | Position of erroneous data component (n..3)

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ ░ ░ █ ░

|

|

UNT[10], MESSAGE TRAILER, M, 1 x | message, R, 1x

0074 NUMBER OF SEGMENTS IN THE MESSAGE M n..6 | Number of segments in the message | 0062 MESSAGE REFERENCE NUMBER M an..14 | Message identification (an..14)

UNB UNH UNT UNZ

┌──┬──┬──┬──┬──┐

░ ░ ░ ░ ░ █

|

|

UNZ[11], INTERCHANGE TRAILER, M, 1 x | message, R, 1x

0036 INTERCHANGE CONTROL COUNT M n..6 | Interchange control count | 0020 INTERCHANGE CONTROL REFERENCE M an..14 | Interchange control reference (an..14)

Page 195: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 195 of 197

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: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 196 of 197

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+SOUTHEND-

ON-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'

Page 197: New Computerised Transit System (NCTS) Phase 4 Technical ... · 15/05/2017 Version 3.9.3 Page 7 of 197 2.0 18/02/2005 Amendments to code lists 8, 9, 10,12, 23, 39, 47, 60, 63, 71,

NCTS TECHNICAL INTERFACE SPECIFICATION APPENDICES

14/08/2014 Version 3.9.1

Page 197 of 197

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'

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