You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DSWMS/说明文档/分类监管/BaseTypes.xsd

529 lines
18 KiB
XML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 (http://www.altova.com) by MESMERiZE (MiZE) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified">
<xs:complexType name="CopBaseInfo">
<xs:annotation>
<xs:documentation>企业基本信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="TradeCode" type="xs:string">
<xs:annotation>
<xs:documentation>经营单位代码</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeName" type="xs:string">
<xs:annotation>
<xs:documentation>经营单位名称</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OrgCode" type="xs:string">
<xs:annotation>
<xs:documentation>组织机构代码</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CopAddress" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>企业地址</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Manager" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>企业法人</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactTel" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>联系电话</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CopSccd" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>企业18位信用代码</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CustomManager" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>海关现场</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetworkBeginDate" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>联网备案开始时间 yyyyMMdd</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NetworkEndTime" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>联网备案结束时间 yyyyMMdd</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExeStatus" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>执行状态1启用0暂停海关审核时反填</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StockInfo">
<xs:annotation>
<xs:documentation>库存信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="EmsNo" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>账册号 非保不填,保税必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmsSeqNo" nillable="true" minOccurs="0">
<xs:annotation>
<xs:documentation>账册商品序号 保税必填</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:long"/>
</xs:simpleType>
</xs:element>
<xs:element name="WmsMtsNo" type="xs:string">
<xs:annotation>
<xs:documentation> 企业库存物料号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsMtsNo" type="xs:string">
<xs:annotation>
<xs:documentation>料号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CodeTs" type="xs:string">
<xs:annotation>
<xs:documentation>编码</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsName" type="xs:string">
<xs:annotation>
<xs:documentation>品名</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsModelDesc" type="xs:string">
<xs:annotation>
<xs:documentation>规格型号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WmsDclUnit" type="xs:string">
<xs:annotation>
<xs:documentation>申报单位</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WmsDclQty" nillable="true">
<xs:annotation>
<xs:documentation>申报数量</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
</xs:element>
<xs:element name="WmsLawUnit" type="xs:string">
<xs:annotation>
<xs:documentation>法定单位</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WmsLawQty" nillable="true">
<xs:annotation>
<xs:documentation>法定数量</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
</xs:element>
<xs:element name="PlaceIds" type="xs:string">
<xs:annotation>
<xs:documentation>库区号多个用 | 分割</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationIds" type="xs:string">
<xs:annotation>
<xs:documentation>库位号 多个用 | 分割</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StockStatus" type="xs:string">
<xs:annotation>
<xs:documentation>出入库状态 0 预出入库 1在库</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsType" type="xs:string">
<xs:annotation>
<xs:documentation>货物类型 0 非保 1 保税 </xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StorageInfo">
<xs:annotation>
<xs:documentation>仓库信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="HouseId" type="xs:string">
<xs:annotation>
<xs:documentation>仓库编号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HouseName" type="xs:string">
<xs:annotation>
<xs:documentation>仓库名称</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HouseAddress" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>仓库地址</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HouseOwer" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>所有人</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationInfo" type="LocationInfo" maxOccurs="unbounded"/>
<xs:element name="HouseArea" nillable="true" minOccurs="0">
<xs:annotation>
<xs:documentation>仓库面积(平方米)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="LocationInfo">
<xs:annotation>
<xs:documentation>库位信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="LocationId" type="xs:string">
<xs:annotation>
<xs:documentation>库位号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocationName" type="xs:string">
<xs:annotation>
<xs:documentation>库位名称</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LoctionRmk" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>库位描述</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlaceId" type="xs:string">
<xs:annotation>
<xs:documentation>库区号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PlaceName" type="xs:string">
<xs:annotation>
<xs:documentation>库位号</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApprResult">
<xs:annotation>
<xs:documentation>审核回执</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ManageDate" type="xs:dateTime">
<xs:annotation>
<xs:documentation>处理日期</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BusinessId">
<xs:annotation>
<xs:documentation>业务编号企业备案及变更时为企业代码</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AppResult">
<xs:annotation>
<xs:documentation>处理结果1,通过0退回</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AppType" type="xs:string">
<xs:annotation>
<xs:documentation>申报环节 1申报 2变更 3暂停 4停止海关发起</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="rmk" minOccurs="0">
<xs:annotation>
<xs:documentation>备注</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CopBaseRecordMessage">
<xs:annotation>
<xs:documentation>企业备案信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CopBaseInfo" type="CopBaseInfo"/>
<xs:element name="StorageInfo" type="StorageInfo" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FileInfo">
<xs:annotation>
<xs:documentation>报文基本信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FileSource" type="xs:string" minOccurs="0"/>
<xs:element name="FileName" type="xs:string" minOccurs="0"/>
<xs:element name="UserCode" type="xs:string" minOccurs="0"/>
<xs:element name="OrgCode" type="xs:string" minOccurs="0"/>
<xs:element name="CusCode" type="xs:string" minOccurs="0"/>
<xs:element name="FileTime" type="xs:string" minOccurs="0"/>
<xs:element name="SignTime" type="xs:string" minOccurs="0"/>
<xs:element name="Signature" type="xs:string" minOccurs="0"/>
<xs:element name="FileGUID" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="StockRecordMessage">
<xs:annotation>
<xs:documentation>库存报送</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="StockInfo" type="StockInfo" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="TradeCode" type="xs:string">
<xs:annotation>
<xs:documentation>已备案的经营人</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeName" type="xs:string"/>
<xs:element name="ApplyDate" type="xs:string">
<xs:annotation>
<xs:documentation>报送日期yyyyMMdd)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SasStockInfo" type="SasStockInfo" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SasStockInfo">
<xs:annotation>
<xs:documentation>理论库存</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="EmsNo" type="xs:string">
<xs:annotation>
<xs:documentation>账册号 非保不填,保税必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmsSeqNo" nillable="true">
<xs:annotation>
<xs:documentation>账册商品序号 保税必填</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:long"/>
</xs:simpleType>
</xs:element>
<xs:element name="CodeTs" type="xs:string">
<xs:annotation>
<xs:documentation>编码</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>品名</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="GoodsModelDesc" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>规格型号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DclUnit" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>理论库存-申报单位</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DclQty" nillable="true">
<xs:annotation>
<xs:documentation>理论库存-申报数量</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
</xs:element>
<xs:element name="LawUnit" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>理论库存-法定单位</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LawQty" nillable="true">
<xs:annotation>
<xs:documentation>理论库存-法定数量</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:decimal"/>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CopBaseResponseMessage">
<xs:annotation>
<xs:documentation>备案回执</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ApprResult" type="ApprResult"/>
<xs:element name="CopBaseInfo" type="CopBaseInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NonbondedPassport">
<xs:annotation>
<xs:documentation>非保货物登记</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="SeqNo" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>分中心单据号 企业第一次申报不填分中心生成 删除修改时必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CopSeqNo" type="xs:string">
<xs:annotation>
<xs:documentation>对接企业单据标识 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VehicleNo" type="xs:string">
<xs:annotation>
<xs:documentation>车牌 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeCode" type="xs:string">
<xs:annotation>
<xs:documentation>货物所属企业 海关10位代码 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TradeName" type="xs:string">
<xs:annotation>
<xs:documentation>货物所属企业 名称 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CustomsCode" type="xs:string">
<xs:annotation>
<xs:documentation>现场 4位海关代码 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IEFlag" type="xs:string">
<xs:annotation>
<xs:documentation>进出方向 必填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Rmk" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>描述</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PassStatus" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>过卡状态 对接时不填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BillStatus" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>单据状态 对接时不填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SendEr" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>发送人 对接时不填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="InputTime" type="xs:dateTime" nillable="true" minOccurs="0">
<xs:annotation>
<xs:documentation>录入日期 对接时不填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UpdateTime" type="xs:dateTime" nillable="true" minOccurs="0">
<xs:annotation>
<xs:documentation>更新日期 对接时不填</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PassTime" type="xs:dateTime" nillable="true" minOccurs="0">
<xs:annotation>
<xs:documentation>过卡时间 对接时不填 海关反填</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="QdcdcResponse">
<xs:annotation>
<xs:documentation>对接处理回执</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ManageDate" type="xs:dateTime">
<xs:annotation>
<xs:documentation>处理日期</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="BusinessId">
<xs:annotation>
<xs:documentation>单据编号</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="AppResult">
<xs:annotation>
<xs:documentation>处理结果1,成功0 失败</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CopSeqNo" type="xs:string">
<xs:annotation>
<xs:documentation>企业单据编号</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="rmk" minOccurs="0">
<xs:annotation>
<xs:documentation>备注</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NonbondedPassportMessage">
<xs:annotation>
<xs:documentation>非保货物信息</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="NonbondedPassport" type="NonbondedPassport" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NonbondedResponseMessage">
<xs:annotation>
<xs:documentation>非保核放单回执</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="QdcdcResponse" type="QdcdcResponse" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="NonbondedPassport" type="NonbondedPassport" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:schema>