UNB object is only used as part of the EdifactInterchange object and represents the standard EDIFACT UNB segment, interchange header.
Example
{
"SYNTAXIDENTIFIER_1": {
"SyntaxIdentifier_1": "UNOB",
"SyntaxVersionNumber_2": "1"
},
"INTERCHANGESENDER_2": {
"InterchangeSenderIdentification_1": "102096559TEST",
"IdentificationCodeQualifier_2": "16",
"InterchangeSenderInternalIdentification_3": "ZZUK"
},
"INTERCHANGERECIPIENT_3": {
"InterchangeRecipientIdentification_1": "PARTNERID",
"IdentificationCodeQualifier_2": "01",
"InterchangeRecipientInternalIdentification_3": "ZZUK"
},
"DATEANDTIMEOFPREPARATION_4": {
"Date_1": "071101",
"Time_2": "1701"
},
"InterchangeControlReference_5": "131",
"ApplicationReference_7": "INVOIC",
"AcknowledgementRequest_9": "1",
"TestIndicator_11": "1"
}
Attributes
SYNTAXIDENTIFIER_1 object
Syntax identifier.
-
SyntaxIdentifier_1 string
a3, upper case Controlling Agency (e.g. UNO=UN/ECE) and a1 stating level (e.g. A) (which together give UNOA).
-
SyntaxVersionNumber_2 string
Increments 1 for each new version. Shall be 2 to indicate this version.
INTERCHANGESENDER_2 object
The interchange sender.
-
InterchangeSenderIdentification_1 string
Sender identification. Code or name as specified in IA
-
IdentificationCodeQualifier_2 string
Partner identification code qualifier. Used with sender identification code.
-
InterchangeSenderInternalIdentification_3 string
Address for reverse routing.
INTERCHANGERECIPIENT_3 object
The interchange recipient.
-
InterchangeRecipientIdentification_1 string
Recipient Identification. Code or name as specified in IA
-
IdentificationCodeQualifier_2 string
Partner identification code qualifier. Used with recipient identification code.
-
InterchangeRecipientInternalIdentification_3 string
Routing address. If used, normally coded sub-address for onward routing.
DATEANDTIMEOFPREPARATION_4 object
The date and time when the interchange was created.
-
Date_1 string
Date.
-
Time_2 string
Time.
InterchangeControlReference_5 string
Unique reference assigned by sender.
RECIPIENTSREFERENCEPASSWORDDETAILS_6 object
The date and time when the interchange was created.
-
RecipientReferencePassword_1 string
Recipient's reference/password.
-
RecipientReferencePasswordQualifier_2 string
Recipient's reference/password qualifier.
ApplicationReference_7 string
Optionally message identification if the interchange contains only one type of message.
ProcessingPriorityCode_8 string
Used if specified in IA.
AcknowledgementRequest_9 string
Set = 1 if senderrequests acknowledgement, i.e. UNB and UNZ segments received and identified.
InterchangeAgreementIdentifier_10 string
If used, to identify type of communication agreement controlling the interchange,e.g. Customs or ECE greement. Code or name as specified in IA.
TestIndicator_11 string
Set = 1 if the interchange is a test. Otherwise not used used.