LEDGERLedger

The LEDGER message deals with the communication of accounting ledgers between an organization and whoever may use them for the purpose of accounting, auditing, cost accounting, consolidation, financial analysis, etc.

  • UNH
    M必须(Mandatory)
    Repeat 1

    To head, identify and specify a message.

  • BGM
    BEGINNING OF MESSAGE
    M必须(Mandatory)
    Repeat 1

    To indicate the type and function of a message and to transmit the identifying number.

  • DTM
    DATE/TIME/PERIOD
    M必须(Mandatory)
    Repeat 99

    To specify date, and/or time, or period.

  • RFF
    REFERENCE
    O可选(Optional)
    Repeat 99

    To specify a reference.

  • CUX
    CURRENCIES
    O可选(Optional)
    Repeat 99

    To specify currencies used in the transaction and relevant details for the rate of exchange.

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

    To provide free form or coded text information.

  • NADLoop1NAME AND ADDRESS LOOPM必须(Mandatory)Repeat 99
    NADRFFCTALoop1
    • NAD
      NAME AND ADDRESS
      M必须(Mandatory)
      Repeat 1

      To specify the name/address and their related function, either by C082 only and/or unstructured by C058 or structured by C080 thru 3207.

    • RFF
      REFERENCE
      O可选(Optional)
      Repeat 9

      To specify a reference.

    • CTALoop1CONTACT INFORMATION LOOPO可选(Optional)Repeat 99
      CTACOM
      • CTA
        CONTACT INFORMATION
        M必须(Mandatory)
        Repeat 1

        To identify a person or a department to whom communication should be directed.

      • COM
        COMMUNICATION CONTACT
        O可选(Optional)
        Repeat 9

        To identify a communication number of a department or a person to whom communication should be directed.

  • CCILoop1CHARACTERISTIC/CLASS ID LOOPO可选(Optional)Repeat 99
    CCICAV
    • CCI
      CHARACTERISTIC/CLASS ID
      M必须(Mandatory)
      Repeat 1

      To identify and describe a specific characteristic and its relevance for subsequent business processes.

    • CAV
      CHARACTERISTIC VALUE
      O可选(Optional)
      Repeat 1

      To provide the value of a characteristic.

  • SEQLoop1SEQUENCE DETAILS LOOPM必须(Mandatory)Repeat 99999
    SEQCPTFIIINDLoop1QTYLoop1
    • SEQ
      SEQUENCE DETAILS
      M必须(Mandatory)
      Repeat 1

      To provide details relating to the sequence.

    • CPT
      ACCOUNT IDENTIFICATION
      O可选(Optional)
      Repeat 4

      To provide account identification information.

    • FII
      FINANCIAL INSTITUTION INFORMATION
      O可选(Optional)
      Repeat 1

      To identify an account and a related financial institution.

    • INDLoop1INDEX DETAILS LOOPM必须(Mandatory)Repeat 99999
      INDRFFFTXLINLoop1AUTLoop1
      • IND
        INDEX DETAILS
        M必须(Mandatory)
        Repeat 1

        To specify an index.

      • RFF
        REFERENCE
        M必须(Mandatory)
        Repeat 1

        To specify a reference.

      • FTX
        FREE TEXT
        M必须(Mandatory)
        Repeat 1

        To provide free form or coded text information.

      • LINLoop1LINE ITEM LOOPM必须(Mandatory)Repeat 999
        LINCPTRJLDTMFTXPAIRFFQTYTAXFIICUXMOACCILoop2
        • LIN
          LINE ITEM
          M必须(Mandatory)
          Repeat 1

          To identify a line item and configuration.

        • CPT
          ACCOUNT IDENTIFICATION
          O可选(Optional)
          Repeat 4

          To provide account identification information.

        • RJL
          ACCOUNTING JOURNAL IDENTIFICATION
          O可选(Optional)
          Repeat 1

          To identify an accounting journal.

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

          To specify date, and/or time, or period.

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

          To provide free form or coded text information.

        • PAI
          PAYMENT INSTRUCTIONS
          O可选(Optional)
          Repeat 1

          To specify the instructions for payment.

        • RFF
          REFERENCE
          O可选(Optional)
          Repeat 9

          To specify a reference.

        • QTY
          QUANTITY
          O可选(Optional)
          Repeat 9

          To specify a pertinent quantity.

        • TAX
          DUTY/TAX/FEE DETAILS
          O可选(Optional)
          Repeat 9

          To specify relevant duty/tax/fee information.

        • FII
          FINANCIAL INSTITUTION INFORMATION
          O可选(Optional)
          Repeat 1

          To identify an account and a related financial institution.

        • CUX
          CURRENCIES
          O可选(Optional)
          Repeat 9

          To specify currencies used in the transaction and relevant details for the rate of exchange.

        • MOA
          MONETARY AMOUNT
          M必须(Mandatory)
          Repeat 9

          To specify a monetary amount.

        • CCILoop2CHARACTERISTIC/CLASS ID LOOPO可选(Optional)Repeat 9
          CCICAV
          • CCI
            CHARACTERISTIC/CLASS ID
            M必须(Mandatory)
            Repeat 1

            To identify and describe a specific characteristic and its relevance for subsequent business processes.

          • CAV
            CHARACTERISTIC VALUE
            O可选(Optional)
            Repeat 1

            To provide the value of a characteristic.

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

          To specify results of the application of an authentication procedure.

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

          To specify date, and/or time, or period.

    • QTYLoop1QUANTITY LOOPM必须(Mandatory)Repeat 1
      QTYRFFDTMMOA
      • QTY
        QUANTITY
        M必须(Mandatory)
        Repeat 1

        To specify a pertinent quantity.

      • RFF
        REFERENCE
        O可选(Optional)
        Repeat 1

        To specify a reference.

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

        To specify date, and/or time, or period.

      • MOA
        MONETARY AMOUNT
        M必须(Mandatory)
        Repeat 9

        To specify a monetary amount.

  • UNS
    M必须(Mandatory)
    Repeat 1

    To separate header, detail and summary sections of a message.

  • QTYLoop2QUANTITY LOOPM必须(Mandatory)Repeat 1
    QTYRFFDTMMOA
    • QTY
      QUANTITY
      M必须(Mandatory)
      Repeat 1

      To specify a pertinent quantity.

    • RFF
      REFERENCE
      O可选(Optional)
      Repeat 1

      To specify a reference.

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

      To specify date, and/or time, or period.

    • MOA
      MONETARY AMOUNT
      M必须(Mandatory)
      Repeat 9

      To specify a monetary amount.

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

      To specify results of the application of an authentication procedure.

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

      To specify date, and/or time, or period.

  • UNT
    M必须(Mandatory)
    Repeat 1

    To end and check the completeness of a message.

Segment
EDIFACT EDI Release D01A
To head, identify and specify a message.
Elements
  • UNH010062MESSAGE REFERENCE NUMBER
    AN
    M必须(Mandatory)
    Min 0 / Max 14

    Unique message reference assigned by the sender.

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

      Code identifying a type of message and assigned by its controlling agency.

      Codes (211)
    • UNH02020052Message version number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Version number of a message type.

      Codes (8)
    • UNH02030054Message release number
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Release number within the current message version number.

      Codes (55)
    • UNH02040051Controlling agency, coded
      ID
      M必须(Mandatory)
      Min 0 / Max 3

      Code identifying a controlling agency.

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

      Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.

    • UNH02060110Code list directory version number
      AN
      O可选(Optional)
      Min 0 / Max 6

      Version number of the code list directory.

    • UNH02070113Message type sub-function identification
      ID
      O可选(Optional)
      Min 0 / Max 6

      Code identifying a sub-function of a message type.

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

    Reference serving as a key to relate all subsequent transfers of data to the same business case or file.

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

      Number assigned by the sender indicating the transfer sequence of a message related to the same topic. The message could be an addition or a change to an earlier transfer related to the same topic.

    • UNH04020073First and last transfer
      ID
      O可选(Optional)
      Min 1 / Max 1

      Indication used for the first and last message in a sequence of messages related to the same topic.

      Codes (2)
  • UNH05S016MESSAGE SUBSET IDENTIFICATIONO可选(Optional)
    0115011601180051
    • UNH05010115Message subset identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of a message subset, assigned by its controlling agency.

    • UNH05020116Message subset version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message subset.

    • UNH05030118Message subset release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message subset version number.

    • UNH05040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH06S017MESSAGE IMPLEMENTATION GUIDELINE IDENTIFICATIONO可选(Optional)
    0121012201240051
    • UNH06010121Message implementation guideline identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Coded identification of the message implementation guideline, assigned by its controlling agency.

    • UNH06020122Message implementation guideline version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of the message implementation guideline.

    • UNH06030124Message implementation guideline release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the message implementation guideline version number.

    • UNH06040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)
  • UNH07S018SCENARIO IDENTIFICATIONO可选(Optional)
    0127012801300051
    • UNH07010127Scenario identification
      AN
      M必须(Mandatory)
      Min 0 / Max 14

      Code identifying scenario.

    • UNH07020128Scenario version number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Version number of a scenario.

    • UNH07030130Scenario release number
      AN
      O可选(Optional)
      Min 0 / Max 3

      Release number within the scenario version number.

    • UNH07040051Controlling agency, coded
      ID
      O可选(Optional)
      Min 0 / Max 3

      Code identifying a controlling agency.

      Codes (26)