UN/EDIFACT SERVICE_V4 KEYMAN Message
Review the KEYMAN 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
-
0065 – Code identifying a type of message and assigned by its controlling agency.
-
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:
-
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.
-
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
-
0115 – Coded identification of a message subset, assigned by its controlling agency.
-
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
-
0127 – Code identifying scenario.
-
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 999)
USE To specify the relation to earlier security messages, such as response to a particular request, or request for a particular answer. (Max 1) Required
-
0565 – Relationship with another message, past or future.
Type: an, Max Length: 3 (Required)
USX To refer to the secured EDIFACT structure and its associated date and time. (Max 1)
-
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
-
0004 – Name or coded identification of the sender of the interchange.
-
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
-
0010 – Name or coded identification of the recipient of the interchange.
-
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
-
0040 – Name or coded identification of the application sender (for example, a division, branch or computer system/process).
-
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
-
0044 – Name or coded identification of the application recipient (for example, a division, branch or computer system/process).
-
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
-
0065 – Code identifying a type of message and assigned by its controlling agency.
-
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:
-
0517 – Specification of the type of date and time.
-
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
Group SG2 (Max 9) Required
USF To specify the type of key management function and the status of a corresponding key or certificate. (Max 1) Required
-
S504 – Identification of a parameter for a list request or delivery
-
0575 – Specification of the type of list parameter.
Type: an, Max Length: 3 (Required) -
0558 – Specification of the list requested or delivered.
Type: an, Max Length: 70 (Required)
-
0575 – Specification of the type of list parameter.
-
0579 – Specification of the type of key management function.
Type: an, Max Length: 3 -
0567 – Identification of the security element (key or certificate, for instance) status.
Type: an, Max Length: 3 -
0572 – Specification of a certificate's position within a certification path.
Type: n, Max Length: 4 -
0505 – Identification of the filtering function used to reversibly map any bit pattern on to a restricted character set.
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 1)
-
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
-
0523 – Specification of the usage made of the algorithm.
-
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)
-
0531 – Specification of the type of parameter value.
Group SG3 (Max 1)
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
-
0577 – Identification of the role of the security party.
-
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)
-
0551 – Identification of the type of service character used when the signature was computed.
-
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:
-
0517 – Specification of the type of date and time.
-
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
-
0563 – Identification of the type of validation value.
Group SG4 (Max 99)
USL To specify the status of security objects, such as keys or certificates to be delivered in a list, and the corresponding list parameters. (Max 1) Required
-
S504 – Identification of a parameter for a list request or delivery
-
0575 – Specification of the type of list parameter.
Type: an, Max Length: 3 (Required) -
0558 – Specification of the list requested or delivered.
Type: an, Max Length: 70 (Required)
-
0575 – Specification of the type of list parameter.
-
0567 – Identification of the security element (key or certificate, for instance) status.
Type: an, Max Length: 3 (Required)
Group SG5 (Max 9999) Required
USC To convey the public key and the credentials of its owner. (Max 1) Required
Elements and codes as defined at USC above.
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)
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
- GS1 EDI standards GS1 guidance on EDI standards used for supply-chain document exchange.
- UNECE introduction to UN/EDIFACT United Nations guidance on UN/EDIFACT for structured business data exchange.
- X12 EDI standards Official X12 standards body for North American EDI transaction standards.
- OpenPeppol post-award specifications OpenPeppol documentation for e-procurement and e-invoicing specifications.