知行 EDI 规范查询平台™
/
EDIFACT EDI Release D921
/
CUSDEC
/
CUSDEC
EDI EDIFACT D921 CUSDEC Transaction Set Schema
UNH
M
必须(Mandatory)
Repeat 1
BGM
BEGINNING OF MESSAGE
M
必须(Mandatory)
Repeat 1
CST
CUSTOMS STATUS OF GOODS
O
可选(Optional)
Repeat 1
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 99
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 15
GIS
GENERAL INDICATOR
O
可选(Optional)
Repeat 25
FII
FINANCIAL INSTITUTION INFORMATION
O
可选(Optional)
Repeat 1
MEA
MEASUREMENTS
O
可选(Optional)
Repeat 5
EQD
EQUIPMENT DETAILS
O
可选(Optional)
Repeat 999
SEL
SEAL NUMBER
O
可选(Optional)
Repeat 999
RFFLoop1
REFERENCE LOOP
O
可选(Optional)
Repeat 99
RFF
DTM
PACLoop1
RFF
REFERENCE
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
PACLoop1
PACKAGE LOOP
O
可选(Optional)
Repeat 10
PAC
PCILoop1
PAC
PACKAGE
M
必须(Mandatory)
Repeat 1
PCILoop1
PACKAGE IDENTIFICATION LOOP
O
可选(Optional)
Repeat 999
PCI
FTX
PCI
PACKAGE IDENTIFICATION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
TDTLoop1
DETAILS OF TRANSPORT LOOP
O
可选(Optional)
Repeat 5
TDT
TPL
TDT
DETAILS OF TRANSPORT
M
必须(Mandatory)
Repeat 1
TPL
TRANSPORT PLACEMENT
O
可选(Optional)
Repeat 1
DOCLoop1
DOCUMENT/MESSAGE DETAILS LOOP
O
可选(Optional)
Repeat 10
DOC
DTM
LOC
DOC
DOCUMENT/MESSAGE DETAILS
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 2
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 1
NADLoop1
NAME AND ADDRESS LOOP
O
可选(Optional)
Repeat 10
NAD
RFF
CTA
COM
NAD
NAME AND ADDRESS
M
必须(Mandatory)
Repeat 1
RFF
REFERENCE
O
可选(Optional)
Repeat 10
CTA
CONTACT INFORMATION
O
可选(Optional)
Repeat 1
COM
COMMUNICATION CONTACT
O
可选(Optional)
Repeat 5
TODLoop1
TERMS OF DELIVERY LOOP
O
可选(Optional)
Repeat 1
TOD
LOC
FTX
TOD
TERMS OF DELIVERY
M
必须(Mandatory)
Repeat 1
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 2
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
MOALoop1
MONETARY AMOUNT LOOP
O
可选(Optional)
Repeat 25
MOA
CUXLoop1
MOA
MONETARY AMOUNT
M
必须(Mandatory)
Repeat 1
CUXLoop1
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
UNS
M
必须(Mandatory)
Repeat 1
DMSLoop1
DOCUMENT/MESSAGE SUMMARY LOOP
O
可选(Optional)
Repeat 999
DMS
DTM
MEA
MOALoop2
TODLoop2
NADLoop2
PACLoop2
PATLoop1
ALCLoop1
LINLoop1
DMS
DOCUMENT/MESSAGE SUMMARY
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
MEA
MEASUREMENTS
O
可选(Optional)
Repeat 5
MOALoop2
MONETARY AMOUNT LOOP
O
可选(Optional)
Repeat 25
MOA
CUXLoop2
MOA
MONETARY AMOUNT
M
必须(Mandatory)
Repeat 1
CUXLoop2
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
TODLoop2
TERMS OF DELIVERY LOOP
O
可选(Optional)
Repeat 1
TOD
LOC
FTX
TOD
TERMS OF DELIVERY
M
必须(Mandatory)
Repeat 1
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 2
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
NADLoop2
NAME AND ADDRESS LOOP
O
可选(Optional)
Repeat 10
NAD
DOCLoop2
NAD
NAME AND ADDRESS
M
必须(Mandatory)
Repeat 1
DOCLoop2
DOCUMENT/MESSAGE DETAILS LOOP
O
可选(Optional)
Repeat 10
DOC
DTM
LOC
DOC
DOCUMENT/MESSAGE DETAILS
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 2
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 1
PACLoop2
PACKAGE LOOP
O
可选(Optional)
Repeat 10
PAC
PCILoop2
PAC
PACKAGE
M
必须(Mandatory)
Repeat 1
PCILoop2
PACKAGE IDENTIFICATION LOOP
O
可选(Optional)
Repeat 999
PCI
FTX
RFF
PCI
PACKAGE IDENTIFICATION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
RFF
REFERENCE
O
可选(Optional)
Repeat 1
PATLoop1
PAYMENT TERMS BASIS LOOP
O
可选(Optional)
Repeat 5
PAT
MOA
PCD
FTX
PAT
PAYMENT TERMS BASIS
M
必须(Mandatory)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 1
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
ALCLoop1
ALLOWANCE OR CHARGE LOOP
O
可选(Optional)
Repeat 10
ALC
RTE
MOA
PCD
QTY
CUXLoop3
ALC
ALLOWANCE OR CHARGE
M
必须(Mandatory)
Repeat 1
RTE
RATE DETAILS
O
可选(Optional)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 1
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
QTY
QUANTITY
O
可选(Optional)
Repeat 1
CUXLoop3
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
LINLoop1
LINE ITEM LOOP
O
可选(Optional)
Repeat 9999
LIN
PIA
QTY
PRI
PCD
MEA
QVA
MOA
NAD
GIR
DOCLoop3
ALCLoop2
TODLoop3
PATLoop2
IMDLoop1
PACLoop3
LIN
LINE ITEM
M
必须(Mandatory)
Repeat 1
PIA
ADDITIONAL PRODUCT ID
O
可选(Optional)
Repeat 1
QTY
QUANTITY
O
可选(Optional)
Repeat 1
PRI
PRICE DETAILS
O
可选(Optional)
Repeat 2
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
MEA
MEASUREMENTS
O
可选(Optional)
Repeat 5
QVA
QUANTITY VARIANCES
O
可选(Optional)
Repeat 5
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 15
NAD
NAME AND ADDRESS
O
可选(Optional)
Repeat 10
GIR
RELATED IDENTIFICATION NUMBERS
O
可选(Optional)
Repeat 9999
DOCLoop3
DOCUMENT/MESSAGE DETAILS LOOP
O
可选(Optional)
Repeat 10
DOC
DTM
DOC
DOCUMENT/MESSAGE DETAILS
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 2
ALCLoop2
ALLOWANCE OR CHARGE LOOP
O
可选(Optional)
Repeat 10
ALC
RTE
MOA
PCD
QTY
CUXLoop4
ALC
ALLOWANCE OR CHARGE
M
必须(Mandatory)
Repeat 1
RTE
RATE DETAILS
O
可选(Optional)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 1
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
QTY
QUANTITY
O
可选(Optional)
Repeat 1
CUXLoop4
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
TODLoop3
TERMS OF DELIVERY LOOP
O
可选(Optional)
Repeat 1
TOD
LOC
TOD
TERMS OF DELIVERY
M
必须(Mandatory)
Repeat 1
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 2
PATLoop2
PAYMENT TERMS BASIS LOOP
O
可选(Optional)
Repeat 5
PAT
MOA
PCD
FTX
PAT
PAYMENT TERMS BASIS
M
必须(Mandatory)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 1
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
IMDLoop1
ITEM DESCRIPTION LOOP
O
可选(Optional)
Repeat 5
IMD
FTX
IMD
ITEM DESCRIPTION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
PACLoop3
PACKAGE LOOP
O
可选(Optional)
Repeat 10
PAC
PCILoop3
PAC
PACKAGE
M
必须(Mandatory)
Repeat 1
PCILoop3
PACKAGE IDENTIFICATION LOOP
O
可选(Optional)
Repeat 999
PCI
FTX
RFF
PCI
PACKAGE IDENTIFICATION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
RFF
REFERENCE
O
可选(Optional)
Repeat 1
CSTLoop1
CUSTOMS STATUS OF GOODS LOOP
O
可选(Optional)
Repeat 9999
CST
FTX
LOC
DTM
MEA
NAD
TDT
PACLoop4
MOALoop3
RFFLoop2
DOCLoop4
TODLoop4
GDSLoop1
GISLoop1
TAXLoop1
QVALoop1
GIRLoop1
CST
CUSTOMS STATUS OF GOODS
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 9
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 25
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 5
MEA
MEASUREMENTS
O
可选(Optional)
Repeat 20
NAD
NAME AND ADDRESS
O
可选(Optional)
Repeat 5
TDT
DETAILS OF TRANSPORT
O
可选(Optional)
Repeat 1
PACLoop4
PACKAGE LOOP
O
可选(Optional)
Repeat 10
PAC
PCILoop4
PAC
PACKAGE
M
必须(Mandatory)
Repeat 1
PCILoop4
PACKAGE IDENTIFICATION LOOP
O
可选(Optional)
Repeat 999
PCI
FTX
PCI
PACKAGE IDENTIFICATION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
MOALoop3
MONETARY AMOUNT LOOP
O
可选(Optional)
Repeat 25
MOA
CUXLoop5
MOA
MONETARY AMOUNT
M
必须(Mandatory)
Repeat 1
CUXLoop5
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
RFFLoop2
REFERENCE LOOP
O
可选(Optional)
Repeat 999
RFF
DTM
GIN
MOA
IMDLoop2
RFF
REFERENCE
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
GIN
GOODS IDENTITY NUMBER
O
可选(Optional)
Repeat 99
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 1
IMDLoop2
ITEM DESCRIPTION LOOP
O
可选(Optional)
Repeat 1
IMD
FTX
IMD
ITEM DESCRIPTION
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 5
DOCLoop4
DOCUMENT/MESSAGE DETAILS LOOP
O
可选(Optional)
Repeat 25
DOC
DTM
LOC
NAD
DOC
DOCUMENT/MESSAGE DETAILS
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 2
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 1
NAD
NAME AND ADDRESS
O
可选(Optional)
Repeat 5
TODLoop4
TERMS OF DELIVERY LOOP
O
可选(Optional)
Repeat 1
TOD
LOC
FTX
TOD
TERMS OF DELIVERY
M
必须(Mandatory)
Repeat 1
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 2
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
GDSLoop1
NATURE OF CARGO LOOP
O
可选(Optional)
Repeat 1
GDS
FTX
GDS
NATURE OF CARGO
M
必须(Mandatory)
Repeat 1
FTX
FREE TEXT
O
可选(Optional)
Repeat 1
GISLoop1
GENERAL INDICATOR LOOP
O
可选(Optional)
Repeat 25
GIS
PCD
DTM
RFF
GIS
GENERAL INDICATOR
M
必须(Mandatory)
Repeat 1
PCD
PERCENTAGE DETAILS
O
可选(Optional)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
RFF
REFERENCE
O
可选(Optional)
Repeat 1
TAXLoop1
DUTY/TAX/FEE DETAILS LOOP
O
可选(Optional)
Repeat 10
TAX
MOA
GIS
TAX
DUTY/TAX/FEE DETAILS
M
必须(Mandatory)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 2
GIS
GENERAL INDICATOR
O
可选(Optional)
Repeat 1
QVALoop1
QUANTITY VARIANCES LOOP
O
可选(Optional)
Repeat 1
QVA
QTY
RFFLoop3
QVA
QUANTITY VARIANCES
M
必须(Mandatory)
Repeat 1
QTY
QUANTITY
O
可选(Optional)
Repeat 1
RFFLoop3
REFERENCE LOOP
O
可选(Optional)
Repeat 1
RFF
DTM
RFF
REFERENCE
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
GIRLoop1
RELATED IDENTIFICATION NUMBERS LOOP
O
可选(Optional)
Repeat 50
GIR
GIS
NAD
MEA
MOALoop4
TAXLoop2
DOCLoop5
GIR
RELATED IDENTIFICATION NUMBERS
M
必须(Mandatory)
Repeat 1
GIS
GENERAL INDICATOR
O
可选(Optional)
Repeat 10
NAD
NAME AND ADDRESS
O
可选(Optional)
Repeat 1
MEA
MEASUREMENTS
O
可选(Optional)
Repeat 5
MOALoop4
MONETARY AMOUNT LOOP
O
可选(Optional)
Repeat 10
MOA
CUXLoop6
MOA
MONETARY AMOUNT
M
必须(Mandatory)
Repeat 1
CUXLoop6
CURRENCIES LOOP
O
可选(Optional)
Repeat 1
CUX
DTM
CUX
CURRENCIES
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
TAXLoop2
DUTY/TAX/FEE DETAILS LOOP
O
可选(Optional)
Repeat 10
TAX
MOA
GIS
TAX
DUTY/TAX/FEE DETAILS
M
必须(Mandatory)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 2
GIS
GENERAL INDICATOR
O
可选(Optional)
Repeat 1
DOCLoop5
DOCUMENT/MESSAGE DETAILS LOOP
O
可选(Optional)
Repeat 5
DOC
DTM
LOC
DOC
DOCUMENT/MESSAGE DETAILS
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 2
LOC
PLACE/LOCATION IDENTIFICATION
O
可选(Optional)
Repeat 1
UNS
M
必须(Mandatory)
Repeat 1
CNT
CONTROL TOTAL
O
可选(Optional)
Repeat 5
TAXLoop3
DUTY/TAX/FEE DETAILS LOOP
O
可选(Optional)
Repeat 50
TAX
MOA
GIS
TAX
DUTY/TAX/FEE DETAILS
M
必须(Mandatory)
Repeat 1
MOA
MONETARY AMOUNT
O
可选(Optional)
Repeat 2
GIS
GENERAL INDICATOR
O
可选(Optional)
Repeat 1
AUTLoop1
AUTHENTICATION RESULT LOOP
O
可选(Optional)
Repeat 1
AUT
DTM
AUT
AUTHENTICATION RESULT
M
必须(Mandatory)
Repeat 1
DTM
DATE/TIME/PERIOD
O
可选(Optional)
Repeat 1
UNT
M
必须(Mandatory)
Repeat 1
Segment
EDIFACT EDI Release D921
UNH
EDI EDIFACT D921 UNH Segment Schema
Elements
UNH01
0062
MESSAGE REFERENCE NUMBER
AN
M
必须(Mandatory)
Min 0 / Max 14
UNH02
S009
MESSAGE IDENTIFIER
M
必须(Mandatory)
0065
0052
0054
0051
0057
UNH0201
0065
Message type identifier
ID
M
必须(Mandatory)
Min 0 / Max 6
Codes (40)
CONTRL
Control message
CREADV
Credit advice
CREEXT
Extended credit advice
CURRAC
Current account message
CUSCAR
Customs cargo report message
CUSDEC
Customs declaration message
CUSREP
Customs conveyance report message
CUSRES
Customs response message
DEBADV
Debit advice
DELFOR
Delivery schedule message
DELJIT
Delivery just-in-time message
DESADV
Despatch advice message
DOCAPP
Application for a documentary credit
GENRAL
General message
IFCSUM
International forwarding and consolidation summary message
IFTMAN
Arrival notice message
IFTMBC
Booking confirmation message
IFTMBF
Firm booking message
IFTMBP
Provisional booking message
IFTMCS
Instruction contract status message
IFTMFR
International forwarding and transport message framework
IFTMIN
Instruction message
INVOIC
Invoice message
INVRPT
Inventory report message
ORDCHG
Purchase order change message
ORDERS
Purchase order message
ORDRSP
Purchase order response message
PARTIN
Party information message
PAXLST
Passenger list message
PAYEXT
Extended payment order
PAYMUL
Multiple payment order
PAYORD
Payment order
PRICAT
Price sales catalogue message
QALITY
Quality data message
QUOTES
Quote message
REINAC
Reinsurance account message
REMADV
Remittance advice message
REQOTE
Request for quote message
STATAC
Statement of account message
TAXCON
Tax control message
UNH0202
0052
Message type version number
AN
M
必须(Mandatory)
Min 0 / Max 3
UNH0203
0054
Message type release number
AN
M
必须(Mandatory)
Min 0 / Max 3
UNH0204
0051
Controlling agency
ID
M
必须(Mandatory)
Min 0 / Max 2
Codes (20)
AA
EDICONSTRUCT
AB
DIN (Deutsches Institut fuer Normung)
AC
ICS (International Chamber of Shipping)
AD
UPU (Union Postale Universelle)
CC
CCC (Customs Co-operation Council)
CE
CEFIC (Conseil Europeen des Federations de l'Industrie Chimique)
EC
EDICON
ED
EDIFICE (Electronic industries project)
EE
EC + EFTA (European Communities and European Free Trade Association)
EN
EAN (International Article Numbering association)
ER
UIC (International Union of railways)
EU
European Communities
EX
IECC (International Express Carriers Conference)
IA
IATA (International Air Transport Association)
LI
LIMNET
OD
ODETTE
RI
RINET (Reinsurance and Insurance Network)
RT
UN/ECE/TRADE/WP.4/GE.1/EDIFACT Rapporteurs Teams
UN
UN/ECE/TRADE/WP.4, United Nations Standard Messages (UNSM)
UIC
International Union of Railways
UNH0205
0057
Association assigned code
AN
O
可选(Optional)
Min 0 / Max 6
UNH03
0068
COMMON ACCESS REFERENCE
AN
O
可选(Optional)
Min 0 / Max 35
UNH04
S010
STATUS OF THE TRANSFER
O
可选(Optional)
0070
0073
UNH0401
0070
Sequence message transfer number
N
M
必须(Mandatory)
Min 0 / Max 2
UNH0402
0073
First/last sequence message transfer indication
ID
O
可选(Optional)
Min 1 / Max 1
Codes (2)
C
Creation
F
Final