MT5202.ftlx
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<Manifest xmlns="urn:Declaration:datamodel:standard:CN:MT5202:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Head>
<MessageID>${map.msgId}</MessageID>
<FunctionCode>3</FunctionCode>
<MessageType>MT5202</MessageType>
<SenderID>${map.senderId}</SenderID>
<ReceiverID>${map.receiverID}</ReceiverID>
<SendTime>${map.sendTime}</SendTime>
<Version>1.0</Version>
</Head>
<Declaration>
<DeclarationOfficeID>${map.customCode}</DeclarationOfficeID>
<BorderTransportMeans>
<JourneyID>${map.flightNo}/${map.flightDate}</JourneyID>
</BorderTransportMeans>
<Consignment>
<TransportContractDocument>
<ID>${map.awba}</ID>
</TransportContractDocument>
<#if map.map['awbh']??>
<#if map.awbh?length gt 1>
<AssociatedTransportDocument>
<ID>${map.awba}_${map.awbh}</ID>
</AssociatedTransportDocument>
</#if>
</#if>
</Consignment>
<AdditionalInformation>
<Reason>${map.reason}</Reason>
<ContactName>${map.contactName}</ContactName>
<ContactTel>${map.contactTel}</ContactTel>
<#if content?length gt 1>
<Content>${content}</Content>
</#if>
</AdditionalInformation>
</Declaration>
</Manifest>