南京海关物流信息化管理系统空运部分 理货报告报文结构定义和填制规范
目 录
一. 二. 三. 四.
理货报告XML报文示例 .............................................................................................................................. 2 理货报告报文结构 ...................................................................................................................................... 3 报文节点详细说明 ...................................................................................................................................... 5 报文填制规范 ............................................................................................................................................ 30
1. 报文填制规范 ................................................................................................................................................... 30
2. 报文填制要求 ................................................................................................................................................... 31
1
一. 理货报告XML报文示例
理货报告XML报文示例
2
二. 理货报告报文结构
理货报告报文结构定义
循环次数 节点名称
1 Manifest
1 |______ Head报文头
1 | |______ MessageID报文编号
1 | |______ FunctionCode报文功能代码 1 | |______ MessageType报文类型代码 1 | |______ SenderID发送方代码 1 | |______ ReceiverID接受方代码 1 | |______ SendTime发送时间 1 | |______ Version报文版本 1 |______ Declaration报文体
3
1 | |______ DeclarationOfficeID申报地海关代码 0-1 | |______ BorderTransportMeans运输工具信息 1 | | |______ JourneyID航次航班编号 1 | | |______ TypeCode运输方式代码 0-1 | | |______ ID运输工具代码 0-1 | | |______ Name运输工具名称
1 | | |______ ActualDateTime装卸开始时间 1 | | |______ CompletedDateTime装卸结束时间 1 | | |______ LoadingLocation装货地信息 1 | | | |______ ID装货地代码
1 | | |______ UnloadingLocation卸货地信息 1 | | | |______ ID卸货地代码 0-1 | | |______ Master船长/大副信息
1 | | | |______ Name船长/大副名称
0-3 | | | |______ Communication船长/大副联系方式 1 | | | | |______ ID通讯方式号码
1 | | | | |______ TypeID通讯方式类别代码 1 | |______ TallyParty理货部门信息 1 | | |______ ID理货部门代码
0-1 | | |______ Contact理货责任人信息
1 | | | |______ Name理货责任人名称
0-3 | | | |______ Communication理货责任人联系方式 1 | | | | |______ ID通讯方式号码
1 | | | | |______ TypeID通讯方式类别代 1-9999 | |______ Consignment提运单信息
0-1 | | |______ NativeBillNo境内运单号
1 | | |______ TransportContractDocument运输合同信息 1 | | | |______ ID总提运单号
0-1 | | |______ AssociatedTransportDocument运输合同附加信息
1 | | | |______ ID分提运单号
1 | | |______ ConsignmentPackaging提运单包装信息 1 | | | |______ QuantityQuantity托运货物件数 0-1 | | | |______ TypeCode包装种类代码 1 | | |______ TotalGrossMassMeasure货物总毛重 0-99 | | |______ StoreInformation库位信息 1 | | | |______ LibInfo库位信息 0-1 | | |______ GrossVolumeMeasure货物体积 0-1 | |______ AdditionalInformation补充信息 1 | | |______ LineFlag 航线标记
0-1 | | |______ NativeVoyageNo境内航次航班编号 0-1 | | |______ NativeTrafMode境内运输方式 1 | | |______ Content备注
序号 1 2 中国海关数据元名称 航次航班编号 运输方式代码 WCO DATA MODEL或UNTDED编号 149 Conveyance reference number 183 Mode/type of means of transport crossing the border, coded 填制条件 必填 如航线标记是支线,为空 必填 4
如航线标记是支线,为空 3 4 5 6 7 8 9 10 运输工具代码 运输工具名称 装卸开始时间 装卸结束时间 申报地海关代码 理货部门代码 理货责任人名称 理货责任人联系号码 167 Identification of means of transport crossing the border, 选填 coded 如航线标记是支线,为空 160 Identification of means of transport crossing the border UNTDED 2380 Date/time/period UNTDED 2380 Date/time/period 065 Customs office of declaration, coded 238 Party ID identification 246 Department or employee contact name 240 Communication number 253 Communication number Type 246 Department or employee contact name 选填 如航线标记是支线,为空 必填 必填 必填 必填 选填 选填 选填 选填 选填 选填 必填 条件 条件 条件 选填 必填 必填 选填 条件 选填 必填 条件 条件 支线必填写 条件 支线必填写 11 通讯方式类别代码 12 船长/大副名称 13 船长/大副联系号码 240 Communication number 14 通讯方式类别代码 15 总提运单号 16 分提运单号 17 装货地代码 18 卸货地代码 19 包装种类代码 20 托运货物件数 21 货物总毛重 22 货物体积 23 库位信息 24 备注 25 航线标记 26 境内运单号 27 境内航次航班编号 28 境内运输方式 253 Communication number Type 015 Transport document number 189 Associated transport document number 070 Place of loading, coded 080 Place of discharge, coded 141 Type of packages identification 146 Total number of packages 131 Total gross weight 134 Cube Store Information of Gross,length:20bytes 105 Free text LineFlag include international flight and native flight length:1bytes Native BillNo. length:32bytes Native VoyageNo. length:32bytes Native TrafMode, length:1bytes 三. 报文节点详细说明
element Manifest diagram namespace urn:Declaration:datamodel:standard:CN:[Name]:1 5