UN/EDIFACT SERVICE_V4 AUTACK Message

Review the AUTACK segment sequence, mandatory fields, repeat counts and valid codes for the SERVICE_V4 EDIFACT directory.

UNH To head, identify and specify a message. (Max 1) Required
  • S009 – Identification of the type, version, etc. of the message being interchanged.
    • 0065 – Code identifying a type of message and assigned by its controlling agency.
      Type: an, Max Length: 6 (Required)
    • 0052 – Version number of a message type.
      Type: an, Max Length: 3 (Required)
    • 0054 – Release number within the current message version number.
      Type: an, Max Length: 3 (Required)
    • 0051 – Code identifying a controlling agency.
      Type: an, Max Length: 3 (Required)
    • 0057 – Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.
      Type: an, Max Length: 6
    • 0110 – Version number of the code list directory.
      Type: an, Max Length: 6
    • 0113 – Code identifying a sub-function of a message type.
      Type: an, Max Length: 6
  • S010 – Statement that the message is one in a sequence of transfers relating to the same topic.
    • 0070 – 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.
      Type: n, Max Length: 2 (Required)
    • 0073 – Indication used for the first and last message in a sequence of messages related to the same topic.
      Type: a, Max Length:
  • S016 – Identification of a message subset by its identifier, version, release and source.
    • 0115 – Coded identification of a message subset, assigned by its controlling agency.
      Type: an, Max Length: 14 (Required)
    • 0116 – Version number of the message subset.
      Type: an, Max Length: 3
    • 0118 – Release number within the message subset version number.
      Type: an, Max Length: 3
    • 0051 – Code identifying a controlling agency.
      Type: an, Max Length: 3
  • S018 – Identification of a scenario.
    • 0127 – Code identifying scenario.
      Type: an, Max Length: 14 (Required)
    • 0128 – Version number of a scenario.
      Type: an, Max Length: 3
    • 0130 – Release number within the scenario version number.
      Type: an, Max Length: 3
    • 0051 – Code identifying a controlling agency.
      Type: an, Max Length: 3
  • 0062 – Unique message reference assigned by the sender.
    Type: an, Max Length: 14 (Required)
  • 0068 – Reference serving as a key to relate all subsequent transfers of data to the same business case or file.
    Type: an, Max Length: 35
Group SG1 (Max 99) Required
USH To specify a security mechanism applied to a EDIFACT structure (i.e.: either message/package, group or interchange). (Max 1) Required
  • S500 – Identification of parties involved in the security process.
    • 0577 – Identification of the role of the security party.
      Type: an, Max Length: 3 (Required)
    • 0538 – Name used to establish a key relationship between the parties.
      Type: an, Max Length: 35
    • 0511 – Identification of a party involved in the security process, according to a defined registry of security parties.
      Type: an, Max Length: 1024
    • 0513 – Identification of the type of identification used to register the security parties.
      Type: an, Max Length: 3
    • 0515 – Identification of the agency in charge of registration of the security parties.
      Type: an, Max Length: 3
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
  • S501 – Security related date and time.
    • 0517 – Specification of the type of date and time.
      Type: an, Max Length: 3 (Required)
    • 0338 – Date of event.
      Type: n, Max Length: 8
    • 0314 – Time of event.
      Type: an, Max Length: 15
    • 0336 – UTC (Universal Co-ordinated Time) offset from event time.
      Type: n, Max Length:
  • 0501 – Specification of the security service applied.
    Type: an, Max Length: 3 (Required)
  • 0534 – Unique reference number assigned by the security originator to a pair of security header and security trailer groups.
    Type: an, Max Length: 14 (Required)
  • 0541 – Specification of the scope of application of the security service defined in the security header.
    Type: an, Max Length: 3
  • 0503 – Specification of the type of response expected from the recipient.
    Type: an, Max Length: 3
  • 0505 – Identification of the filtering function used to reversibly map any bit pattern on to a restricted character set.
    Type: an, Max Length: 3
  • 0507 – Identification of the character set in which the secured EDIFACT structure was encoded when security mechanisms were applied.
    Type: an, Max Length: 3
  • 0509 – Identification of the role of the security provider in relation to the secured item.
    Type: an, Max Length: 3
  • 0520 – Sequence number assigned to the EDIFACT structure to which security is applied.
    Type: an, Max Length: 35
USA To identify a security algorithm, the technical usage made of it, and to contain the technical parameters required. (Max 3)
  • S502 – Identification of a security algorithm.
    • 0523 – Specification of the usage made of the algorithm.
      Type: an, Max Length: 3 (Required)
    • 0525 – Specification of the mode of operation used for the algorithm.
      Type: an, Max Length: 3
    • 0533 – Specification of the code list used to identify the cryptographic mode of operation.
      Type: an, Max Length: 3
    • 0527 – Identification of the algorithm.
      Type: an, Max Length: 3
    • 0529 – Specification of the code list used to identify the algorithm.
      Type: an, Max Length: 3
    • 0591 – Padding mechanism or padding scheme applied.
      Type: an, Max Length: 3
    • 0601 – Specification of the code list used to identify the padding mechanism or padding scheme.
      Type: an, Max Length: 3
  • S503 – Parameter required by a security algorithm.
    • 0531 – Specification of the type of parameter value.
      Type: an, Max Length: 3 (Required)
    • 0554 – Value of a parameter required by the algorithm.
      Type: an, Max Length: 512 (Required)
Group SG2 (Max 2)
USC To convey the public key and the credentials of its owner. (Max 1) Required
  • S500 – Identification of parties involved in the security process.
    • 0577 – Identification of the role of the security party.
      Type: an, Max Length: 3 (Required)
    • 0538 – Name used to establish a key relationship between the parties.
      Type: an, Max Length: 35
    • 0511 – Identification of a party involved in the security process, according to a defined registry of security parties.
      Type: an, Max Length: 1024
    • 0513 – Identification of the type of identification used to register the security parties.
      Type: an, Max Length: 3
    • 0515 – Identification of the agency in charge of registration of the security parties.
      Type: an, Max Length: 3
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
    • 0586 – Name of the security party.
      Type: an, Max Length: 35
  • S505 – Identification of the characters used as syntactical service characters when a signature was computed.
    • 0551 – Identification of the type of service character used when the signature was computed.
      Type: an, Max Length: 3 (Required)
    • 0548 – Service character used when the signature was computed.
      Type: an, Max Length: 4 (Required)
  • S501 – Security related date and time.
    • 0517 – Specification of the type of date and time.
      Type: an, Max Length: 3 (Required)
    • 0338 – Date of event.
      Type: n, Max Length: 8
    • 0314 – Time of event.
      Type: an, Max Length: 15
    • 0336 – UTC (Universal Co-ordinated Time) offset from event time.
      Type: n, Max Length:
  • 0536 – Identifies one certificate for a certification authority.
    Type: an, Max Length: 35
  • 0545 – Coded identification of the syntax and version used to create the certificate.
    Type: an, Max Length: 3
  • 0505 – Identification of the filtering function used to reversibly map any bit pattern on to a restricted character set.
    Type: an, Max Length: 3
  • 0507 – Identification of the character set in which the secured EDIFACT structure was encoded when security mechanisms were applied.
    Type: an, Max Length: 3
  • 0546 – Specification of the authorisation level associated with the owner of the certificate.
    Type: an, Max Length: 35
  • 0567 – Identification of the security element (key or certificate, for instance) status.
    Type: an, Max Length: 3
  • 0569 – Identification of the reason why the certificate has been revoked.
    Type: an, Max Length: 3
USA To identify a security algorithm, the technical usage made of it, and to contain the technical parameters required. (Max 3)

Elements and codes as defined at USA above.

USR To contain the result of the security mechanisms. (Max 1)
  • S508 – Result of the application of the security mechanism.
    • 0563 – Identification of the type of validation value.
      Type: an, Max Length: 3 (Required)
    • 0560 – Security result corresponding to the security function specified.
      Type: an, Max Length: 1024
USB To contain details related to the AUTACK. (Max 1) Required
  • S501 – Security related date and time.
    • 0517 – Specification of the type of date and time.
      Type: an, Max Length: 3 (Required)
    • 0338 – Date of event.
      Type: n, Max Length: 8
    • 0314 – Time of event.
      Type: an, Max Length: 15
    • 0336 – UTC (Universal Co-ordinated Time) offset from event time.
      Type: n, Max Length:
  • S002 – Identification of the sender of the interchange.
    • 0004 – Name or coded identification of the sender of the interchange.
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
    • 0008 – Identification (for example, a division, branch or computer system/process) specified by the sender of interchange, to be included if agreed, by the recipient in response interchanges, to facilitate internal routing.
      Type: an, Max Length: 35
    • 0042 – Sub-level of sender internal identification, when further sub-level identification is required.
      Type: an, Max Length: 35
  • S003 – Identification of the recipient of the interchange.
    • 0010 – Name or coded identification of the recipient of the interchange.
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
    • 0014 – Identification (for example, a division, branch or computer system/process) specified by the recipient of interchange, to be included if agreed, by the sender in response interchanges, to facilitate internal routing.
      Type: an, Max Length: 35
    • 0046 – Sub-level of recipient internal identification, when further sub-level identification is required.
      Type: an, Max Length: 35
  • 0503 – Specification of the type of response expected from the recipient.
    Type: an, Max Length: 3 (Required)
Group SG3 (Max 9999) Required
USX To refer to the secured EDIFACT structure and its associated date and time. (Max 1) Required
  • S002 – Identification of the sender of the interchange.
    • 0004 – Name or coded identification of the sender of the interchange.
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
    • 0008 – Identification (for example, a division, branch or computer system/process) specified by the sender of interchange, to be included if agreed, by the recipient in response interchanges, to facilitate internal routing.
      Type: an, Max Length: 35
    • 0042 – Sub-level of sender internal identification, when further sub-level identification is required.
      Type: an, Max Length: 35
  • S003 – Identification of the recipient of the interchange.
    • 0010 – Name or coded identification of the recipient of the interchange.
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
    • 0014 – Identification (for example, a division, branch or computer system/process) specified by the recipient of interchange, to be included if agreed, by the sender in response interchanges, to facilitate internal routing.
      Type: an, Max Length: 35
    • 0046 – Sub-level of recipient internal identification, when further sub-level identification is required.
      Type: an, Max Length: 35
  • S006 – Sender identification of for example a division, branch or application computer system/process.
    • 0040 – Name or coded identification of the application sender (for example, a division, branch or computer system/process).
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
  • S007 – Recipient identification of for example a division, branch or application computer system/process.
    • 0044 – Name or coded identification of the application recipient (for example, a division, branch or computer system/process).
      Type: an, Max Length: 35 (Required)
    • 0007 – Qualifier referring to the identification code.
      Type: an, Max Length: 4
  • S009 – Identification of the type, version, etc. of the message being interchanged.
    • 0065 – Code identifying a type of message and assigned by its controlling agency.
      Type: an, Max Length: 6 (Required)
    • 0052 – Version number of a message type.
      Type: an, Max Length: 3 (Required)
    • 0054 – Release number within the current message version number.
      Type: an, Max Length: 3 (Required)
    • 0051 – Code identifying a controlling agency.
      Type: an, Max Length: 3 (Required)
    • 0057 – Code, assigned by the association responsible for the design and maintenance of the message type concerned, which further identifies the message.
      Type: an, Max Length: 6
    • 0110 – Version number of the code list directory.
      Type: an, Max Length: 6
    • 0113 – Code identifying a sub-function of a message type.
      Type: an, Max Length: 6
  • S501 – Security related date and time.
    • 0517 – Specification of the type of date and time.
      Type: an, Max Length: 3 (Required)
    • 0338 – Date of event.
      Type: n, Max Length: 8
    • 0314 – Time of event.
      Type: an, Max Length: 15
    • 0336 – UTC (Universal Co-ordinated Time) offset from event time.
      Type: n, Max Length:
  • 0020 – Unique reference assigned by the sender to an interchange.
    Type: an, Max Length: 14 (Required)
  • 0048 – Unique reference number for the group within an interchange.
    Type: an, Max Length: 14
  • 0062 – Unique message reference assigned by the sender.
    Type: an, Max Length: 14
  • 0800 – Unique package reference number assigned by the sender.
    Type: an, Max Length: 35
USY To identify the applicable header, and to contain the security result and/or to indicate the possible cause of security rejection for the referred value. (Max 9) Required
  • S508 – Result of the application of the security mechanism.
    • 0563 – Identification of the type of validation value.
      Type: an, Max Length: 3 (Required)
    • 0560 – Security result corresponding to the security function specified.
      Type: an, Max Length: 1024
  • 0534 – Unique reference number assigned by the security originator to a pair of security header and security trailer groups.
    Type: an, Max Length: 14 (Required)
  • 0571 – Identifies the security error causing the rejection of the EDIFACT structure.
    Type: an, Max Length: 3
Group SG4 (Max 99) Required
UST To establish a link between security header and security trailer segment groups. (Max 1) Required
  • 0534 – Unique reference number assigned by the security originator to a pair of security header and security trailer groups.
    Type: an, Max Length: 14 (Required)
  • 0588 – The number of security segments in a security header/trailer group pair, plus the USD and USU segments where the security header/trailer group pair is used for encryption.
    Type: n, Max Length: 10 (Required)
USR To contain the result of the security mechanisms. (Max 1)

Elements and codes as defined at USR above.

UNT To end and check the completeness of a message. (Max 1) Required
  • 0074 – The number of segments in a message body, plus the message header segment and message trailer segment.
    Type: n, Max Length: 10 (Required)
  • 0062 – Unique message reference assigned by the sender.
    Type: an, Max Length: 14 (Required)

Sources and further reading