CUSDEC

EDI EDIFACT D95B 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

  • RFFLoop1REFERENCE LOOPO可选(Optional)Repeat 99
    RFFDTMPACLoop1
    • RFF
      REFERENCE
      M必须(Mandatory)
      Repeat 1

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 1

    • PACLoop1PACKAGE LOOPO可选(Optional)Repeat 10
      PACPCILoop1
      • PAC
        PACKAGE
        M必须(Mandatory)
        Repeat 1

      • PCILoop1PACKAGE IDENTIFICATION LOOPO可选(Optional)Repeat 999
        PCIFTX
        • PCI
          PACKAGE IDENTIFICATION
          M必须(Mandatory)
          Repeat 1

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 1

  • TDTLoop1DETAILS OF TRANSPORT LOOPO可选(Optional)Repeat 5
    TDTTPL
    • TDT
      DETAILS OF TRANSPORT
      M必须(Mandatory)
      Repeat 1

    • TPL
      TRANSPORT PLACEMENT
      O可选(Optional)
      Repeat 1

  • DOCLoop1DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 10
    DOCDTMLOC
    • DOC
      DOCUMENT/MESSAGE DETAILS
      M必须(Mandatory)
      Repeat 1

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 2

    • LOC
      PLACE/LOCATION IDENTIFICATION
      O可选(Optional)
      Repeat 1

  • NADLoop1NAME AND ADDRESS LOOPO可选(Optional)Repeat 10
    NADRFFCTACOM
    • 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

  • TODLoop1TERMS OF DELIVERY OR TRANSPORT LOOPO可选(Optional)Repeat 1
    TODLOCFTX
    • TOD
      TERMS OF DELIVERY OR TRANSPORT
      M必须(Mandatory)
      Repeat 1

    • LOC
      PLACE/LOCATION IDENTIFICATION
      O可选(Optional)
      Repeat 2

    • FTX
      FREE TEXT
      O可选(Optional)
      Repeat 1

  • MOALoop1MONETARY AMOUNT LOOPO可选(Optional)Repeat 25
    MOACUXLoop1
    • MOA
      MONETARY AMOUNT
      M必须(Mandatory)
      Repeat 1

    • CUXLoop1CURRENCIES LOOPO可选(Optional)Repeat 1
      CUXDTM
      • CUX
        CURRENCIES
        M必须(Mandatory)
        Repeat 1

      • DTM
        DATE/TIME/PERIOD
        O可选(Optional)
        Repeat 1

  • UNS
    M必须(Mandatory)
    Repeat 1

  • DMSLoop1DOCUMENT/MESSAGE SUMMARY LOOPO可选(Optional)Repeat 999
    DMSDTMMEAMOALoop2TODLoop2NADLoop2PACLoop2PATLoop1ALCLoop1LINLoop1
    • DMS
      DOCUMENT/MESSAGE SUMMARY
      M必须(Mandatory)
      Repeat 1

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 1

    • MEA
      MEASUREMENTS
      O可选(Optional)
      Repeat 5

    • MOALoop2MONETARY AMOUNT LOOPO可选(Optional)Repeat 25
      MOACUXLoop2
      • MOA
        MONETARY AMOUNT
        M必须(Mandatory)
        Repeat 1

      • CUXLoop2CURRENCIES LOOPO可选(Optional)Repeat 1
        CUXDTM
        • CUX
          CURRENCIES
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 1

    • TODLoop2TERMS OF DELIVERY OR TRANSPORT LOOPO可选(Optional)Repeat 1
      TODLOCFTX
      • TOD
        TERMS OF DELIVERY OR TRANSPORT
        M必须(Mandatory)
        Repeat 1

      • LOC
        PLACE/LOCATION IDENTIFICATION
        O可选(Optional)
        Repeat 2

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 1

    • NADLoop2NAME AND ADDRESS LOOPO可选(Optional)Repeat 10
      NADDOCLoop2
      • NAD
        NAME AND ADDRESS
        M必须(Mandatory)
        Repeat 1

      • DOCLoop2DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 10
        DOCDTMLOC
        • DOC
          DOCUMENT/MESSAGE DETAILS
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 2

        • LOC
          PLACE/LOCATION IDENTIFICATION
          O可选(Optional)
          Repeat 1

    • PACLoop2PACKAGE LOOPO可选(Optional)Repeat 10
      PACPCILoop2
      • PAC
        PACKAGE
        M必须(Mandatory)
        Repeat 1

      • PCILoop2PACKAGE IDENTIFICATION LOOPO可选(Optional)Repeat 999
        PCIFTXRFF
        • PCI
          PACKAGE IDENTIFICATION
          M必须(Mandatory)
          Repeat 1

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 1

        • RFF
          REFERENCE
          O可选(Optional)
          Repeat 1

    • PATLoop1PAYMENT TERMS BASIS LOOPO可选(Optional)Repeat 5
      PATMOAPCDFTX
      • 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

    • ALCLoop1ALLOWANCE OR CHARGE LOOPO可选(Optional)Repeat 10
      ALCRTEMOAPCDQTYCUXLoop3
      • 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

      • CUXLoop3CURRENCIES LOOPO可选(Optional)Repeat 1
        CUXDTM
        • CUX
          CURRENCIES
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 1

    • LINLoop1LINE ITEM LOOPO可选(Optional)Repeat 9999
      LINPIAQTYPRIPCDMEAQVRMOANADGIRDOCLoop3ALCLoop2TODLoop3PATLoop2IMDLoop1PACLoop3
      • 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

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

      • DOCLoop3DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 10
        DOCDTM
        • DOC
          DOCUMENT/MESSAGE DETAILS
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 2

      • ALCLoop2ALLOWANCE OR CHARGE LOOPO可选(Optional)Repeat 10
        ALCRTEMOAPCDQTYCUXLoop4
        • 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

        • CUXLoop4CURRENCIES LOOPO可选(Optional)Repeat 1
          CUXDTM
          • CUX
            CURRENCIES
            M必须(Mandatory)
            Repeat 1

          • DTM
            DATE/TIME/PERIOD
            O可选(Optional)
            Repeat 1

      • TODLoop3TERMS OF DELIVERY OR TRANSPORT LOOPO可选(Optional)Repeat 1
        TODLOC
        • TOD
          TERMS OF DELIVERY OR TRANSPORT
          M必须(Mandatory)
          Repeat 1

        • LOC
          PLACE/LOCATION IDENTIFICATION
          O可选(Optional)
          Repeat 2

      • PATLoop2PAYMENT TERMS BASIS LOOPO可选(Optional)Repeat 5
        PATMOAPCDFTX
        • 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

      • IMDLoop1ITEM DESCRIPTION LOOPO可选(Optional)Repeat 5
        IMDFTX
        • IMD
          ITEM DESCRIPTION
          M必须(Mandatory)
          Repeat 1

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 1

      • PACLoop3PACKAGE LOOPO可选(Optional)Repeat 10
        PACPCILoop3
        • PAC
          PACKAGE
          M必须(Mandatory)
          Repeat 1

        • PCILoop3PACKAGE IDENTIFICATION LOOPO可选(Optional)Repeat 999
          PCIFTXRFF
          • PCI
            PACKAGE IDENTIFICATION
            M必须(Mandatory)
            Repeat 1

          • FTX
            FREE TEXT
            O可选(Optional)
            Repeat 1

          • RFF
            REFERENCE
            O可选(Optional)
            Repeat 1

  • CSTLoop1CUSTOMS STATUS OF GOODS LOOPO可选(Optional)Repeat 9999
    CSTFTXLOCDTMMEANADTDTPACLoop4MOALoop3RFFLoop2DOCLoop4TODLoop4GDSLoop1GISLoop1TAXLoop1QVRLoop1GIRLoop1
    • 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

    • PACLoop4PACKAGE LOOPO可选(Optional)Repeat 10
      PACPCILoop4
      • PAC
        PACKAGE
        M必须(Mandatory)
        Repeat 1

      • PCILoop4PACKAGE IDENTIFICATION LOOPO可选(Optional)Repeat 999
        PCIFTX
        • PCI
          PACKAGE IDENTIFICATION
          M必须(Mandatory)
          Repeat 1

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 1

    • MOALoop3MONETARY AMOUNT LOOPO可选(Optional)Repeat 25
      MOACUXLoop5
      • MOA
        MONETARY AMOUNT
        M必须(Mandatory)
        Repeat 1

      • CUXLoop5CURRENCIES LOOPO可选(Optional)Repeat 1
        CUXDTM
        • CUX
          CURRENCIES
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 1

    • RFFLoop2REFERENCE LOOPO可选(Optional)Repeat 999
      RFFDTMGINMOAIMDLoop2
      • 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

      • IMDLoop2ITEM DESCRIPTION LOOPO可选(Optional)Repeat 1
        IMDFTX
        • IMD
          ITEM DESCRIPTION
          M必须(Mandatory)
          Repeat 1

        • FTX
          FREE TEXT
          O可选(Optional)
          Repeat 5

    • DOCLoop4DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 25
      DOCDTMLOCNAD
      • 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

    • TODLoop4TERMS OF DELIVERY OR TRANSPORT LOOPO可选(Optional)Repeat 1
      TODLOCFTX
      • TOD
        TERMS OF DELIVERY OR TRANSPORT
        M必须(Mandatory)
        Repeat 1

      • LOC
        PLACE/LOCATION IDENTIFICATION
        O可选(Optional)
        Repeat 2

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 1

    • GDSLoop1NATURE OF CARGO LOOPO可选(Optional)Repeat 1
      GDSFTX
      • GDS
        NATURE OF CARGO
        M必须(Mandatory)
        Repeat 1

      • FTX
        FREE TEXT
        O可选(Optional)
        Repeat 1

    • GISLoop1GENERAL INDICATOR LOOPO可选(Optional)Repeat 25
      GISPCDDTMRFF
      • 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

    • TAXLoop1DUTY/TAX/FEE DETAILS LOOPO可选(Optional)Repeat 10
      TAXMOAGIS
      • TAX
        DUTY/TAX/FEE DETAILS
        M必须(Mandatory)
        Repeat 1

      • MOA
        MONETARY AMOUNT
        O可选(Optional)
        Repeat 2

      • GIS
        GENERAL INDICATOR
        O可选(Optional)
        Repeat 1

    • QVRLoop1QUANTITY VARIANCES LOOPO可选(Optional)Repeat 1
      QVRQTYRFFLoop3
      • QVR
        QUANTITY VARIANCES
        M必须(Mandatory)
        Repeat 1

      • QTY
        QUANTITY
        O可选(Optional)
        Repeat 1

      • RFFLoop3REFERENCE LOOPO可选(Optional)Repeat 1
        RFFDTM
        • RFF
          REFERENCE
          M必须(Mandatory)
          Repeat 1

        • DTM
          DATE/TIME/PERIOD
          O可选(Optional)
          Repeat 1

    • GIRLoop1RELATED IDENTIFICATION NUMBERS LOOPO可选(Optional)Repeat 50
      GIRGISNADMEAMOALoop4TAXLoop2DOCLoop5
      • 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

      • MOALoop4MONETARY AMOUNT LOOPO可选(Optional)Repeat 10
        MOACUXLoop6
        • MOA
          MONETARY AMOUNT
          M必须(Mandatory)
          Repeat 1

        • CUXLoop6CURRENCIES LOOPO可选(Optional)Repeat 1
          CUXDTM
          • CUX
            CURRENCIES
            M必须(Mandatory)
            Repeat 1

          • DTM
            DATE/TIME/PERIOD
            O可选(Optional)
            Repeat 1

      • TAXLoop2DUTY/TAX/FEE DETAILS LOOPO可选(Optional)Repeat 10
        TAXMOAGIS
        • TAX
          DUTY/TAX/FEE DETAILS
          M必须(Mandatory)
          Repeat 1

        • MOA
          MONETARY AMOUNT
          O可选(Optional)
          Repeat 2

        • GIS
          GENERAL INDICATOR
          O可选(Optional)
          Repeat 1

      • DOCLoop5DOCUMENT/MESSAGE DETAILS LOOPO可选(Optional)Repeat 5
        DOCDTMLOC
        • 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

  • TAXLoop3DUTY/TAX/FEE DETAILS LOOPO可选(Optional)Repeat 50
    TAXMOAGIS
    • TAX
      DUTY/TAX/FEE DETAILS
      M必须(Mandatory)
      Repeat 1

    • MOA
      MONETARY AMOUNT
      O可选(Optional)
      Repeat 2

    • GIS
      GENERAL INDICATOR
      O可选(Optional)
      Repeat 1

  • AUTLoop1AUTHENTICATION RESULT LOOPO可选(Optional)Repeat 1
    AUTDTM
    • AUT
      AUTHENTICATION RESULT
      M必须(Mandatory)
      Repeat 1

    • DTM
      DATE/TIME/PERIOD
      O可选(Optional)
      Repeat 1

  • UNT
    M必须(Mandatory)
    Repeat 1

Segment
EDIFACT EDI Release D95B
EDI EDIFACT D95B UNH Segment Schema
Elements
  • UNH010062MESSAGE REFERENCE NUMBER
    AN
    M必须(Mandatory)
    Min 0 / Max 14

  • UNH02S009MESSAGE IDENTIFIERM必须(Mandatory)
    00650052005400510057
    • UNH02010065Message type identifier
      ID
      M必须(Mandatory)
      Min 0 / Max 6

      Codes (116)
    • UNH02020052Message type version number
      AN
      M必须(Mandatory)
      Min 0 / Max 3

    • UNH02030054Message type release number
      AN
      M必须(Mandatory)
      Min 0 / Max 3

    • UNH02040051Controlling agency
      ID
      M必须(Mandatory)
      Min 0 / Max 2

      Codes (20)
    • UNH02050057Association assigned code
      AN
      O可选(Optional)
      Min 0 / Max 6

  • UNH030068COMMON ACCESS REFERENCE
    AN
    O可选(Optional)
    Min 0 / Max 35

  • UNH04S010STATUS OF THE TRANSFERO可选(Optional)
    00700073
    • UNH04010070Sequence message transfer number
      N
      M必须(Mandatory)
      Min 0 / Max 2

    • UNH04020073First/last sequence message transfer indication
      ID
      O可选(Optional)
      Min 1 / Max 1

      Codes (2)