edifact d95b cuscar message format - icegate€¦ · web view0040 ftx free text c 99 0050 tdt...
TRANSCRIPT
EDIFACT D05B CUSRES Message Format
Pos Tag Name S R
0010 UNH Message header M 1
0020 BGM Beginning of message M 1
0030 DTM Date/time/period C 9
0040 FTX Free text C 99
0050 TDT Transport information C 9
0060 LOC Place/location identification C 99
0070 GEI Processing information C 10
0080 EQD Equipment details C 999
0090 ----- Segment group 1 ------------------ C 99----------+
0100 NAD Name and address M 1 |
|
0110 ----- Segment group 2 ------------------ C 9----------+|
0120 CTA Contact information M 1 ||
0130 COM Communication contact C 9----------++
0140 ----- Segment group 3 ------------------ C 999---------+
0150 RFF Reference M 1 |
0160 DTM Date/time/period C 9 |
0170 LOC Place/location identification C 9-----------+
0180 ----- Segment group 4 ------------------ C 99----------+
0190 ERP Error point details M 1 |
0200 RFF Reference C 9 |
0210 ERC Application error information C 99 |
0220 FTX Free text C 99----------+
0230 ----- Segment group 5 ------------------ C 99----------+
0240 TAX Duty/tax/fee details M 1 |
0250 MOA Monetary amount C 99 |
0260 GEI Processing information C 99----------+
0270 ----- Segment group 6 ------------------ C 99999-------+
0280 DOC Document/message details M 1 |
0290 PAC Package C 9 |
0300 RFF Reference C 9 |
0310 PCI Package identification C 9 |
0320 FTX Free text C 99 |
0330 TDT Transport information C 9 |
0340 LOC Place/location identification C 9 |
0350 DTM Date/time/period C 9 |
0360 GEI Processing information C 99 |
0370 MEA Measurements C 99 |
0380 EQD Equipment details C 999 |
|
0390 ----- Segment group 7 ------------------ C 9----------+|
0400 NAD Name and address M 1 ||
||
0410 ----- Segment group 8 ------------------ C 9---------+||
0420 CTA Contact information M 1 |||
0430 COM Communication contact C 9---------++|
|
0440 ----- Segment group 9 ------------------ C 99---------+|
0450 MOA Monetary amount M 1 ||
||
0460 ----- Segment group 10 ------------------ C 9---------+||
0470 CUX Currencies M 1 |||
0480 DTM Date/time/period C 1---------++|
|
0490 ----- Segment group 11 ------------------ C 99---------+|
0500 TAX Duty/tax/fee details M 1 ||
0510 MOA Monetary amount C 99 ||
0520 GEI Processing information C 99---------+|
|
0530 ----- Segment group 12 ------------------ C 9999-------+|
0540 CST Customs status of goods M 1 ||
0550 FTX Free text C 9 ||
||
0560 ----- Segment group 13 ------------------ C 999999----+||
0570 TAX Duty/tax/fee details M 1 |||
0580 MOA Monetary amount C 99 |||
0590 GEI Processing information C 99 |||
0600 MEA Measurements C 9 |||
0610 RFF Reference C 9---------++|
|
0620 ----- Segment group 14 ------------------ C 9999-------+|
0630 ERP Error point details M 1 ||
0640 RFF Reference C 9 ||
0650 ERC Application error information C 9999 ||
0660 FTX Free text C 9----------++
0670 CNT Control total C 9
0680 ----- Segment group 15 ------------------ C 9-----------+
0690 AUT Authentication result M 1 |
0700 DTM Date/time/period C 9-----------+
0710 UNT Message trailer M 1
POS Tag NameUNA Service String Advice
Function: Function : To define the characters selected for use as delimiters and indicators in the rest of the interchange that follows
Notes: Segment Rules
• This segment is not mandatory if default values are used.
Example: UNA:+.? ‘
POS Tag Name S R Format Value NotesComponent Data Element Separator
M 1 an..1 :
Data Element Separator
M 1 an..1 +
Decimal Notation M 1 an..1 .Release Indicator M 1 an..1 ?Reserved M 1 an..1 SpaceSegment Terminator M 1 an..1 ‘
POS Tag Name0010 UNB Interchange Header
Function: A service segment starting and uniquely identifying a interchange. The interchange type code for the Customs cargo report message is CUSRES_MN.
Notes: Customs cargo report messages conforming to this document must contain the following data in segment UNB, data element 0026:
Data element 0026: CUSRES_MN
Segment Rules This segment is mandatory. Element Rules• Data Element 0004 must contain the client/broker code with whom the trading partnership exists.• Data Element 0017 must contain the date when the interchange was created.• Data Element 0019 must contain the time when the interchange was created.• Data Element 0020 should contain a unique reference to identify the interchange for tracking purposes.• Data Element 0022 should contain Sender’s password to validate in the service.• Data Element 0026 should contain value “CUSRES_MN”.
Example Syntax : UNB+UNOA:1+nnnnnnnnn+INDIANCUSTOMS+YYMMDD:HHMM+nnnnnnnnnnnnnn+PASSWORD+CUSRES_MN'
POS Tag Name S R Format Value NotesS001 SYNTAX
IDENTIFIERM Identification of the agency
controlling the syntax and indication of syntax level.
0001 Syntax identifier M 1 an..4 UNOA UN/ECE Level A0002 Syntax version
numberM 1 n..1 1 Version One
S002 INTERCHANGE SENDER
M
0004 Sender Identification
M 1 an..35 Trading partner code
0007 Partner Id Qualifier C 1 an..4 **NOT USED **0008 Address for reverse
routingC 1 An..14 **NOT USED **
S003 INTERCHANGE RECIPIENT
M
0010 Receiver Identification
M 1 An..35 INDIANCUSTOMS
SLC EDI ID
0007 Partner Id Qualifier C 1 An..4 **NOT USED**0014 Routing Address C 1 An..14 **NOT USED**
S004 DATE/TIME OF PREPARATION
M
0017 Date of Preparation M 1 n..6 Date YYMMDD format0019 Time of Preparation M 1 n..4 Time HHMM Format
0020 INTERCHANGE CONTROL REFERENCE
M 1 An..14 Interchange Reference
S005 RECIPIENTS REFERENCE PASSWORD
M 1
0022 Recipient’s password
M 1 An..14 Password of the receiver
0025 Recipient’s password qualifier
C 1 An..2 **NOT USED**
0026 APPLICATION REFERENCE
M 1 An..14 CUSRES_MN
Value CUSRES_MN
0029 PROCESSING PRIORITY CODE
C 1 a..1 **NOT USED**
0031 ACKNOWLEDGEMENT REQUEST
C 1 n..1 **NOT USED**
0032 COMMUNICATION AGREEMENT ID
C 1 An..35 **NOT USED**
0035 TEST INDICATOR C 1 n..1 **NOT USED**
POS Tag Name40010 UNH Message Header
Function: A service segment starting and uniquely identifying a message. The message type code for the Customs cargo report message is CUSRES.
Notes: Customs cargo report messages conforming to this document must contain the following data in segment UNH, composite S009:
Data element 0065 CUSRES 0052 D 0054 95B 0051 UN
Segment Rules This segment is mandatory.
Element Rules Data Element 0062 can contain a sequential number identifying the transaction within your system.
Example Syntax UNH+nnnnnnnnnnnnnn+CUSRES:D:95B:UN'
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 0062 Message Reference Number
M 1 an..14 Sender’s unique reference number
Job Number
020 S009 Message identifier M 10065 Message type
identifierM 1 an..6 CUS
RESCustoms response message
0052 Message type version number
M 1 an..3 D Directory Version
0054 Message type release number
M 1 an..3 95B Release number
0051 Controlling agency, coded
M 1 an..2 UN Agency.
0057 Association assigned code
C 1 an..6 ** NOT USED **.
030 0068 Common access reference
C 1 an..35 ** NOT USED **.
040 S010 Status of the transfer
C 1 ** NOT USED **.
0070 Sequence of transfers
M 1 n..2 ** NOT USED **.
0073 First and last transfer
C 1 A1 ** NOT USED **.
POS Tag Name0020 BGM BEGINNING OF MESSAGE
Function: A segment to indicate the message name, type, number and functionality.Notes: Segment Rules This segment is mandatory for all transaction types.
Example Syntax BGM+22:::CUSRES+I16849+9'
POS Tag Name S R Format Value Notes Flat file field Name & Location
1010 C002 DOCUMENT/MESSAGE NAME
M 1
1001 Document/message name, coded
M an..3 22 Electronic Customs Manifest
EDIFACT codes
1131 Code list qualifier C an..3 ** NOT USED **3055 Code list
responsible agency, coded
C an..3 ** NOT USED **
1000 Document/message name
C an..35
020 1004 Document/message number
M an..10 IGM_NO
030 1225 MESSAGE FUNCTION, CODED
M 1 an..3 22
4
3
Final Transmission
If 1225 = 22 then map F to 1A/2
Change
If 1225 = 4 then map A to 1A/2
If 1225 = 3 then map D to 1A/2
Message_Type
040 4343 RESPONSE TYPE, CODED
C 1 an..3 ** NOT USED **
POS Tag Name0030 DTM Date/time/Period
Function: A segment to indicate the date/time of message creation and the date and time of cargo report to Customs.
Notes:Example: DTM+125:20070125:102’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 C507 DATE/TIME/PERIOD
M
2005 Date/time/period qualifier
M an..3 125 Reference Date/Time
2380 Date/time/period C an..35 IGM_YEAR2379 Date/time/period
format qualifierC an..3 602 CCYY
POS Tag Name0050 TDT TRANSPORT INFORMATION
Function: To specify information regarding the transport such as mode of transport, means of transport, its conveyance reference number and the Identification of the means of transport.
Notes:Example: FTX+AAP+++ VOYAGE_NUMBER+ VESSEL_CODE’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 8051 TRANSPORT STAGE CODE QUALIFIER
M an..3 20 Main-carriage transport
020 8028 MEANS OF TRANSPORT JOURNEY IDENTIFIER
C an..17 VOYAGE_NUMBER
030 C220 MODE OF TRANSPORT
C
8067 Transport mode name code
C an...3
8066 Transport mode name
C an..17
040 C001 TRANSPORT MEANS
C
8179 Transport means description code
C an..8
1131 Code list identification code
C an..17
3055 Code list responsible agency code
C an...3
8178 Transport means description
C an..17
050 C040
3127
1131
3055
3128
CARRIER
Carrier identifier
Code list identification code
Code list responsible agency code
Carrier name
TRANSIT
C
C
C
C
C
an..17
an..17
an..3
an..35
060
070
080
090
8101
C401
8457
8459
7130
C222
8213
1131
3055
8212
8453
8281
DIRECTION INDICATOR CODE
EXCESS TRANSPORT INFORMATION
Excess transportation reason code
Excess transportation responsibility code
Customer shipment authorization identifier
TRANSPORT IDENTIFICATION
Transport means identification name identifier
Code list identification code
Code list responsible agency code
Transport means identification name
Transport means nationality code
TRANSPORT MEANS OWNERSHIP INDICATOR CODE
C
C
M
M
C
C
C
C
C
C
C
C
an..3
an...3
an...3
an...17
an...35
an...17
an...3
an...70
an...3
an...3
VESSEL_CODE
POS Tag Name0060 LOC Place/location identification
Function:A segment to identify a country and/or place and/or location information related to the whole message..
Notes:Example: LOC+122+++SITEID’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 3227 PLACE/LOCATION QUALIFIER
M an..3 122
Customs office of destination
020 C517 LOCATION IDENTIFICATION
M
3225 Place/location identification
M an..5SITE_ID
1131 Code list qualifier C an..33055 Code list
responsible agency, coded
C an..3
3224 Place/location C an..17030 C519 RELATED
LOCATION ONE IDENTIFICATION
C ** NOT USED **
3223 Related place/location one identification
C an..35 ** NOT USED **
1131 Code list qualifier C an..3 ** NOT USED **3055 Code list
responsible agency, coded
C an..3 ** NOT USED **
3222 Related place/location one
C an..70 ** NOT USED **
040 C553 RELATED LOCATION TWO IDENTIFICATION
C ** NOT USED **
3233 Related place/location two identification
C an..25 ** NOT USED **
1131 Code list qualifier C an..3 ** NOT USED **3055 Code list
responsible agency, coded
C an..3 ** NOT USED **
3232 Related place/location two
C an..70 ** NOT USED **
050 5479 RELATION, CODED
C an..3 ** NOT USED **
Segment Group Segments Notes0150 + Segment group3 REF A group of segments identifying references, dates and
locations related information.
POS Tag Name0150 RFF Reference
Function:A segment identifying references (e.g. manifest number).
Notes: Segment is Mandatory
MASTER_BILL_OF_LADING_NUMBER
Example: RFF+MA: 123456789’POS Tag
1.1.1.1.1 NameS R Format Value Notes Flat file field Name
& Location010 C506 REFERENCE M
1153 Reference qualifier M an..3 MB
ICA
Master bill of lading number
IATA cargo agent code number
1154 Reference number C an..35 MASTER_BILL_OF_LADING_NUMBER
CONSOL_AGENT_RGSTRN_NUMBER
1156 Line number C an..6 ** NOT USED **4000
1060
Reference version number
Revision identifier
C
C
an..35
an..6
** NOT USED **
POS Tag Name0160+ Segment
group3DTM A group of segments identifying references, dates and locations related
informationFunction: A segment identifying a date related to the preceding RFF. (MASTER_BILL_OF_
LADING_DATE )Notes: Examples:DTM+ZZZ:200301231345:102’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 C507 DATE/TIME/PERIOD
M
2005 Date/time/period qualifier
M an..3 95 Bill of lading date
2380 Date/time/period M an..8 MASTER_BILL_OF_LADING_DATE
2379 Date/time/period format qualifier
M an..3 102 CCYYMMDD
POS Tag Name0280+Segment
group6DOC DOC-PAC-RFF-PCI-FTX-TDT-LOC-DTM-GEI-MEA-EQD-
SG7-SG9-SG11-SG12-SG14Function: A group of segments specifying goods item details including status of goods, related
references, package identification, details of transport, relevant parties, contacts, dates and/or times and location, general indicators, measurements, documentary requirements, monetary amounts, currencies and item taxes, fees and duties.
Notes:DOC+7871’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 C002
1001
1131
3055
1000
DOCUMENT/MESSAGE NAME
Document name code
Code list identification code
Code list responsible agency code
M
C
C
C
an..3
an..17
an..3
an..35
294Application acknowledgement and error report
Document name C
020 C503
1004
1373
1366
3453
1056
1060
DOCUMENT/MESSAGE DETAILS
Document identifier
Document status code
Document source description
Language name code
Version identifier
Revision identifier
C
C
C
C
C
C
C
an.. 35
an..3
an..70
an..3
an..9
an..6
LINE_NUMBER
030 3153 COMMUNICATION MEDIUM TYPE CODE
C an..3
040 1220 DOCUMENT COPIES REQUIRED QUANTITY
C n..2
050 1218 DOCUMENT ORIGINALS REQUIRED QUANTITY
C n..2
POS Tag Name0320+ Segment
group6FTX Free text
Function:A segment to provide the goods description.
Notes:Example: FTX+AAP+++ERR_CD’
POS Tag Name S R Format Value Notes Flat file field Name & Location
010 4451 TEXT SUBJECT QUALIFIER
M an..3 AAO Error description
020 4453 TEXT FUNCTION, CODED
C an..3
030 C107 TEXT REFERENCE
C
4441 Free text, coded M an..31131 Code list qualifier C an..33055 Code list
responsible agency, coded
C an..3
040 C108 TEXT LITERAL C4440 Free text M an..70 ERR_CD
4440 Free text C an..704440 Free text C an..704440 Free text C an..704440 Free text C an..70
050 3453 LANGUAGE, CODED
C an..3