Skip to content

Instantly share code, notes, and snippets.

@tfennelly
Created March 14, 2011 09:25
Show Gist options
  • Save tfennelly/868930 to your computer and use it in GitHub Desktop.
Save tfennelly/868930 to your computer and use it in GitHub Desktop.
<env:unEdifact xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:UNB xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:syntaxIdentifier>
<env:id>UNOA</env:id>
<env:versionNum>4</env:versionNum>
</env:syntaxIdentifier>
<env:sender>
<env:id>LOCK</env:id>
<env:codeQualifier>02</env:codeQualifier>
</env:sender>
<env:recipient>
<env:id>CBP-ACE-TEST</env:id>
<env:codeQualifier>02</env:codeQualifier>
</env:recipient>
<env:dateTime>
<env:date>041013</env:date>
<env:time>1901</env:time>
</env:dateTime>
<env:controlRef>16</env:controlRef>
<env:recipientRef>
</env:recipientRef>
<env:applicationRef>ACE</env:applicationRef>
</env:UNB>
<env:group xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:UNG>
<env:groupId>PAXLST</env:groupId>
<env:senderApp>
<env:id>LOCK</env:id>
<env:codeQualifier>02</env:codeQualifier>
</env:senderApp>
<env:recipientApp>
<env:id>CBP-A+CE-TEST</env:id>
<env:codeQualifier>02</env:codeQualifier>
</env:recipientApp>
<env:dateTime>
<env:date>041013</env:date>
<env:time>1901</env:time>
</env:dateTime>
<env:groupRef>16</env:groupRef>
<env:controllingAgencyCode>UN</env:controllingAgencyCode>
<env:messageVersion>
<env:versionNum>D</env:versionNum>
<env:releaseNum>03B</env:releaseNum>
</env:messageVersion>
</env:UNG>
<env:interchangeMessage xmlns:c="urn:org.milyn.edi.unedifact:un:d03b:common" xmlns:paxlst="urn:org.milyn.edi.unedifact:un:d03b:paxlst">
<env:UNH>
<env:messageRefNum>PAXLST16</env:messageRefNum>
<env:messageIdentifier>
<env:id>PAXLST</env:id>
<env:versionNum>D</env:versionNum>
<env:releaseNum>03B</env:releaseNum>
<env:controllingAgencyCode>UN</env:controllingAgencyCode>
</env:messageIdentifier>
</env:UNH>
<paxlst:PAXLST>
<paxlst:Beginning_of_message>
<c:DOCUMENT_MESSAGE_NAME>
<c:Document_name_code>10</c:Document_name_code>
</c:DOCUMENT_MESSAGE_NAME>
<c:DOCUMENT_MESSAGE_IDENTIFICATION>
<c:Document_identifier>LOCKKH04103101</c:Document_identifier>
</c:DOCUMENT_MESSAGE_IDENTIFICATION>
<c:Message_function_code>4</c:Message_function_code>
</paxlst:Beginning_of_message>
<paxlst:Reference>
<c:REFERENCE>
<c:Reference_code_qualifier>RFA</c:Reference_code_qualifier>
<c:Reference_identifier>03</c:Reference_identifier>
</c:REFERENCE>
</paxlst:Reference>
<paxlst:Segment_group_2>
<paxlst:Transport_information>
<c:Transport_stage_code_qualifier>11</c:Transport_stage_code_qualifier>
<c:Means_of_transport_journey_identifier></c:Means_of_transport_journey_identifier>
<c:MODE_OF_TRANSPORT>
</c:MODE_OF_TRANSPORT>
<c:TRANSPORT_MEANS>
</c:TRANSPORT_MEANS>
<c:CARRIER>
<c:Carrier_identifier>LOCK</c:Carrier_identifier>
<c:Code_list_identification_code>172</c:Code_list_identification_code>
</c:CARRIER>
</paxlst:Transport_information>
<paxlst:Date_time_period>
<c:DATE_TIME_PERIOD>
<c:Date_or_time_or_period_function_code_qualifier>132</c:Date_or_time_or_period_function_code_qualifier>
<c:Date_or_time_or_period_text>20041230</c:Date_or_time_or_period_text>
<c:Date_or_time_or_period_format_code>102</c:Date_or_time_or_period_format_code>
</c:DATE_TIME_PERIOD>
</paxlst:Date_time_period>
</paxlst:Segment_group_2>
<paxlst:Segment_group_4>
<paxlst:Name_and_address>
<c:Party_function_code_qualifier>VW</c:Party_function_code_qualifier>
<c:PARTY_IDENTIFICATION_DETAILS>
<c:Party_identifier>0000041153</c:Party_identifier>
<c:Code_list_identification_code>109</c:Code_list_identification_code>
</c:PARTY_IDENTIFICATION_DETAILS>
<c:NAME_AND_ADDRESS>
</c:NAME_AND_ADDRESS>
<c:PARTY_NAME>
<c:Party_name_-_-1>AOMAD</c:Party_name_-_-1>
<c:Party_name_-_-2>CHRIS</c:Party_name_-_-2>
<c:Party_name_-_-3></c:Party_name_-_-3>
<c:Party_name_-_-4></c:Party_name_-_-4>
<c:Party_name_-_-5></c:Party_name_-_-5>
<c:Party_name_format_code>1</c:Party_name_format_code>
</c:PARTY_NAME>
<c:STREET>
<c:Street_and_number_or_post_office_box_identifier_-_-1>11107 SUNSET HILL'S ROAD</c:Street_and_number_or_post_office_box_identifier_-_-1>
</c:STREET>
<c:City_name>RESTON</c:City_name>
<c:COUNTRY_SUB_ENTITY_DETAILS>
<c:Country_sub_entity_name_code>VA</c:Country_sub_entity_name_code>
<c:Code_list_identification_code>163</c:Code_list_identification_code>
<c:Code_list_responsible_agency_code>5</c:Code_list_responsible_agency_code>
</c:COUNTRY_SUB_ENTITY_DETAILS>
<c:Postal_identification_code>20190</c:Postal_identification_code>
</paxlst:Name_and_address>
<paxlst:Attribute>
<c:Attribute_function_code_qualifier>2</c:Attribute_function_code_qualifier>
<c:ATTRIBUTE_TYPE>
</c:ATTRIBUTE_TYPE>
<c:ATTRIBUTE_DETAIL>
<c:Attribute_description_code>M*M*M*M*M</c:Attribute_description_code>
</c:ATTRIBUTE_DETAIL>
</paxlst:Attribute>
<paxlst:Date_time_period>
<c:DATE_TIME_PERIOD>
<c:Date_or_time_or_period_function_code_qualifier>329</c:Date_or_time_or_period_function_code_qualifier>
<c:Date_or_time_or_period_text>19350919</c:Date_or_time_or_period_text>
<c:Date_or_time_or_period_format_code>102</c:Date_or_time_or_period_format_code>
</c:DATE_TIME_PERIOD>
</paxlst:Date_time_period>
<paxlst:Employment_details>
<c:Employment_details_code_qualifier>4</c:Employment_details_code_qualifier>
<c:EMPLOYMENT_CATEGORY>
</c:EMPLOYMENT_CATEGORY>
<c:OCCUPATION>
</c:OCCUPATION>
<c:QUALIFICATION_CLASSIFICATION>
<c:Qualification_classification_description_code>1</c:Qualification_classification_description_code>
</c:QUALIFICATION_CLASSIFICATION>
<c:Job_title_description></c:Job_title_description>
<c:Qualification_application_area_code>8</c:Qualification_application_area_code>
</paxlst:Employment_details>
<paxlst:Nationality>
<c:Nationality_code_qualifier>2</c:Nationality_code_qualifier>
<c:NATIONALITY_DETAILS>
<c:Nationality_name_code>US</c:Nationality_name_code>
<c:Code_list_identification_code></c:Code_list_identification_code>
<c:Code_list_responsible_agency_code>5</c:Code_list_responsible_agency_code>
</c:NATIONALITY_DETAILS>
</paxlst:Nationality>
<paxlst:Segment_group_5>
<paxlst:Document_message_details>
<c:DOCUMENT_MESSAGE_NAME>
<c:Document_name_code>5K</c:Document_name_code>
</c:DOCUMENT_MESSAGE_NAME>
<c:DOCUMENT_MESSAGE_DETAILS>
<c:Document_identifier>P100971204141</c:Document_identifier>
</c:DOCUMENT_MESSAGE_DETAILS>
</paxlst:Document_message_details>
<paxlst:Place_location_identification>
<c:Location_function_code_qualifier>91</c:Location_function_code_qualifier>
<c:LOCATION_IDENTIFICATION>
<c:Location_name_code>VA</c:Location_name_code>
<c:Code_list_identification_code>163</c:Code_list_identification_code>
</c:LOCATION_IDENTIFICATION>
</paxlst:Place_location_identification>
<paxlst:Place_location_identification>
<c:Location_function_code_qualifier>91</c:Location_function_code_qualifier>
<c:LOCATION_IDENTIFICATION>
<c:Location_name_code>US</c:Location_name_code>
<c:Code_list_identification_code>162</c:Code_list_identification_code>
</c:LOCATION_IDENTIFICATION>
</paxlst:Place_location_identification>
</paxlst:Segment_group_5>
<paxlst:Segment_group_5>
<paxlst:Document_message_details>
<c:DOCUMENT_MESSAGE_NAME>
<c:Document_name_code>39</c:Document_name_code>
</c:DOCUMENT_MESSAGE_NAME>
<c:DOCUMENT_MESSAGE_DETAILS>
<c:Document_identifier>15504141</c:Document_identifier>
</c:DOCUMENT_MESSAGE_DETAILS>
</paxlst:Document_message_details>
<paxlst:Place_location_identification>
<c:Location_function_code_qualifier>91</c:Location_function_code_qualifier>
<c:LOCATION_IDENTIFICATION>
<c:Location_name_code>US</c:Location_name_code>
<c:Code_list_identification_code>162</c:Code_list_identification_code>
</c:LOCATION_IDENTIFICATION>
</paxlst:Place_location_identification>
</paxlst:Segment_group_5>
</paxlst:Segment_group_4>
</paxlst:PAXLST>
<env:UNT>
<env:segmentCount>16</env:segmentCount>
<env:messageRefNum>PAXLST16</env:messageRefNum>
</env:UNT>
</env:interchangeMessage>
<env:UNE>
<env:controlCount>1</env:controlCount>
<env:groupRef>16</env:groupRef>
</env:UNE>
</env:group>
<env:UNZ xmlns:env="urn:org.milyn.edi.unedifact.v41">
<env:controlCount>1</env:controlCount>
<env:controlRef>16</env:controlRef>
</env:UNZ>
</env:unEdifact>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment