MT2201.ftlx 3.6 KB
<Manifest xmlns="urn:Declaration:datamodel:standard:CN:MT2201:1" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Head>
        <MessageID>${msgId}</MessageID>
        <FunctionCode>9</FunctionCode>
        <MessageType>${msessageType}</MessageType>
        <SenderID>${senderId}</SenderID>
        <ReceiverID>${receiverID}</ReceiverID>
        <SendTime>${sendTime}</SendTime>
        <Version>1.0</Version>
    </Head>
    <Declaration>
        <RepresentativePerson>
            <Name>舱单书传输人名称</Name>
        </RepresentativePerson>
        <ExitCustomsOffice>
            <ID>${mt.originstation}</ID>
        </ExitCustomsOffice>
        <Carrier>
            <ID>${mt.carrier}</ID>
        </Carrier>
        <BorderTransportMeans>
            <JourneyID>${mt.carrier}${mt.flightno}/${mt.flightdate?string('yyyyMMdd')}</JourneyID>
            <TypeCode>4</TypeCode>
        </BorderTransportMeans>
        <Consignment>
            <TransportContractDocument>
                <ID>${mt.awba}</ID>
                <ConditionCode>10</ConditionCode>
            </TransportContractDocument>
            <AssociatedTransportDocument>
                <ID>${mt.awba}_${mt.awbh}</ID>
            </AssociatedTransportDocument>
            <LoadingLocation>
                <ID>${mt.originstation}/${mt.customcode}</ID>
                <LoadingDate>201911070600086</LoadingDate>
            </LoadingLocation>
            <UnloadingLocation>
                <ID>${mt.destinationstation}</ID>
            </UnloadingLocation>
            <GoodsConsignedPlace>
                <!-- “货物托运的地点或者国家代码” 必填  这里取航班起始站代码-->
                <ID>货物托运地点或国家代码${mt.destinationstation}</ID>
            </GoodsConsignedPlace>
            <!-- “货物海关状态代码” 必填-->
            <CustomsStatusCode>货物海关状态代码</CustomsStatusCode>
            <TransportSplitIndicator>0</TransportSplitIndicator>
            <FreightPayment>
                <MethodCode>PP</MethodCode>
            </FreightPayment>
            <ConsignmentPackaging>
                <QuantityQuantity>1</QuantityQuantity>
            </ConsignmentPackaging>
            <TotalGrossMassMeasure>2.5</TotalGrossMassMeasure>
            <Consignee>
                <Name>CGN</Name>
                <Address>
                    <Line>UPS FREIGHT CENTER 5 AIRPORT COLOGN</Line>
                    <CountryCode>DE</CountryCode>
                </Address>
                <Communication>
                    <ID>22414912705</ID>
                    <TypeID>TE</TypeID>
                </Communication>
            </Consignee>
            <Consignor>
                <Name>UPS PARCEL DELIVERY (GUANGDONG) CO LTD ZHENGZHOU BRANCH</Name>
                <Address>
                    <Line>NO59TH 1F,ZHENGWEI ROAD ECONOMIC DEVELOP AREA ZHENGZHOU CHINA.  45116</Line>
                    <CountryCode>CN</CountryCode>
                </Address>
                <Communication>
                    <ID>86-371-68512160</ID>
                    <TypeID>TE</TypeID>
                </Communication>
            </Consignor>
            <ConsignmentItem>
                <SequenceNumeric>1</SequenceNumeric>
                <ConsignmentItemPackaging>
                    <QuantityQuantity>1</QuantityQuantity>
                </ConsignmentItemPackaging>
                <Commodity>
                    <CargoDescription>2</CargoDescription>
                </Commodity>
                <GoodsMeasure>
                    <GrossMassMeasure>2.5</GrossMassMeasure>
                </GoodsMeasure>
            </ConsignmentItem>
        </Consignment>
    </Declaration>
</Manifest>