Вы находитесь на странице: 1из 200

<?xml version="1.0" encoding="UTF-8"?

>
<!-- PL_008 - 30/07/2013 - Nova verso nacional 3.10 (NT 2013/005), Resoluo 13: FCI
(NT 2013/006) -->
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3
.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/nfe" targetNamespace=
"http://www.portalfiscal.inf.br/nfe" elementFormDefault="qualified" attributeFor
mDefault="unqualified">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation
="xmldsig-core-schema_v1.01.xsd"/>
<xs:include schemaLocation="tiposBasico_v3.10.xsd"/>
<xs:complexType name="TNFe">
<xs:annotation>
<xs:documentation>Tipo Nota Fiscal Eletrnica</xs:document
ation>
</xs:annotation>
<xs:sequence>
<xs:element name="infNFe">
<xs:annotation>
<xs:documentation>Informaes da Nota Fiscal
eletrnica</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="ide">
<xs:annotation>
<xs:documentatio
n>identificao da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="cUF" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Cdigo da UF do emitente do Documento Fiscal. Utilizar a Tabela
do IBGE.</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="cNF">
<xs:annotation>
<xs:documentation>Cdigo numrico que compe a Chave de Acesso. Nmero aleatrio gerado pe
lo emitente para cada NF-e.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{8}"/>
</xs:restriction>

</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="natOp">
<xs:annotation>
<xs:documentation>Descrio da Natureza da Operao</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="indPag">
<xs:annotation>
<xs:documentation>Indicador da forma de pagamento:
0 pagamento vista;
1 pagamento prazo;
2 outros.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="mod" type="TMod">
<xs:annotation>

<xs:documentation>Cdigo do modelo do Documento Fiscal. 55 = NF-e; 65 = NFC-e.</xs


:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="serie" type="TSerie">
<xs:annotation>
<xs:documentation>Srie do Documento Fiscal
srie normal 0-889
Avulsa Fisco 890-899
SCAN 900-999</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="nNF" type="TNF">
<xs:annotation>
<xs:documentation>Nmero do Documento Fiscal</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="dhEmi" type="TDateTimeUTC">
<xs:annotation>
<xs:documentation>Data e Hora de emisso do Documento Fiscal (AAAA-MM-DDThh:mm:ssT
ZD) ex.: 2012-09-01T13:00:00-03:00</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="dhSaiEnt" type="TDateTimeUTC" minOccurs="0">
<xs:annotation>
<xs:documentation>Data e Hora da sada ou de entrada da mercadoria / produto (AAAA
-MM-DDTHH:mm:ssTZD)</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="tpNF">
<xs:annotation>
<xs:documentation>Tipo do Documento Fiscal (0 - entrada; 1 - sada)</xs:documentat
ion>
</xs:annotation>

<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="idDest">
<xs:annotation>
<xs:documentation>Identificador de Local de destino da operao (1-Interna;2-Interes
tadual;3-Exterior)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="cMunFG" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Cdigo do Municpio de Ocorrncia do Fato Gerador (utilizar a tabela
do IBGE)</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="tpImp">
<xs:annotation>
<xs:documentation>Formato de impresso do DANFE (0-sem DANFE;1-DANFe Retrato; 2-DA

NFe Paisagem;3-DANFe Simplificado;


4-DANFe NFC-e;5-DANFe NFC-e em mensagem eletrnica)
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="tpEmis">
<xs:annotation>
<xs:documentation>Forma de emisso da NF-e
1 - Normal;
2 - Contingncia FS
3 - Contingncia SCAN
4 - Contingncia DPEC
5 - Contingncia FSDA
6 - Contingncia SVC - AN
7 - Contingncia SVC - RS
9 - Contingncia off-line NFC-e</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>

<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="cDV">
<xs:annotation>
<xs:documentation>Digito Verificador da Chave de Acesso da NF-e</xs:documentatio
n>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="tpAmb" type="TAmb">
<xs:annotation>
<xs:documentation>Identificao do Ambiente:
1 - Produo
2 - Homologao</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="finNFe" type="TFinNFe">
<xs:annotation>
<xs:documentation>Finalidade da emisso da NF-e:
1 - NFe normal
2 - NFe complementar
3 - NFe de ajuste
4 - Devoluo/Retorno</xs:documentation>

</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="indFinal">
<xs:annotation>
<xs:documentation>Indica operao com consumidor final (0-No;1-Consumidor Final)</xs:
documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="indPres">
<xs:annotation>
<xs:documentation>Indicador de presena do comprador no estabelecimento comercial
no momento da oeprao
(0-No se aplica (ex.: Nota Fiscal complementar ou de ajuste;1-Operao presencial;2-No
presencial, internet;3-No presencial, teleatendimento;4-NFC-e entrega em domiclio
;9-No presencial, outros)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="9"/>

</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="procEmi" type="TProcEmi">
<xs:annotation>
<xs:documentation>Processo de emisso utilizado com a seguinte codificao:
0 - emisso de NF-e com aplicativo do contribuinte;
1 - emisso de NF-e avulsa pelo Fisco;
2 - emisso de NF-e avulsa, pelo contribuinte com seu certificado digital, atravs d
o site
do Fisco;
3- emisso de NF-e pelo contribuinte com aplicativo fornecido pelo Fisco.</xs:docu
mentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="verProc">
<xs:annotation>
<xs:documentation>verso do aplicativo utilizado no processo de
emisso</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:sequ
ence minOccurs="0">
<xs:annotation>
<xs:documentation>Informar apenas
para tpEmis diferente de 1</xs:documentation>
</xs:annotation>
<xs:element name="dhCont" type="TDateTimeUTC">
<xs:annotation>

<xs:documentation>Informar a data e hora de entrada em contingncia contingncia no


formato (AAAA-MM-DDThh:mm:ssTZD) ex.: 2012-09-01T13:00:00-03:00.</xs:documentat
ion>
</xs:annotation>
</xs:element>
<xs:element name="xJust">
<xs:annotation>
<xs:documentation>Informar a Justificativa da entrada</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="15"/>
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:seq
uence>
<xs:elem
ent name="NFref" minOccurs="0" maxOccurs="500">
<xs:annotation>
<xs:documentation>Grupo de infromaes da NF referenciada</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element name="refNFe" type="TChNFe">
<xs:annotation>
<xs:documentation>Chave de acesso das NF-e referenciadas. Chave de acesso compos
tas por Cdigo da UF (tabela do IBGE) + AAMM da emisso + CNPJ do Emitente + modelo,
srie e nmero da NF-e Referenciada + Cdigo Numrico + DV.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="refNF">
<xs:annotation>

<xs:documentation>Dados da NF modelo 1/1A referenciada</xs:documentation>


</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="cUF" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Cdigo da UF do emitente do Documento Fiscal. Utilizar a Tabela
do IBGE.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AAMM">
<xs:annotation>
<xs:documentation>AAMM da emisso</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>
<xs:documentation>CNPJ do emitente do documento fiscal referenciado</xs:document
ation>
</xs:annotation>
</xs:element>
<xs:element name="mod">
<xs:annotation>
<xs:documentation>Cdigo do modelo do Documento Fiscal. Utilizar 01 para NF modelo
1/1A</xs:documentation>
</xs:annotation>

<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="serie" type="TSerie">
<xs:annotation>
<xs:documentation>Srie do Documento Fiscal, informar zero se inexistente</xs:docu
mentation>
</xs:annotation>
</xs:element>
<xs:element name="nNF" type="TNF">
<xs:annotation>
<xs:documentation>Nmero do Documento Fiscal</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="refNFP">
<xs:annotation>
<xs:documentation>Grupo com as informaes NF de produtor referenciada</xs:documenta
tion>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="cUF" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>Cdigo da UF do emitente do Documento FiscalUtilizar a Tabela do

IBGE (Anexo IV - Tabela de UF, Municpio e Pas)</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="AAMM">
<xs:annotation>
<xs:documentation>AAMM da emisso da NF de produtor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>
<xs:documentation>CNPJ do emitente da NF de produtor</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>CPF do emitente da NF de produtor</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="IE" type="TIeDest">
<xs:annotation>
<xs:documentation>IE do emitente da NF de Produtor</xs:documentation>
</xs:annotation>

</xs:element>
<xs:element name="mod">
<xs:annotation>
<xs:documentation>Cdigo do modelo do Documento Fiscal - utilizar 04 para NF de pr
odutor ou 01 para NF Avulsa</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="04"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="serie" type="TSerie">
<xs:annotation>
<xs:documentation>Srie do Documento Fiscal, informar zero se inexistentesrie</xs:d
ocumentation>
</xs:annotation>
</xs:element>
<xs:element name="nNF" type="TNF">
<xs:annotation>
<xs:documentation>Nmero do Documento Fiscal - 1 999999999</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="refCTe" type="TChNFe">
<xs:annotation>
<xs:documentation>Utilizar esta TAG para referenciar um CT-e emitido anteriormen
te, vinculada a NF-e atual</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="refECF">
<xs:annotation>
<xs:documentation>Grupo do Cupom Fiscal vinculado NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="mod">
<xs:annotation>
<xs:documentation>Cdigo do modelo do Documento Fiscal
Preencher com "2B", quando se tratar de Cupom Fiscal emitido por mquina registrad
ora (no ECF), com "2C", quando se tratar de Cupom Fiscal PDV, ou "2D", quando se
tratar de Cupom Fiscal (emitido por ECF)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="2B"/>
<xs:enumeration value="2C"/>
<xs:enumeration value="2D"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nECF">
<xs:annotation>
<xs:documentation>Informar o nmero de ordem seqencial do ECF que emitiu o Cupom Fi
scal vinculado NF-e</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>

<xs:pattern value="[0-9]{1,3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nCOO">
<xs:annotation>
<xs:documentation>Informar o Nmero do Contador de Ordem de Operao - COO vinculado N
F-e</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,6}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="emit">
<xs:annotation>
<xs:documentatio
n>Identificao do emitente</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choi
ce>
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>

<xs:documentation>Nmero do CNPJ do emitente</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>Nmero do CPF do emitente</xs:documentation>
</xs:annotation>
</xs:element>
</xs:cho
ice>
<xs:elem
ent name="xNome">
<xs:annotation>
<xs:documentation>Razo Social ou Nome do emitente</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="xFant" minOccurs="0">
<xs:annotation>
<xs:documentation>Nome fantasia</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele

ment>
<xs:elem
ent name="enderEmit" type="TEnderEmi">
<xs:annotation>
<xs:documentation>Endereo do emitente</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="IE" type="TIe">
<xs:annotation>
<xs:documentation>Inscrio Estadual do Emitente</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="IEST" type="TIeST" minOccurs="0">
<xs:annotation>
<xs:documentation>Inscricao Estadual do Substituto Tributrio</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:sequ
ence minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo de informaes de interesse da Prefeitura</xs:documentation>
</xs:annotation>
<xs:element name="IM">
<xs:annotation>
<xs:documentation>Inscrio Municipal</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
<xs:element name="CNAE" minOccurs="0">
<xs:annotation>
<xs:documentation>CNAE Fiscal</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{7}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:seq
uence>
<xs:elem
ent name="CRT">
<xs:annotation>
<xs:documentation>Cdigo de Regime Tributrio.
Este campo ser obrigatoriamente preenchido com:
1 Simples Nacional;
2 Simples Nacional excesso de sublimite de receita bruta;
3 Regime Normal.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="avulsa" minOcc

urs="0">
<xs:annotation>
<xs:documentatio
n>Emisso de avulsa, informar os dados do Fisco emitente</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="CNPJ" type="TCnpj">
<xs:annotation>
<xs:documentation>CNPJ do rgo emissor</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="xOrgao">
<xs:annotation>
<xs:documentation>rgo emitente</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="matr">
<xs:annotation>
<xs:documentation>Matrcula do agente</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele

ment>
<xs:elem
ent name="xAgente">
<xs:annotation>
<xs:documentation>Nome do agente</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="fone" minOccurs="0">
<xs:annotation>
<xs:documentation>Telefone</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{6,14}"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="UF" type="TUfEmi">
<xs:annotation>
<xs:documentation>Sigla da Unidade da Federao</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="nDAR" minOccurs="0">
<xs:annotation>

<xs:documentation>Nmero do Documento de Arrecadao de Receita</xs:documentation>


</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="dEmi" type="TData" minOccurs="0">
<xs:annotation>
<xs:documentation>Data de emisso do DAR (AAAA-MM-DD)</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="vDAR" type="TDec_1302" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total constante no DAR</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="repEmi">
<xs:annotation>
<xs:documentation>Repartio Fiscal emitente</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem

ent name="dPag" type="TData" minOccurs="0">


<xs:annotation>
<xs:documentation>Data de pagamento do DAR (AAAA-MM-DD)</xs:documentation>
</xs:annotation>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="dest" minOccur
s="0">
<xs:annotation>
<xs:documentatio
n>Identificao do Destinatrio </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choi
ce>
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>
<xs:documentation>Nmero do CNPJ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>Nmero do CPF</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="idEstrangeiro">
<xs:annotation>
<xs:documentation>Identificador do destinatrio, em caso de comprador estrangeiro<
/xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[!-]{5,20}"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:cho
ice>
<xs:elem
ent name="xNome" minOccurs="0">
<xs:annotation>
<xs:documentation>Razo Social ou nome do destinatrio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="enderDest" type="TEndereco" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do endereo</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="indIEDest">
<xs:annotation>
<xs:documentation>Indicador da IE do destinatrio:
1 Contribuinte ICMSpagamento vista;
2 Contribuinte isento de inscrio;
9 No Contribuinte</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>

<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="IE" type="TIeDestNaoIsento" minOccurs="0">
<xs:annotation>
<xs:documentation>Inscrio Estadual (obrigatrio nas operaes com contribuintes do ICMS)
</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="ISUF" minOccurs="0">
<xs:annotation>

<xs:documentation>Inscrio na SUFRAMA (Obrigatrio nas operaes com as reas com benefcios


de incentivos fiscais sob controle da SUFRAMA) PL_005d - 11/08/09 - alterado par
a aceitar 8 ou 9 dgitos</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{8,9}"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="IM" minOccurs="0">
<xs:annotation>
<xs:documentation>Inscrio Municipal do tomador do servio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>

</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="email" minOccurs="0">
<xs:annotation>
<xs:documentation>Informar o e-mail do destinatrio. O campo pode ser utilizado pa
ra informar o e-mail
de recepo da NF-e indicada pelo destinatrio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:whiteSpace value="preserve"/>
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="retirada" type
="TLocal" minOccurs="0">
<xs:annotation>
<xs:documentatio
n>Identificao do Local de Retirada (informar apenas quando for diferente do endereo
do remetente)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="entrega" type=
"TLocal" minOccurs="0">
<xs:annotation>
<xs:documentatio
n>Identificao do Local de Entrega (informar apenas quando for diferente do endereo
do destinatrio)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="autXML" minOcc
urs="0" maxOccurs="10">
<xs:annotation>
<xs:documentatio
n>Pessoas autorizadas para o download do XML da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:elem
ent name="CNPJ" type="TCnpj">

<xs:annotation>
<xs:documentation>CNPJ Autorizado</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>CPF Autorizado</xs:documentation>
</xs:annotation>
</xs:ele
ment>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="det" maxOccurs
="990">
<xs:annotation>
<xs:documentatio
n>Dados dos detalhes da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="prod">
<xs:annotation>
<xs:documentation>Dados dos produtos e servios da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="cProd">
<xs:annotation>
<xs:documentation>Cdigo do produto ou servio. Preencher com CFOP caso se trate de
itens no relacionados com mercadorias/produto e que o contribuinte no possua codif
icao prpria
Formato CFOP9999.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cEAN">
<xs:annotation>
<xs:documentation>GTIN (Global Trade Item Number) do produto, antigo cdigo EAN ou
cdigo de barras</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xProd">
<xs:annotation>
<xs:documentation>Descrio do produto ou servio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="120"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NCM">
<xs:annotation>

<xs:documentation>Cdigo NCM (8 posies), ser permitida a informao do gnero (posio do


o do NCM) quando a operao no for de comrcio exterior (importao/exportao) ou o produto
seja tributado pelo IPI. Em caso de item de servio ou item que no tenham produto (
Ex. transferncia de crdito, crdito do ativo imobilizado, etc.), informar o cdigo 00

(zeros)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2}|[0][1-9][0-9]{6}|[1-9][0-9]{7}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NVE" minOccurs="0" maxOccurs="8">
<xs:annotation>
<xs:documentation>Nomenclatura de Valor aduaneio e Estatstico</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[A-Z]{2}[0-9]{4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="EXTIPI" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo EX TIPI (3 posies)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{2,3}"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
<xs:element name="CFOP" type="TCfop">
<xs:annotation>
<xs:documentation>Cdigo Fiscal de Operaes e Prestaes</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="uCom">
<xs:annotation>
<xs:documentation>Unidade comercial</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="6"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qCom" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Quantidade Comercial do produto, alterado para aceitar de 0 a
4 casas decimais e 11 inteiros.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vUnCom" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Valor unitrio de comercializao - alterado para aceitar 0 a 10 ca
sas decimais e 11 inteiros </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vProd" type="TDec_1302">
<xs:annotation>

<xs:documentation>Valor bruto do produto ou servio.</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="cEANTrib">
<xs:annotation>
<xs:documentation>GTIN (Global Trade Item Number) da unidade tributvel, antigo cdi
go EAN ou cdigo de barras</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="uTrib">
<xs:annotation>
<xs:documentation>Unidade Tributvel</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="6"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qTrib" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Quantidade Tributvel - alterado para aceitar de 0 a 4 casas dec
imais e 11 inteiros </xs:documentation>
</xs:annotation>

</xs:element>
<xs:element name="vUnTrib" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Valor unitrio de tributao - - alterado para aceitar 0 a 10 casas
decimais e 11 inteiros </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vFrete" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total do Frete</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vSeg" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total do Seguro</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do Desconto</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Outras despesas acessrias</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="indTot">
<xs:annotation>
<xs:documentation>Este campo dever ser preenchido com:
0 o valor do item (vProd) no compe o valor total da NF-e (vProd)
1 o valor do item (vProd) compe o valor total da NF-e (vProd)

</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DI" minOccurs="0" maxOccurs="100">
<xs:annotation>
<xs:documentation>Delcarao de Importao
(NT 2011/004)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nDI">
<xs:annotation>
<xs:documentation>Numero do Documento de Importao DI/DSI/DA/DRI-E (DI/DSI/DA/DRI-E
) (NT2011/004)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dDI" type="TData">
<xs:annotation>

<xs:documentation>Data de registro da DI/DSI/DA (AAAA-MM-DD)</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="xLocDesemb">
<xs:annotation>
<xs:documentation>Local do desembarao aduaneiro</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UFDesemb" type="TUfEmi">
<xs:annotation>
<xs:documentation>UF onde ocorreu o desembarao aduaneiro</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dDesemb" type="TData">
<xs:annotation>
<xs:documentation>Data do desembarao aduaneiro (AAAA-MM-DD)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tpViaTransp">
<xs:annotation>
<xs:documentation>Via de transporte internacional informada na DI
1-Maritima;2-Fluvial;3-Lacustre;4-Aerea;5-Postal;6-Ferroviaria;7-Rodoviaria;8-Co
nduto;9-Meios Proprios;10-Entrada/Saida Ficta.</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="8"/>
<xs:enumeration value="9"/>
<xs:enumeration value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vAFRMM" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Adicional ao frete para renovao de marinha mercante</xs:do
cumentation>
</xs:annotation>
</xs:element>
<xs:element name="tpIntermedio">
<xs:annotation>
<xs:documentation>Forma de Importao quanto a intermediao
1-por conta propria;2-por conta e ordem;3-encomenda</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>

<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CNPJ" type="TCnpj" minOccurs="0">
<xs:annotation>
<xs:documentation>CNPJ do adquirente ou do encomendante</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UFTerceiro" type="TUfEmi" minOccurs="0">
<xs:annotation>
<xs:documentation>Sigla da UF do adquirente ou do encomendante</xs:documentation
>
</xs:annotation>
</xs:element>
<xs:element name="cExportador">
<xs:annotation>
<xs:documentation>Cdigo do exportador (usado nos sistemas internos de informao do e
mitente da NF-e)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="adi" maxOccurs="100">
<xs:annotation>
<xs:documentation>Adies (NT 2011/004)</xs:documentation>

</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nAdicao">
<xs:annotation>
<xs:documentation>Nmero da Adio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nSeqAdic">
<xs:annotation>
<xs:documentation>Nmero seqencial do item dentro da Adio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[1-9]{1}[0-9]{0,2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cFabricante">
<xs:annotation>
<xs:documentation>Cdigo do fabricante estrangeiro (usado nos sistemas internos de
informao do emitente da NF-e)</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vDescDI" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do desconto do item da DI adio</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nDraw" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero do ato concessrio de Drawback</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0,11}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="detExport" minOccurs="0" maxOccurs="500">
<xs:annotation>

<xs:documentation>Detalhe da exportao</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nDraw" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero do ato concessrio de Drawback</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0,11}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="exportInd" minOccurs="0">
<xs:annotation>
<xs:documentation>Exportao indireta</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nRE">
<xs:annotation>
<xs:documentation>Registro de exportao</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{0,12}"/>
</xs:restriction>

</xs:simpleType>
</xs:element>
<xs:element name="chNFe" type="TChNFe">
<xs:annotation>
<xs:documentation>Chave de acesso da NF-e recebida para exportao</xs:documentation
>
</xs:annotation>
</xs:element>
<xs:element name="qExport" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Quantidade do item efetivamente exportado</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="xPed" minOccurs="0">
<xs:annotation>
<xs:documentation>pedido de compra - Informao de interesse do emissor para control
e do B2B.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="nItemPed" minOccurs="0">


<xs:annotation>
<xs:documentation>Nmero do Item do Pedido de Compra - Identificao do nmero do item d
o pedido de Compra</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,6}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nFCI" type="TGuid" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero de controle da FCI - Ficha de Contedo de Importao.</xs:docum
entation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:annotation>
<xs:documentation>Informaes especficas de produtos e servios</xs:documentation>
</xs:annotation>
<xs:element name="veicProd">
<xs:annotation>
<xs:documentation>Veculos novos</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="tpOp">
<xs:annotation>
<xs:documentation>Tipo da Operao (1 - Venda concessionria; 2 - Faturamento direto;

3 - Venda direta; 0 - Outros)</xs:documentation>


</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="chassi">
<xs:annotation>
<xs:documentation>Chassi do veculo - VIN (cdigo-identificao-veculo)</xs:documentation
>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:length value="17"/>
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[A-Z0-9]+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cCor">
<xs:annotation>
<xs:documentation>Cor do veculo (cdigo de cada montadora)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">

<xs:minLength value="1"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xCor">
<xs:annotation>
<xs:documentation>Descrio da cor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pot">
<xs:annotation>
<xs:documentation>Potncia mxima do motor do veculo em cavalo vapor (CV). (potncia-vec
ulo)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cilin">
<xs:annotation>

<xs:documentation>Capacidade voluntria do motor expressa em centmetros cbicos (CC).


(cilindradas)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pesoL">
<xs:annotation>
<xs:documentation>Peso lquido</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pesoB">
<xs:annotation>
<xs:documentation>Peso bruto</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
<xs:element name="nSerie">
<xs:annotation>
<xs:documentation>Serial (srie)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tpComb">
<xs:annotation>
<xs:documentation>Tipo de combustvel-Tabela RENAVAM: 01-lcool; 02-Gasolina; 03-Die
sel; 16-lcool/Gas.; 17-Gas./lcool/GNV; 18-Gasolina/Eltrico</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nMotor">
<xs:annotation>
<xs:documentation>Nmero do motor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">

<xs:minLength value="1"/>
<xs:maxLength value="21"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CMT">
<xs:annotation>
<xs:documentation>CMT-Capacidade Mxima de Trao - em Toneladas 4 casas decimais</xs:
documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dist">
<xs:annotation>
<xs:documentation>Distncia entre eixos</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="4"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anoMod">
<xs:annotation>
<xs:documentation>Ano Modelo de Fabricao</xs:documentation>

</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anoFab">
<xs:annotation>
<xs:documentation>Ano de Fabricao</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tpPint">
<xs:annotation>
<xs:documentation>Tipo de pintura</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:length value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tpVeic">

<xs:annotation>
<xs:documentation>Tipo de veculo (utilizar tabela RENAVAM)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="espVeic">
<xs:annotation>
<xs:documentation>Espcie de veculo (utilizar tabela RENAVAM)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="VIN">
<xs:annotation>
<xs:documentation>Informa-se o veculo tem VIN (chassi) remarcado.
R-Remarcado
N-NormalVIN </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:length value="1"/>
<xs:enumeration value="R"/>

<xs:enumeration value="N"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="condVeic">
<xs:annotation>
<xs:documentation>Condio do veculo (1 - acabado; 2 - inacabado; 3 - semi-acabado)</
xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cMod">
<xs:annotation>
<xs:documentation>Cdigo Marca Modelo (utilizar tabela RENAVAM)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,6}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cCorDENATRAN">

<xs:annotation>
<xs:documentation>Cdigo da Cor Segundo as regras de pr-cadastro do DENATRAN: 01-AM
ARELO;02-AZUL;03-BEGE;04-BRANCA;05-CINZA;06-DOURADA;07-GRENA
08-LARANJA;09-MARROM;10-PRATA;11-PRETA;12-ROSA;13-ROXA;14-VERDE;15-VERMELHA;16-F
ANTASIA</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:minLength value="1"/>
<xs:maxLength value="2"/>
<xs:pattern value="[0-9]{1,2}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lota">
<xs:annotation>
<xs:documentation>Quantidade mxima de permitida de passageiros sentados, inclusiv
e motorista.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="3"/>
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tpRest">
<xs:annotation>
<xs:documentation>Restrio
0 - No h;

1
2
3
4
9

Alienao Fiduciria;
Arrendamento Mercantil;
Reserva de Domnio;
Penhor de Veculos;
outras.</xs:documentation>

</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="med" maxOccurs="500">
<xs:annotation>
<xs:documentation>grupo do detalhamento de Medicamentos e de matrias-primas farma
cuticas</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nLote">
<xs:annotation>
<xs:documentation>Nmero do lote do medicamento</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qLote" type="TDec_0803v">
<xs:annotation>
<xs:documentation>Quantidade de produtos no lote</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dFab" type="TData">
<xs:annotation>
<xs:documentation>Data de Fabricao do medicamento (AAAA-MM-DD)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dVal" type="TData">
<xs:annotation>
<xs:documentation>Data de validade do medicamento (AAAA-MM-DD)</xs:documentation
>
</xs:annotation>
</xs:element>
<xs:element name="vPMC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Preo Mximo ao Consumidor</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

<xs:element name="arma" maxOccurs="500">


<xs:annotation>
<xs:documentation>Armamentos</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="tpArma">
<xs:annotation>
<xs:documentation>Indicador do tipo de arma de fogo (0 - Uso permitido; 1 - Uso
restrito)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nSerie">
<xs:annotation>
<xs:documentation>Nmero de srie da arma</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nCano">

<xs:annotation>
<xs:documentation>Nmero de srie do cano</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="15"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descr">
<xs:annotation>
<xs:documentation>Descrio completa da arma, compreendendo: calibre, marca, capacid
ade, tipo de funcionamento, comprimento e demais elementos que permitam a sua pe
rfeita identificao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="comb">
<xs:annotation>
<xs:documentation>Informar apenas para operaes com combustveis lquidos</xs:documenta
tion>
</xs:annotation>

<xs:complexType>
<xs:sequence>
<xs:element name="cProdANP" type="TcProdANP">
<xs:annotation>
<xs:documentation>Cdigo de produto da ANP. codificao de produtos do SIMP (http://ww
w.anp.gov.br)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pMixGN" type="TDec_0204v" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de gas natural para o produto GLP</xs:documentation
>
</xs:annotation>
</xs:element>
<xs:element name="CODIF" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo de autorizao / registro do CODIF. Informar apenas quando a
UF utilizar o CODIF (Sistema de Controle do
Diferimento do I
mposto nas Operaes com AEAC - lcool Etlico Anidro Combustvel).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,21}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qTemp" type="TDec_1204temperatura" minOccurs="0">
<xs:annotation>
<xs:documentation>Quantidade de combustvel
faturada temperatura ambiente.
Informar quando a quantidade
faturada informada no campo
qCom (I10) tiver sido ajustada para
uma temperatura diferente da

ambiente.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UFCons" type="TUf">
<xs:annotation>
<xs:documentation>Sigla da UF de Consumo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CIDE" minOccurs="0">
<xs:annotation>
<xs:documentation>CIDE Combustveis</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="qBCProd" type="TDec_1204v">
<xs:annotation>
<xs:documentation>BC do CIDE ( Quantidade comercializada) </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104">
<xs:annotation>
<xs:documentation>Alquota do CIDE (em reais)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCIDE" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do CIDE</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>

</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="nRECOPI">
<xs:annotation>
<xs:documentation>Nmero do RECOPI</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:maxLength value="20"/>
<xs:pattern value="[0-9]{20}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="imposto">
<xs:annotation>
<xs:documentation>Tributos incidentes nos produtos ou servios da NF-e</xs:documen
tation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor estimado total de impostos federais, estaduais e municip

ais</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:sequence>
<xs:element name="ICMS">
<xs:annotation>
<xs:documentation>Dados do ICMS Normal e ST</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element name="ICMS00">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
00 - Tributada integralmente</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
00 - Tributada integralmente
</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="00"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS10">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
10 - Tributada e com cobrana do ICMS por substituio tributria </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>10 - Tributada e com cobrana do ICMS por substituio tributria </xs
:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>

<xs:enumeration value="10"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>
</xs:element>

<xs:element name="vICMS" type="TDec_1302">


<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor);</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>

<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">


<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS20">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
20 - Com reduo de base de clculo </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">

<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
20 - Com reduo de base de clculo</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo desonerao</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desonerao</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="motDesICMS">
<xs:annotation>
<xs:documentation>Motivo da desonerao do ICMS:3-Uso na agropecuria;9-Outros;12-Fome
nto agropecurio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="3"/>
<xs:enumeration value="9"/>
<xs:enumeration value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS30">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
30 - Isenta ou no tributada e com cobrana do ICMS por substituio tributria</xs:docume
ntation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta

2 - Estrangeira - Adquirida no mercado interno


</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
30 - Isenta ou no tributada e com cobrana do ICMS por substituio tributria </xs:docum
entation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>

<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>
<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>

<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo desonerao</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desonerao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="motDesICMS">
<xs:annotation>
<xs:documentation>Motivo da desonerao do ICMS:6-Utilitrios Motocicleta Area Livre;7SUFRAMA;9-Outros</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS40">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
40 - Isenta
41 - No tributada

50 - Suspenso </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
40 - Isenta
41 - No tributada
50 - Suspenso
51 - Diferimento </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="40"/>
<xs:enumeration value="41"/>
<xs:enumeration value="50"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>O valor do ICMS ser informado apenas nas operaes com veculos benef
iciados com a desonerao condicional do ICMS.</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="motDesICMS">
<xs:annotation>

<xs:documentation>Este campo ser preenchido quando o campo anterior estiver preen


chido.
Informar o motivo da desonerao:
1 Txi;
3 Produtor Agropecurio;
4 Frotista/Locadora;
5 Diplomtico/Consular;
6 Utilitrios e Motocicletas da Amaznia Ocidental e reas de Livre Comrcio (Resoluo 714
88 e 790/94 CONTRAN e suas alteraes);
7 SUFRAMA;
8 - Venda a rgo Pblico;
9 Outros
10- Deficiente Condutor
11- Deficiente no condutor</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="8"/>
<xs:enumeration value="9"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>

</xs:complexType>
</xs:element>
<xs:element name="ICMS51">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
51 - Diferimento
A exigncia do preenchimento das informaes do ICMS diferido fica critrio de cada UF.<
/xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
20 - Com reduo de base de clculo</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="51"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBC" minOccurs="0">
<xs:annotation>

<xs:documentation>Modalidade de determinao da BC do ICMS:


0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBC" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSOp" type="TDec_1302Opc" minOccurs="0">

<xs:annotation>
<xs:documentation>Valor do ICMS da Operao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pDif" type="TDec_0302a04OpcMax100" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual do diferemento</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSDif" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do ICMS da diferido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS60">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
60 - ICMS cobrado anteriormente por substituio tributria </xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>

<xs:documentation>origem da mercadoria: 0 - Nacional


1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
60 - ICMS cobrado anteriormente por substituio tributria </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>NT2010/004</xs:documentation>
</xs:annotation>
<xs:element name="vBCSTRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST retido anteriormente</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSSTRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST retido anteriormente</xs:documentation>
</xs:annotation>
</xs:element>

</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS70">
<xs:annotation>

<xs:documentation>Tributao pelo ICMS


70 - Com reduo de base de clculo e cobrana do ICMS por substituio tributria </xs:docum
ntation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>

<xs:documentation>Tributo pelo ICMS


70 - Com reduo de base de clculo e cobrana do ICMS por substituio tributria </xs:docum
ntation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="70"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>

</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>

<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">


<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo desonerao</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desonerao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="motDesICMS">

<xs:annotation>
<xs:documentation>Motivo da desonerao do ICMS:3-Uso na agropecuria;9-Outros;12-Fome
nto agropecurio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="3"/>
<xs:enumeration value="9"/>
<xs:enumeration value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMS90">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
90 - Outras</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>

<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
90 - Outras</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="90"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>

<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0">
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>

<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>
<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>

<xs:element name="vICMSST" type="TDec_1302">


<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo desonerao</xs:documentation>
</xs:annotation>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS de desonerao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="motDesICMS">
<xs:annotation>
<xs:documentation>Motivo da desonerao do ICMS:3-Uso na agropecuria;9-Outros;12-Fome
nto agropecurio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="3"/>
<xs:enumeration value="9"/>
<xs:enumeration value="12"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:sequence>

</xs:complexType>
</xs:element>
<xs:element name="ICMSPart">
<xs:annotation>
<xs:documentation>Partilha do ICMS entre a UF de origem e UF de destino ou a UF
definida na legislao
Operao interestadual para consumidor final com partilha do ICMS devido na operao en
tre a UF de origem e a UF do destinatrio ou ou a UF definida na legislao. (Ex. UF d
a concessionria de entrega do veculos)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS
10 - Tributada e com cobrana do ICMS por substituio tributria;
90 Outros.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="10"/>
<xs:enumeration value="90"/>
</xs:restriction>
</xs:simpleType>
</xs:element>

<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>

</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>

<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">


<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pBCOp" type="TDec_0302a04Opc">
<xs:annotation>
<xs:documentation>Percentual para determinao do valor da Base de Clculo da operao prp
ria.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UFST" type="TUf">
<xs:annotation>
<xs:documentation>Sigla da UF para qual devido o ICMS ST da operao.</xs:documentat
ion>
</xs:annotation>

</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSST">
<xs:annotation>
<xs:documentation>Grupo de informao do ICMSST devido para a UF de destino, nas ope
raes interestaduais de produtos que tiveram reteno antecipada de ICMS por ST na UF d
o remetente. Repasse via Substituto Tributrio.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Tributo pelo ICMS
41-No Tributado</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="41"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBCSTRet" type="TDec_1302">

<xs:annotation>
<xs:documentation>Informar o valor da BC do ICMS ST retido na UF remetente</xs:d
ocumentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSSTRet" type="TDec_1302">
<xs:annotation>
<xs:documentation> Informar o valor do ICMS ST retido na UF remetente (iv2.0))</
xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCSTDest" type="TDec_1302">
<xs:annotation>
<xs:documentation> Informar o valor da BC do ICMS ST da UF destino</xs:documenta
tion>
</xs:annotation>
</xs:element>
<xs:element name="vICMSSTDest" type="TDec_1302">
<xs:annotation>
<xs:documentation>Informar o valor da BC do ICMS ST da UF destino (v2.0)</xs:doc
umentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN101">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL e CSOSN=101 (v.2.0)</xs:d
ocumentation>
</xs:annotation>
<xs:complexType>

<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
(v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>101- Tributada pelo Simples Nacional com permisso de crdito. (v.
2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="101"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pCredSN" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota aplicvel de clculo do crdito (Simples Nacional). (v2.0)</x
s:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCredICMSSN" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor crdito do ICMS que pode ser aproveitado nos termos do art
. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN102">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL e CSOSN=102, 103, 300 ou
400 (v.2.0))</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
(v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>102- Tributada pelo Simples Nacional sem permisso de crdito.
103 Iseno do ICMS no Simples Nacional para faixa de receita bruta.
300 Imune.
400 No tributda pelo Simples Nacional (v.2.0) (v.2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="102"/>
<xs:enumeration value="103"/>
<xs:enumeration value="300"/>
<xs:enumeration value="400"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN201">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL e CSOSN=201 (v.2.0)</xs:d
ocumentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>Origem da mercadoria:
0 Nacional;
1 Estrangeira Importao direta;
2 Estrangeira Adquirida no mercado interno. (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>201- Tributada pelo Simples Nacional com permisso de crdito e co
m cobrana do ICMS por Substituio Tributria (v.2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="201"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBCST">

<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor). (v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST (v2.0)</xs:do
cumentation>
</xs:annotation>
</xs:element>
<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>

<xs:documentation>Valor da BC do ICMS ST (v2.0)</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pCredSN" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota aplicvel de clculo do crdito (Simples Nacional). (v2.0)</x
s:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCredICMSSN" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor crdito do ICMS que pode ser aproveitado nos termos do art
. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN202">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL e CSOSN=202 ou 203 (v.2.0

)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>Origem da mercadoria:
0 Nacional;
1 Estrangeira Importao direta;
2 Estrangeira Adquirida no mercado interno. (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>202- Tributada pelo Simples Nacional sem permisso de crdito e co
m cobrana do ICMS por Substituio Tributria;
203- Iseno do ICMS nos Simples Nacional para faixa de receita bruta e com cobrana
do ICMS por Substituio Tributria (v.2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="202"/>
<xs:enumeration value="203"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modBCST">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS ST:
0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor). (v2.0)</xs:documentation>

</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST (v2.0)</xs:do
cumentation>
</xs:annotation>
</xs:element>
<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>

<xs:documentation>Alquota do ICMS ST (v2.0)</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN500">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL,CRT=1 Simples Nacional e
CSOSN=500 (v.2.0)</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>500 ICMS cobrado anterirmente por substituio tributria (substitudo
) ou por antecipao
(v.2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:element name="vBCSTRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS ST retido anteriormente (v2.0) </xs:docume
ntation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSSTRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST retido anteriormente (v2.0)</xs:documentatio
n>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ICMSSN900">
<xs:annotation>
<xs:documentation>Tributao do ICMS pelo SIMPLES NACIONAL, CRT=1 Simples Nacional e
CSOSN=900 (v2.0)</xs:documentation>
</xs:annotation>

<xs:complexType>
<xs:sequence>
<xs:element name="orig" type="Torig">
<xs:annotation>
<xs:documentation>origem da mercadoria: 0 - Nacional
1 - Estrangeira - Importao direta
2 - Estrangeira - Adquirida no mercado interno
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CSOSN">
<xs:annotation>
<xs:documentation>Tributao pelo ICMS 900 - Outros(v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="900"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:sequence minOccurs="0">
<xs:element name="modBC">
<xs:annotation>
<xs:documentation>Modalidade de determinao da BC do ICMS:
0 - Margem Valor Agregado (%);
1 - Pauta (valor);
2 - Preo Tabelado Mximo (valor);
3 - Valor da Operao.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>

<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pRedBC" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0">
<xs:element name="modBCST">
<xs:annotation>

<xs:documentation>Modalidade de determinao da BC do ICMS ST:


0 Preo tabelado ou mximo sugerido;
1 - Lista Negativa (valor);
2 - Lista Positiva (valor);
3 - Lista Neutra (valor);
4 - Margem Valor Agregado (%);
5 - Pauta (valor).</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="pMVAST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual da Margem de Valor Adicionado ICMS ST</xs:documenta
tion>
</xs:annotation>
</xs:element>
<xs:element name="pRedBCST" type="TDec_0302a04Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Percentual de reduo da BC ICMS ST </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>

<xs:documentation>Valor da BC do ICMS ST</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="pICMSST" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="0">
<xs:element name="pCredSN" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota aplicvel de clculo do crdito (Simples Nacional). (v2.0)</x
s:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCredICMSSN" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor crdito do ICMS que pode ser aproveitado nos termos do art
. 23 da LC 123 (Simples Nacional) (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:sequence>
</xs:complexType>
</xs:element>

</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="IPI" type="TIpi" minOccurs="0"/>
<xs:element name="II" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do Imposto de Importao</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Base da BC do Imposto de Importao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDespAdu" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor das despesas aduaneiras</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vII" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do Imposto de Importao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vIOF" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do Imposto sobre Operaes Financeiras</xs:documentation>
</xs:annotation>
</xs:element>

</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="IPI" type="TIpi" minOccurs="0"/>
<xs:element name="ISSQN">
<xs:annotation>
<xs:documentation>ISSQN</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do ISSQN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliq" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do ISSQN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vISSQN" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da do ISSQN</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cMunFG" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Informar o municpio de ocorrncia do fato gerador do ISSQN. Utili
zar a Tabela do IBGE (Anexo VII - Tabela de UF, Municpio e Pas). Ateno, no vincular co

m os campos B12, C10 ou E10 v2.0</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="cListServ" type="TCListServ">
<xs:annotation>
<xs:documentation>Informar o Item da lista de servios da LC 116/03 em que se clas
sifica o servio.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDeducao" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor deduo para reduo da base de clculo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor outras retenes</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDescIncond" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor desconto incondicionado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDescCond" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor desconto condicionado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vISSRet" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>

<xs:documentation>Valor Reteno ISS</xs:documentation>


</xs:annotation>
</xs:element>
<xs:element name="indISS">
<xs:annotation>
<xs:documentation>Exibilidade do ISS:1-Exigvel;2-No incidente;3-Iseno;4-Exportao;5-Imu
nidade;6-Exig.Susp. Judicial;7-Exig.Susp. ADM</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cServico" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do servio prestado dentro do municpio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:minLength value="1"/>
<xs:maxLength value="20"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cMun" type="TCodMunIBGE" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do Municpio de Incidncia do Imposto</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cPais" type="Tpais" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do pas onde o servio foi prestado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nProcesso" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero do Processo administrativo ou judicial de suspeno do proces
so</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:minLength value="1"/>
<xs:maxLength value="30"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="indIncentivo">
<xs:annotation>
<xs:documentation>Indicador de Incentivo Fiscal. 1=Sim; 2=No</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="PIS" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do PIS</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element name="PISAliq">
<xs:annotation>

<xs:documentation>Cdigo de Situao Tributria do PIS.


01 Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/N
mulativo);
02 - Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada);</xs:
documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>

<xs:documentation>Cdigo de Situao Tributria do PIS.


01 Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/N
mulativo);

02 - Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada);</xs:


documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do PIS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pPIS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do PIS (em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vPIS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do PIS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PISQtde">
<xs:annotation>

<xs:documentation>Cdigo de Situao Tributria do PIS.


03 - Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade d
e Produto;</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do PIS.
03 - Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade d
e Produto;</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="03"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qBCProd" type="TDec_1204v">
<xs:annotation>
<xs:documentation>Quantidade Vendida (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Alquota do PIS (em reais) (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vPIS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do PIS</xs:documentation>

</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PISNT">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do PIS.
04 - Operao Tributvel - Tributao Monofsica - (Alquota Zero);
06 - Operao Tributvel - Alquota Zero;
07 - Operao Isenta da contribuio;
08 - Operao Sem Incidncia da contribuio;
09 - Operao com suspenso da contribuio;</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do PIS.
04 - Operao Tributvel - Tributao Monofsica - (Alquota Zero);
05 - Operao Tributvel (ST);
06 - Operao Tributvel - Alquota Zero;
07 - Operao Isenta da contribuio;
08 - Operao Sem Incidncia da contribuio;
09 - Operao com suspenso da contribuio;</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
<xs:enumeration value="09"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PISOutr">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do PIS.
99 - Outras Operaes.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do PIS.
99 - Outras Operaes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="49"/>
<xs:enumeration value="50"/>
<xs:enumeration value="51"/>
<xs:enumeration value="52"/>
<xs:enumeration value="53"/>
<xs:enumeration value="54"/>
<xs:enumeration value="55"/>
<xs:enumeration value="56"/>
<xs:enumeration value="60"/>
<xs:enumeration value="61"/>

<xs:enumeration value="62"/>
<xs:enumeration value="63"/>
<xs:enumeration value="64"/>
<xs:enumeration value="65"/>
<xs:enumeration value="66"/>
<xs:enumeration value="67"/>
<xs:enumeration value="70"/>
<xs:enumeration value="71"/>
<xs:enumeration value="72"/>
<xs:enumeration value="73"/>
<xs:enumeration value="74"/>
<xs:enumeration value="75"/>
<xs:enumeration value="98"/>
<xs:enumeration value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do PIS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pPIS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do PIS (em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>

<xs:sequence>
<xs:element name="qBCProd" type="TDec_1204v">
<xs:annotation>
<xs:documentation>Quantidade Vendida (NT2011/004) </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Alquota do PIS (em reais) (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="vPIS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do PIS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="PISST" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do PIS Substituio Tributria</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>

<xs:choice>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302Opc">
<xs:annotation>
<xs:documentation>Valor da BC do PIS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pPIS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do PIS ST (em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="qBCProd" type="TDec_1204">
<xs:annotation>
<xs:documentation>Quantidade Vendida </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104">
<xs:annotation>
<xs:documentation>Alquota do PIS ST (em reais)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="vPIS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do PIS ST</xs:documentation>
</xs:annotation>

</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="COFINS" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do COFINS</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element name="COFINSAliq">
<xs:annotation>

<xs:documentation>Cdigo de Situao Tributria do COFINS.


01 Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/N
mulativo);
02 - Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada);</xs:
documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>

<xs:documentation>Cdigo de Situao Tributria do COFINS.


01 Operao Tributvel - Base de Clculo = Valor da Operao Alquota Normal (Cumulativo/N
mulativo);
02 - Operao Tributvel - Base de Calculo = Valor da Operao (Alquota Diferenciada);</xs:
documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
</xs:restriction>

</xs:simpleType>
</xs:element>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pCOFINS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do COFINS (em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCOFINS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="COFINSQtde">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do COFINS.
03 - Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade d
e Produto;</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do COFINS.
03 - Operao Tributvel - Base de Calculo = Quantidade Vendida x Alquota por Unidade d

e Produto;</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="03"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qBCProd" type="TDec_1204v">
<xs:annotation>
<xs:documentation>Quantidade Vendida (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Alquota do COFINS (em reais) (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCOFINS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="COFINSNT">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do COFINS:
04 - Operao Tributvel - Tributao Monofsica - (Alquota Zero);
06 - Operao Tributvel - Alquota Zero;
07 - Operao Isenta da contribuio;

08 - Operao Sem Incidncia da contribuio;


09 - Operao com suspenso da contribuio;</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do COFINS:
04 - Operao Tributvel - Tributao Monofsica - (Alquota Zero);
05 - Operao Tributvel (ST);
06 - Operao Tributvel - Alquota Zero;
07 - Operao Isenta da contribuio;
08 - Operao Sem Incidncia da contribuio;
09 - Operao com suspenso da contribuio;</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="06"/>
<xs:enumeration value="07"/>
<xs:enumeration value="08"/>
<xs:enumeration value="09"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="COFINSOutr">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria do COFINS:
49 - Outras Operaes de Sada
50 - Operao com Direito a Crdito - Vinculada Exclusivamente a Receita Tributada no

Mercado Interno
51 - Operao com Direito a Crdito Vinculada Exclusivamente a Receita No Tributada no
Mercado Interno
52 - Operao com Direito a Crdito - Vinculada Exclusivamente a Receita de Exportao
53 - Operao com Direito a Crdito - Vinculada a Receitas Tributadas e No-Tributadas n
o Mercado Interno
54 - Operao com Direito a Crdito - Vinculada a Receitas Tributadas no Mercado Inter
no e de Exportao
55 - Operao com Direito a Crdito - Vinculada a Receitas No-Tributadas no Mercado Int
erno e de Exportao
56 - Operao com Direito a Crdito - Vinculada a Receitas Tributadas e No-Tributadas n
o Mercado Interno, e de Exportao
60 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita Tributad
a no Mercado Interno
61 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita No-Tribut
ada no Mercado Interno
62 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita de Expor
tao
63 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas e No-Tributa
das no Mercado Interno
64 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas no Mercado
Interno e de Exportao
65 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas No-Tributadas no Mercad
o Interno e de Exportao
66 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas e No-Tributa
das no Mercado Interno, e de Exportao
67 - Crdito Presumido - Outras Operaes
70 - Operao de Aquisio sem Direito a Crdito
71 - Operao de Aquisio com Iseno
72 - Operao de Aquisio com Suspenso
73 - Operao de Aquisio a Alquota Zero
74 - Operao de Aquisio sem Incidncia da Contribuio
75 - Operao de Aquisio por Substituio Tributria
98 - Outras Operaes de Entrada
99 - Outras Operaes.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:documentation>Cdigo de Situao Tributria
49 - Outras Operaes de Sada
50 - Operao com Direito a Crdito - Vinculada
Mercado Interno
51 - Operao com Direito a Crdito Vinculada
Mercado Interno
52 - Operao com Direito a Crdito - Vinculada
53 - Operao com Direito a Crdito - Vinculada
o Mercado Interno
54 - Operao com Direito a Crdito - Vinculada
no e de Exportao
55 - Operao com Direito a Crdito - Vinculada
erno e de Exportao
56 - Operao com Direito a Crdito - Vinculada

do COFINS:
Exclusivamente a Receita Tributada no
Exclusivamente a Receita No Tributada no
Exclusivamente a Receita de Exportao
a Receitas Tributadas e No-Tributadas n
a Receitas Tributadas no Mercado Inter
a Receitas No-Tributadas no Mercado Int
a Receitas Tributadas e No-Tributadas n

o Mercado Interno, e de Exportao


60 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita Tributad
a no Mercado Interno
61 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita No-Tribut
ada no Mercado Interno
62 - Crdito Presumido - Operao de Aquisio Vinculada Exclusivamente a Receita de Expor
tao
63 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas e No-Tributa
das no Mercado Interno
64 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas no Mercado
Interno e de Exportao
65 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas No-Tributadas no Mercad
o Interno e de Exportao
66 - Crdito Presumido - Operao de Aquisio Vinculada a Receitas Tributadas e No-Tributa
das no Mercado Interno, e de Exportao
67 - Crdito Presumido - Outras Operaes
70 - Operao de Aquisio sem Direito a Crdito
71 - Operao de Aquisio com Iseno
72 - Operao de Aquisio com Suspenso
73 - Operao de Aquisio a Alquota Zero
74 - Operao de Aquisio sem Incidncia da Contribuio
75 - Operao de Aquisio por Substituio Tributria
98 - Outras Operaes de Entrada
99 - Outras Operaes.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="49"/>
<xs:enumeration value="50"/>
<xs:enumeration value="51"/>
<xs:enumeration value="52"/>
<xs:enumeration value="53"/>
<xs:enumeration value="54"/>
<xs:enumeration value="55"/>
<xs:enumeration value="56"/>
<xs:enumeration value="60"/>
<xs:enumeration value="61"/>
<xs:enumeration value="62"/>
<xs:enumeration value="63"/>
<xs:enumeration value="64"/>
<xs:enumeration value="65"/>

<xs:enumeration value="66"/>
<xs:enumeration value="67"/>
<xs:enumeration value="70"/>
<xs:enumeration value="71"/>
<xs:enumeration value="72"/>
<xs:enumeration value="73"/>
<xs:enumeration value="74"/>
<xs:enumeration value="75"/>
<xs:enumeration value="98"/>
<xs:enumeration value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pCOFINS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do COFINS (em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="qBCProd" type="TDec_1204v">
<xs:annotation>
<xs:documentation>Quantidade Vendida (NT2011/004) </xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104v">
<xs:annotation>
<xs:documentation>Alquota do COFINS (em reais) (NT2011/004)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="vCOFINS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="COFINSST" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do COFINS da
Substituio Tributaria;</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">

<xs:annotation>
<xs:documentation>Valor da BC do COFINS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pCOFINS" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do COFINS ST(em percentual)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element name="qBCProd" type="TDec_1204">
<xs:annotation>
<xs:documentation>Quantidade Vendida </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vAliqProd" type="TDec_1104">
<xs:annotation>
<xs:documentation>Alquota do COFINS ST(em reais)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="vCOFINS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do COFINS ST</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="impostoDevol" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="pDevol" type="TDec_0302Max100">
<xs:annotation>
<xs:documentation>Percentual de mercadoria devolvida</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IPI">
<xs:annotation>
<xs:documentation>Informao de IPI devolvido</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vIPIDevol" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do IPI devolvido</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="infAdProd" minOccurs="0">

<xs:annotation>
<xs:documentation>Informaes adicionais do produto (norma referenciada, informaes com
plementares, etc)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="500"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
</xs:sequence>
<xs:attribute na
me="nItem" use="required">
<xs:anno
tation>
<xs:documentation>Nmero do item do NF</xs:documentation>
</xs:ann
otation>
<xs:simp
leType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9
]{1}[9]{1}[0]{1}"/>
</xs:restriction>
</xs:sim
pleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="total">
<xs:annotation>
<xs:documentatio
n>Dados dos totais da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="ICMSTot">
<xs:annotation>
<xs:documentation>Totais referentes ao ICMS</xs:documentation>
</xs:annotation>

<xs:complexType>
<xs:sequence>
<xs:element name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>BC do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSDeson" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do ICMS desonerado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCST" type="TDec_1302">
<xs:annotation>
<xs:documentation>BC do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vST" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do ICMS ST</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vProd" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total dos produtos e servios</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vFrete" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do Frete</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vSeg" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do Seguro</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDesc" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do Desconto</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vII" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do II</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vIPI" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total do IPI</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vPIS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do PIS</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vCOFINS" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do COFINS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vOutro" type="TDec_1302">
<xs:annotation>
<xs:documentation>Outras Despesas acessrias</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vNF" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total da NF-e</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor estimado total de impostos federais, estaduais e municip
ais</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="ISSQNtot" minOccurs="0">
<xs:annotation>
<xs:documentation>Totais referentes ao ISSQN</xs:documentation>
</xs:annotation>

<xs:complexType>
<xs:sequence>
<xs:element name="vServ" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total dos Servios sob no-incidncia ou no tributados pelo ICM
S </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBC" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Base de Clculo do ISS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vISS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total do ISS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vPIS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do PIS sobre servios</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vCOFINS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor do COFINS sobre servios</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dCompet" type="TData">
<xs:annotation>
<xs:documentation>Data da prestao do servio (AAAA-MM-DD)</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vDeducao" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor deduo para reduo da base de clculo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor outras retenes</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDescIncond" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor desconto incondicionado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDescCond" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor desconto condicionado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vISSRet" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Total Reteno ISS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cRegTrib" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do regime especial de tributao</xs:documentation>

</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="retTrib" minOccurs="0">
<xs:annotation>
<xs:documentation>Reteno de Tributos Federais</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="vRetPIS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Retido de PIS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vRetCOFINS" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Retido de COFINS</xs:documentation>

</xs:annotation>
</xs:element>
<xs:element name="vRetCSLL" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Retido de CSLL</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCIRRF" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Base de Clculo do IRRF</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vIRRF" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor Retido de IRRF</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCRetPrev" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Base de Clculo da Reteno da Previdncica Social</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vRetPrev" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor da Reteno da Previdncica Social</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>

</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="transp">
<xs:annotation>
<xs:documentatio
n>Dados dos transportes da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="modFrete">
<xs:annotation>
<xs:documentation>Modalidade do frete
0- Por conta do emitente;
1- Por conta do destinatrio/remetente;
2- Por conta de terceiros;
9- Sem frete (v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="transporta" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do transportador</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0">
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>

<xs:documentation>CNPJ do transportador</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>CPF do transportador</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="xNome" minOccurs="0">
<xs:annotation>
<xs:documentation>Razo Social ou nome do transportador</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IE" type="TIeDest" minOccurs="0">
<xs:annotation>
<xs:documentation>Inscrio Estadual (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xEnder" minOccurs="0">
<xs:annotation>
<xs:documentation>Endereo completo</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xMun" minOccurs="0">
<xs:annotation>
<xs:documentation>Nome do muncipio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UF" type="TUf" minOccurs="0">
<xs:annotation>
<xs:documentation>Sigla da UF</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="retTransp" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados da reteno ICMS do Transporte</xs:documentation>
</xs:annotation>
<xs:complexType>

<xs:sequence>
<xs:element name="vServ" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do Servio</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vBCRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>BC da Reteno do ICMS</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pICMSRet" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota da Reteno</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vICMSRet" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do ICMS Retido</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CFOP" type="TCfopTransp">
<xs:annotation>
<xs:documentation>Cdigo Fiscal de Operaes e Prestaes // PL_006f - alterado para permi
tir somente CFOP de transportes </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cMunFG" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Cdigo do Municpio de Ocorrncia do Fato Gerador (utilizar a tabela
do IBGE)</xs:documentation>

</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:choi
ce>
<xs:sequence minOccurs="0">
<xs:element name="veicTransp" type="TVeiculo" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do veculo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="reboque" type="TVeiculo" minOccurs="0" maxOccurs="5">
<xs:annotation>
<xs:documentation>Dados do reboque/Dolly (v2.0)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:element name="vagao" minOccurs="0">
<xs:annotation>
<xs:documentation>Identificao do vago (v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="balsa" minOccurs="0">

<xs:annotation>
<xs:documentation>Identificao da balsa (v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:cho
ice>
<xs:elem
ent name="vol" minOccurs="0" maxOccurs="5000">
<xs:annotation>
<xs:documentation>Dados dos volumes</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="qVol" minOccurs="0">
<xs:annotation>
<xs:documentation>Quantidade de volumes transportados</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,15}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="esp" minOccurs="0">
<xs:annotation>

<xs:documentation>Espcie dos volumes transportados</xs:documentation>


</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="marca" minOccurs="0">
<xs:annotation>
<xs:documentation>Marca dos volumes transportados</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nVol" minOccurs="0">
<xs:annotation>
<xs:documentation>Numerao dos volumes transportados</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
<xs:element name="pesoL" type="TDec_1203" minOccurs="0">
<xs:annotation>
<xs:documentation>Peso lquido (em kg)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="pesoB" type="TDec_1203" minOccurs="0">
<xs:annotation>
<xs:documentation>Peso bruto (em kg)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="lacres" minOccurs="0" maxOccurs="5000">
<xs:complexType>
<xs:sequence>
<xs:element name="nLacre">
<xs:annotation>
<xs:documentation>Nmero dos Lacres</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>

</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cobr" minOccur
s="0">
<xs:annotation>
<xs:documentatio
n>Dados da cobrana da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="fat" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados da fatura</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nFat" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero da fatura</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vOrig" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor original da fatura</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">

<xs:annotation>
<xs:documentation>Valor do desconto da fatura</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="vLiq" type="TDec_1302Opc" minOccurs="0">
<xs:annotation>
<xs:documentation>Valor lquido da fatura</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="dup" minOccurs="0" maxOccurs="120">
<xs:annotation>
<xs:documentation>Dados das duplicatas NT 2011/004</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nDup" minOccurs="0">
<xs:annotation>
<xs:documentation>Nmero da duplicata</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="dVenc" type="TData" minOccurs="0">

<xs:annotation>
<xs:documentation>Data de vencimento da duplicata (AAAA-MM-DD)</xs:documentation
>
</xs:annotation>
</xs:element>
<xs:element name="vDup" type="TDec_1302Opc">
<xs:annotation>
<xs:documentation>Valor da duplicata</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="pag" minOccurs
="0" maxOccurs="100">
<xs:annotation>
<xs:documentatio
n>Dados de Pagamento. Obrigatrio apenas para (NFC-e) NT 2012/004</xs:documentatio
n>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="tPag">
<xs:annotation>

<xs:documentation>Forma de Pagamento:01-Dinheiro;02-Cheque;03-Carto de Crdito;04-C


arto de Dbito;05-Crdito Loja;10-Vale Alimentao;11-Vale Refeio;12-Vale Presente;13-Vale
Combustvel;99 - Outros</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>

<xs:enumeration value="05"/>
<xs:enumeration value="10"/>
<xs:enumeration value="11"/>
<xs:enumeration value="12"/>
<xs:enumeration value="13"/>
<xs:enumeration value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="vPag" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor do Pagamento</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="card" minOccurs="0">
<xs:annotation>
<xs:documentation>Grupo de Cartes</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="CNPJ" type="TCnpj">
<xs:annotation>
<xs:documentation>CNPJ da credenciadora de carto de crdito/dbito</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tBand">
<xs:annotation>
<xs:documentation>Bandeira da operadora de carto de crdito/dbito:01Visa; 02Mastercard
; 03American Express; 04Sorocred; 99Outros</xs:documentation>
</xs:annotation>

<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cAut">
<xs:annotation>

<xs:documentation>Nmero de autorizao da operao carto de crdito/dbito</xs:documentatio


</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="infAdic" minOc
curs="0">
<xs:annotation>
<xs:documentatio
n>Informaes adicionais da NF-e</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>

<xs:elem
ent name="infAdFisco" minOccurs="0">
<xs:annotation>
<xs:documentation>Informaes adicionais de interesse do Fisco (v2.0)</xs:documentat
ion>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="2000"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="infCpl" minOccurs="0">
<xs:annotation>
<xs:documentation>Informaes complementares de interesse do Contribuinte</xs:docume
ntation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="5000"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="obsCont" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation>Campo de uso livre do contribuinte
informar o nome do campo no atributo xCampo
e o contedo do campo no xTexto</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>

<xs:element name="xTexto">
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="xCampo" use="required">
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="obsFisco" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation>Campo de uso exclusivo do Fisco
informar o nome do campo no atributo xCampo
e o contedo do campo no xTexto</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="xTexto">
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>

<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:attribute name="xCampo" use="required">
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="procRef" minOccurs="0" maxOccurs="100">
<xs:annotation>
<xs:documentation>Grupo de informaes do processo referenciado</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nProc">
<xs:annotation>
<xs:documentation>Indentificador do processo ou ato
concessrio</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="indProc">
<xs:annotation>
<xs:documentation>Origem do processo, informar com:
0 - SEFAZ;
1 - Justia Federal;
2 - Justia Estadual;
3 - Secex/RFB;
9 - Outros</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="exporta" minOc
curs="0">
<xs:annotation>
<xs:documentatio
n>Informaes de exportao</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="UFSaidaPais" type="TUfEmi">

<xs:annotation>
<xs:documentation>Sigla da UF de Embarque ou de transposio de fronteira</xs:docume
ntation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="xLocExporta">
<xs:annotation>
<xs:documentation>Local de Embarque ou de transposio de fronteira</xs:documentatio
n>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="xLocDespacho" minOccurs="0">
<xs:annotation>
<xs:documentation>Descrio do local de despacho</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="compra" minOcc
urs="0">
<xs:annotation>
<xs:documentatio

n>Informaes de compras (Nota de Empenho, Pedido e Contrato)</xs:documentation>


</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="xNEmp" minOccurs="0">
<xs:annotation>
<xs:documentation>Informao da Nota de Empenho de compras pblicas (NT2011/004)</xs:d
ocumentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="22"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="xPed" minOccurs="0">
<xs:annotation>
<xs:documentation>Informao do pedido</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="xCont" minOccurs="0">
<xs:annotation>
<xs:documentation>Informao do contrato</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cana" minOccur
s="0">
<xs:annotation>
<xs:documentatio
n>Informaes de registro aquisies de cana</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:elem
ent name="safra">
<xs:annotation>
<xs:documentation>Identificao da safra</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="4"/>
<xs:maxLength value="9"/>
</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="ref">
<xs:annotation>
<xs:documentation>Ms e Ano de Referncia, formato: MM/AAAA</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>

</xs:restriction>
</xs:simpleType>
</xs:ele
ment>
<xs:elem
ent name="forDia" maxOccurs="31">
<xs:annotation>
<xs:documentation>Fornecimentos dirios</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="qtde" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Quantidade em quilogramas - peso lquido</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="dia" use="required">
<xs:annotation>
<xs:documentation>Nmero do dia</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:unique name="pk_Dia">
<xs:selector xpath="./*"/>
<xs:field xpath="@dia"/>

</xs:unique>
</xs:ele
ment>
<xs:elem
ent name="qTotMes" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Total do ms</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="qTotAnt" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Total Anterior</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="qTotGer" type="TDec_1110v">
<xs:annotation>
<xs:documentation>Total Geral</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="deduc" minOccurs="0" maxOccurs="10">
<xs:annotation>
<xs:documentation>Dedues - Taxas e Contribuies</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="xDed">
<xs:annotation>
<xs:documentation>Descrio da Deduo</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>

<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="vDed" type="TDec_1302">
<xs:annotation>
<xs:documentation>valor da deduo</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:ele
ment>
<xs:elem
ent name="vFor" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor dos fornecimentos</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="vTotDed" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Total das Dedues</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="vLiqFor" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor Lquido dos fornecimentos</xs:documentation>
</xs:annotation>
</xs:ele
ment>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" type="TVerNF
e" use="required">

<xs:annotation>
<xs:documentation>Verso d
o leiaute (v2.0)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Id" use="required">
<xs:annotation>
<xs:documentation>PL_005
d - 11/08/09 - validao do Id</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs
:ID">
<xs:pattern valu
e="NFe[0-9]{44}"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:unique name="pk_nItem">
<xs:selector xpath="./*"/>
<xs:field xpath="@nItem"/>
</xs:unique>
</xs:element>
<xs:element ref="ds:Signature"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TProtNFe">
<xs:annotation>
<xs:documentation>Tipo Protocolo de status resultado do
processamento da NF-e</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="infProt">
<xs:annotation>
<xs:documentation>Dados do protocolo de
status</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="tpAmb" type="T
Amb">
<xs:annotation>
<xs:documentatio
n>Identificao do Ambiente:
1 - Produo
2 - Homologao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="verAplic" type
="TVerAplic">
<xs:annotation>
<xs:documentatio
n>Verso do Aplicativo que processou a NF-e</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="chNFe" type="T
ChNFe">
<xs:annotation>
<xs:documentatio

n>Chaves de acesso da NF-e, compostas por: UF do emitente, AAMM da emisso da NFe,


CNPJ do emitente, modelo, srie e nmero da NF-e e cdigo numrico+DV.</xs:documentatio
n>
</xs:annotation>
</xs:element>
<xs:element name="dhRecbto" type
="TDateTimeUTC">
<xs:annotation>
<xs:documentatio
n>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SSTZD. Deve ser pree
nchida com data e hora da gravao no Banco em caso de Confirmao. Em caso de Rejeio, com
data e hora do recebimento do Lote de NF-e enviado.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nProt" type="T
Prot" minOccurs="0">
<xs:annotation>
<xs:documentatio
n>Nmero do Protocolo de Status da NF-e. 1 posio (1 Secretaria de Fazenda Estadual 2
Receita Federal); 2 - cdiga da UF - 2 posies ano; 10 seqencial no ano.</xs:document
ation>
</xs:annotation>
</xs:element>
<xs:element name="digVal" type="
ds:DigestValueType" minOccurs="0">
<xs:annotation>
<xs:documentatio
n>Digest Value da NF-e processada. Utilizado para conferir a integridade da NF-e
original.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cStat" type="T
Stat">
<xs:annotation>
<xs:documentatio
n>Cdigo do status da mensagem enviada.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xMotivo" type=
"TMotivo">
<xs:annotation>
<xs:documentatio
n>Descrio literal do status do servio solicitado.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="Id" type="xs:ID" use
="optional"/>
</xs:complexType>
</xs:element>
<xs:element ref="ds:Signature" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>
</xs:complexType>
<xs:complexType name="TEnviNFe">
<xs:annotation>
<xs:documentation> Tipo Pedido de Concesso de Autorizao da
Nota Fiscal Eletrnica</xs:documentation>
</xs:annotation>
<xs:sequence>

<xs:element name="idLote" type="TIdLote"/>


<xs:element name="indSinc">
<xs:annotation>
<xs:documentation>Indicador de processam
ento sncrono. 0=NO; 1=SIM=Sncrono</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NFe" type="TNFe" maxOccurs="50"/>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>
</xs:complexType>
<xs:complexType name="TRetEnviNFe">
<xs:annotation>
<xs:documentation>Tipo Retorno do Pedido de Autorizao da N
ota Fiscal Eletrnica</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="tpAmb" type="TAmb">
<xs:annotation>
<xs:documentation>Identificao do Ambiente:
1 - Produo
2 - Homologao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Verso do Aplicativo que
recebeu o Lote.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cStat" type="TStat">
<xs:annotation>
<xs:documentation>Cdigo do status da mens
agem enviada.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xMotivo" type="TMotivo">
<xs:annotation>
<xs:documentation>Descrio literal do statu
s do servio solicitado.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cUF" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>cdigo da UF de atendime
nto</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dhRecbto" type="TDateTimeUTC">
<xs:annotation>
<xs:documentation>Data e hora do recebim
ento, no formato AAAA-MM-DDTHH:MM:SSTZD</xs:documentation>

</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="infRec" minOccurs="0">
<xs:annotation>
<xs:documentation>Dados do Recib
o do Lote</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="nRec"
type="TRec">
<xs:annotation>
<xs:docu
mentation>Nmero do Recibo</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="tMed"
type="TMed">
<xs:annotation>
<xs:docu
mentation>Tempo mdio de resposta do servio (em segundos) dos ltimos 5 minutos</xs:d
ocumentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="protNFe" type="TProtNFe" minOc
curs="0">
<xs:annotation>
<xs:documentation>Protocolo de s
tatus resultado do processamento sincrono da NFC-e </xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>
</xs:complexType>
<xs:complexType name="TConsReciNFe">
<xs:annotation>
<xs:documentation>Tipo Pedido de Consulta do Recido do L
ote de Notas Fiscais Eletrnicas</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="tpAmb" type="TAmb">
<xs:annotation>
<xs:documentation>Identificao do Ambiente:
1 - Produo
2 - Homologao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nRec" type="TRec">
<xs:annotation>
<xs:documentation>Nmero do Recibo</xs:doc
umentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>

</xs:complexType>
<xs:complexType name="TRetConsReciNFe">
<xs:annotation>
<xs:documentation>Tipo Retorno do Pedido de Consulta do
Recido do Lote de Notas Fiscais Eletrnicas</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="tpAmb" type="TAmb">
<xs:annotation>
<xs:documentation>Identificao do Ambiente:
1 - Produo
2 - Homologao</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="verAplic" type="TVerAplic">
<xs:annotation>
<xs:documentation>Verso do Aplicativo que
processou a NF-e</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="nRec" type="TRec">
<xs:annotation>
<xs:documentation>Nmero do Recibo Consult
ado</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cStat" type="TStat">
<xs:annotation>
<xs:documentation>Cdigo do status da mens
agem enviada.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xMotivo" type="TMotivo">
<xs:annotation>
<xs:documentation>Descrio literal do statu
s do servio solicitado.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cUF" type="TCodUfIBGE">
<xs:annotation>
<xs:documentation>cdigo da UF de atendime
nto</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="dhRecbto" type="TDateTimeUTC">
<xs:annotation>
<xs:documentation>Data e hora de process
amento, no formato AAAA-MM-DDTHH:MM:SSTZD. Em caso de Rejeio, com data e hora do r
ecebimento do Lote de NF-e enviado.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence minOccurs="0">
<xs:element name="cMsg">
<xs:annotation>
<xs:documentation>Cdigo da Mensag
em (v2.0)
alterado para tamanho variavel 1-4. (NT2011/004)</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:restriction base="xs:string"
>
<xs:whiteSpace value="pr
eserve"/>
<xs:pattern value="[0-9]
{1,4}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xMsg">
<xs:annotation>
<xs:documentation>Mensagem da SE
FAZ para o emissor. (v2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/
>
<xs:maxLength value="200
"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
<xs:element name="protNFe" type="TProtNFe" minOccurs="0"
maxOccurs="50">
<xs:annotation>
<xs:documentation>Protocolo de status re
sultado do processamento da NF-e</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>
</xs:complexType>
<xs:complexType name="TNfeProc">
<xs:annotation>
<xs:documentation> Tipo da NF-e processada</xs:documenta
tion>
</xs:annotation>
<xs:sequence>
<xs:element name="NFe" type="TNFe"/>
<xs:element name="protNFe" type="TProtNFe"/>
</xs:sequence>
<xs:attribute name="versao" type="TVerNFe" use="required"/>
</xs:complexType>
<xs:complexType name="TEndereco">
<xs:annotation>
<xs:documentation>Tipo Dados do Endereo // 24/10/08 - ta
manho mnimo</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="xLgr">
<xs:annotation>
<xs:documentation>Logradouro</xs:documen
tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nro">
<xs:annotation>
<xs:documentation>Nmero</xs:documentation
>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xCpl" minOccurs="0">
<xs:annotation>
<xs:documentation>Complemento</xs:docume
ntation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xBairro">
<xs:annotation>
<xs:documentation>Bairro</xs:documentati
on>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cMun" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Cdigo do municpio (utili
zar a tabela do IBGE), informar 9999999 para operaes com o exterior.</xs:documenta
tion>
</xs:annotation>
</xs:element>
<xs:element name="xMun">
<xs:annotation>
<xs:documentation>Nome do municpio, infor
mar EXTERIOR para operaes com o exterior.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UF" type="TUf">
<xs:annotation>

<xs:documentation>Sigla da UF, informar


EX para operaes com o exterior.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CEP" minOccurs="0">
<xs:annotation>
<xs:documentation>CEP</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[0-9]{8}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cPais" type="Tpais" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do pas</xs:documen
tation>
</xs:annotation>
</xs:element>
<xs:element name="xPais" minOccurs="0">
<xs:annotation>
<xs:documentation>Nome do pas</xs:documen
tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fone" minOccurs="0">
<xs:annotation>
<xs:documentation>Telefone, preencher co
m Cdigo DDD + nmero do telefone , nas operaes com exterior permtido informar o cdigo
do pas + cdigo da localidade + nmero do telefone</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[0-9]{6,14}"/
>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TEnderEmi">
<xs:annotation>
<xs:documentation>Tipo Dados do Endereo do Emitente // 2
4/10/08 - desmembrado / tamanho mnimo</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="xLgr">
<xs:annotation>
<xs:documentation>Logradouro</xs:documen

tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nro">
<xs:annotation>
<xs:documentation>Nmero</xs:documentation
>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xCpl" minOccurs="0">
<xs:annotation>
<xs:documentation>Complemento</xs:docume
ntation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xBairro">
<xs:annotation>
<xs:documentation>Bairro</xs:documentati
on>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cMun" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Cdigo do municpio</xs:do
cumentation>
</xs:annotation>
</xs:element>
<xs:element name="xMun">
<xs:annotation>
<xs:documentation>Nome do municpio</xs:do
cumentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>

</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UF" type="TUfEmi">
<xs:annotation>
<xs:documentation>Sigla da UF</xs:docume
ntation>
</xs:annotation>
</xs:element>
<xs:element name="CEP">
<xs:annotation>
<xs:documentation>CEP - NT 2011/004</xs:
documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[0-9]{8}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cPais" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do pas</xs:documen
tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:enumeration value="1058"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xPais" minOccurs="0">
<xs:annotation>
<xs:documentation>Nome do pas</xs:documen
tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:enumeration value="Brasil"/>
<xs:enumeration value="BRASIL"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="fone" minOccurs="0">
<xs:annotation>
<xs:documentation>Preencher com Cdigo DDD
+ nmero do telefone (v.2.0)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[0-9]{6,14}"/
>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>

</xs:complexType>
<xs:complexType name="TLocal">
<xs:annotation>
<xs:documentation>Tipo Dados do Local de Retirada ou Ent
rega // 24/10/08 - tamanho mnimo // v2.0</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="CNPJ" type="TCnpjOpc">
<xs:annotation>
<xs:documentation>CNPJ</xs:docum
entation>
</xs:annotation>
</xs:element>
<xs:element name="CPF" type="TCpf">
<xs:annotation>
<xs:documentation>CPF (v2.0)</xs
:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="xLgr">
<xs:annotation>
<xs:documentation>Logradouro</xs:documen
tation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nro">
<xs:annotation>
<xs:documentation>Nmero</xs:documentation
>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xCpl" minOccurs="0">
<xs:annotation>
<xs:documentation>Complemento</xs:docume
ntation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="xBairro">
<xs:annotation>
<xs:documentation>Bairro</xs:documentati

on>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cMun" type="TCodMunIBGE">
<xs:annotation>
<xs:documentation>Cdigo do municpio (utili
zar a tabela do IBGE)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xMun">
<xs:annotation>
<xs:documentation>Nome do municpio</xs:do
cumentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:maxLength value="60"/>
<xs:minLength value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UF" type="TUf">
<xs:annotation>
<xs:documentation>Sigla da UF</xs:docume
ntation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TVeiculo">
<xs:annotation>
<xs:documentation>Tipo Dados do Veculo</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="placa">
<xs:annotation>
<xs:documentation>Placa do veculo (NT2011
/004)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[A-Z]{2,3}[09]{4}|[A-Z]{3,4}[0-9]{3}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UF" type="TUf">
<xs:annotation>
<xs:documentation>Sigla da UF</xs:docume
ntation>
</xs:annotation>
</xs:element>

<xs:element name="RNTC" minOccurs="0">


<xs:annotation>
<xs:documentation>Registro Nacional de T
ransportador de Carga (ANTT)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="20"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="TCfop">
<xs:annotation>
<xs:documentation>Tipo CFOP // maio/2009 - Atualizao do Aj
uste SINIEF 14/2009</xs:documentation>
<xs:documentation>Tipo CFOP - PL_005d - 11/08/09 - atual
izap do Ajuste SINIEF 05/2009</xs:documentation>
<xs:documentation>Tipo CFOP // 24/10/08 acrescentada a l
ista de CFOP validos // PL_06 eliminado os CFOP de prestao de servios de comunicao //
PL_006f eliminado os CFOP de prestao de servios de transporte</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1101"/>
<xs:enumeration value="1102"/>
<xs:enumeration value="1111"/>
<xs:enumeration value="1113"/>
<xs:enumeration value="1116"/>
<xs:enumeration value="1117"/>
<xs:enumeration value="1118"/>
<xs:enumeration value="1120"/>
<xs:enumeration value="1121"/>
<xs:enumeration value="1122"/>
<xs:enumeration value="1124"/>
<xs:enumeration value="1125"/>
<xs:enumeration value="1126"/>
<xs:enumeration value="1128"/>
<xs:enumeration value="1151"/>
<xs:enumeration value="1152"/>
<xs:enumeration value="1153"/>
<xs:enumeration value="1154"/>
<xs:enumeration value="1201"/>
<xs:enumeration value="1202"/>
<xs:enumeration value="1203"/>
<xs:enumeration value="1204"/>
<xs:enumeration value="1205"/>
<xs:enumeration value="1206"/>
<xs:enumeration value="1207"/>
<xs:enumeration value="1208"/>
<xs:enumeration value="1209"/>
<xs:enumeration value="1251"/>
<xs:enumeration value="1252"/>
<xs:enumeration value="1253"/>
<xs:enumeration value="1254"/>
<xs:enumeration value="1255"/>
<xs:enumeration value="1256"/>
<xs:enumeration value="1257"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="1301"/>
value="1302"/>
value="1303"/>
value="1304"/>
value="1305"/>
value="1306"/>
value="1351"/>
value="1352"/>
value="1353"/>
value="1354"/>
value="1355"/>
value="1356"/>
value="1360"/>
value="1401"/>
value="1403"/>
value="1406"/>
value="1407"/>
value="1408"/>
value="1409"/>
value="1410"/>
value="1411"/>
value="1414"/>
value="1415"/>
value="1451"/>
value="1452"/>
value="1501"/>
value="1503"/>
value="1504"/>
value="1505"/>
value="1506"/>
value="1551"/>
value="1552"/>
value="1553"/>
value="1554"/>
value="1555"/>
value="1556"/>
value="1557"/>
value="1601"/>
value="1602"/>
value="1603"/>
value="1604"/>
value="1605"/>
value="1651"/>
value="1652"/>
value="1653"/>
value="1658"/>
value="1659"/>
value="1660"/>
value="1661"/>
value="1662"/>
value="1663"/>
value="1664"/>
value="1901"/>
value="1902"/>
value="1903"/>
value="1904"/>
value="1905"/>
value="1906"/>
value="1907"/>
value="1908"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="1909"/>
value="1910"/>
value="1911"/>
value="1912"/>
value="1913"/>
value="1914"/>
value="1915"/>
value="1916"/>
value="1917"/>
value="1918"/>
value="1919"/>
value="1920"/>
value="1921"/>
value="1922"/>
value="1923"/>
value="1924"/>
value="1925"/>
value="1926"/>
value="1931"/>
value="1932"/>
value="1933"/>
value="1934"/>
value="1949"/>
value="2101"/>
value="2102"/>
value="2111"/>
value="2113"/>
value="2116"/>
value="2117"/>
value="2118"/>
value="2120"/>
value="2121"/>
value="2122"/>
value="2124"/>
value="2125"/>
value="2126"/>
value="2128"/>
value="2151"/>
value="2152"/>
value="2153"/>
value="2154"/>
value="2201"/>
value="2202"/>
value="2203"/>
value="2204"/>
value="2205"/>
value="2206"/>
value="2207"/>
value="2208"/>
value="2209"/>
value="2251"/>
value="2252"/>
value="2253"/>
value="2254"/>
value="2255"/>
value="2256"/>
value="2257"/>
value="2301"/>
value="2302"/>
value="2303"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="2304"/>
value="2305"/>
value="2306"/>
value="2351"/>
value="2352"/>
value="2353"/>
value="2354"/>
value="2355"/>
value="2356"/>
value="2401"/>
value="2403"/>
value="2406"/>
value="2407"/>
value="2408"/>
value="2409"/>
value="2410"/>
value="2411"/>
value="2414"/>
value="2415"/>
value="2501"/>
value="2503"/>
value="2504"/>
value="2505"/>
value="2506"/>
value="2551"/>
value="2552"/>
value="2553"/>
value="2554"/>
value="2555"/>
value="2556"/>
value="2557"/>
value="2603"/>
value="2651"/>
value="2652"/>
value="2653"/>
value="2658"/>
value="2659"/>
value="2660"/>
value="2661"/>
value="2662"/>
value="2663"/>
value="2664"/>
value="2901"/>
value="2902"/>
value="2903"/>
value="2904"/>
value="2905"/>
value="2906"/>
value="2907"/>
value="2908"/>
value="2909"/>
value="2910"/>
value="2911"/>
value="2912"/>
value="2913"/>
value="2914"/>
value="2915"/>
value="2916"/>
value="2917"/>
value="2918"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="2919"/>
value="2920"/>
value="2921"/>
value="2922"/>
value="2923"/>
value="2924"/>
value="2925"/>
value="2931"/>
value="2932"/>
value="2933"/>
value="2934"/>
value="2949"/>
value="3101"/>
value="3102"/>
value="3126"/>
value="3127"/>
value="3128"/>
value="3201"/>
value="3202"/>
value="3205"/>
value="3206"/>
value="3207"/>
value="3211"/>
value="3251"/>
value="3301"/>
value="3351"/>
value="3352"/>
value="3353"/>
value="3354"/>
value="3355"/>
value="3356"/>
value="3503"/>
value="3551"/>
value="3553"/>
value="3556"/>
value="3651"/>
value="3652"/>
value="3653"/>
value="3930"/>
value="3949"/>
value="5101"/>
value="5102"/>
value="5103"/>
value="5104"/>
value="5105"/>
value="5106"/>
value="5109"/>
value="5110"/>
value="5111"/>
value="5112"/>
value="5113"/>
value="5114"/>
value="5115"/>
value="5116"/>
value="5117"/>
value="5118"/>
value="5119"/>
value="5120"/>
value="5122"/>
value="5123"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="5124"/>
value="5125"/>
value="5151"/>
value="5152"/>
value="5153"/>
value="5155"/>
value="5156"/>
value="5201"/>
value="5202"/>
value="5205"/>
value="5206"/>
value="5207"/>
value="5208"/>
value="5209"/>
value="5210"/>
value="5251"/>
value="5252"/>
value="5253"/>
value="5254"/>
value="5255"/>
value="5256"/>
value="5257"/>
value="5258"/>
value="5401"/>
value="5402"/>
value="5403"/>
value="5405"/>
value="5408"/>
value="5409"/>
value="5410"/>
value="5411"/>
value="5412"/>
value="5413"/>
value="5414"/>
value="5415"/>
value="5451"/>
value="5501"/>
value="5502"/>
value="5503"/>
value="5504"/>
value="5505"/>
value="5551"/>
value="5552"/>
value="5553"/>
value="5554"/>
value="5555"/>
value="5556"/>
value="5557"/>
value="5601"/>
value="5602"/>
value="5603"/>
value="5605"/>
value="5606"/>
value="5651"/>
value="5652"/>
value="5653"/>
value="5654"/>
value="5655"/>
value="5656"/>
value="5657"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="5658"/>
value="5659"/>
value="5660"/>
value="5661"/>
value="5662"/>
value="5663"/>
value="5664"/>
value="5665"/>
value="5666"/>
value="5667"/>
value="5901"/>
value="5902"/>
value="5903"/>
value="5904"/>
value="5905"/>
value="5906"/>
value="5907"/>
value="5908"/>
value="5909"/>
value="5910"/>
value="5911"/>
value="5912"/>
value="5913"/>
value="5914"/>
value="5915"/>
value="5916"/>
value="5917"/>
value="5918"/>
value="5919"/>
value="5920"/>
value="5921"/>
value="5922"/>
value="5923"/>
value="5924"/>
value="5925"/>
value="5926"/>
value="5927"/>
value="5928"/>
value="5929"/>
value="5931"/>
value="5932"/>
value="5933"/>
value="5934"/>
value="5949"/>
value="6101"/>
value="6102"/>
value="6103"/>
value="6104"/>
value="6105"/>
value="6106"/>
value="6107"/>
value="6108"/>
value="6109"/>
value="6110"/>
value="6111"/>
value="6112"/>
value="6113"/>
value="6114"/>
value="6115"/>
value="6116"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="6117"/>
value="6118"/>
value="6119"/>
value="6120"/>
value="6122"/>
value="6123"/>
value="6124"/>
value="6125"/>
value="6151"/>
value="6152"/>
value="6153"/>
value="6155"/>
value="6156"/>
value="6201"/>
value="6202"/>
value="6205"/>
value="6206"/>
value="6207"/>
value="6208"/>
value="6209"/>
value="6210"/>
value="6251"/>
value="6252"/>
value="6253"/>
value="6254"/>
value="6255"/>
value="6256"/>
value="6257"/>
value="6258"/>
value="6401"/>
value="6402"/>
value="6403"/>
value="6404"/>
value="6408"/>
value="6409"/>
value="6410"/>
value="6411"/>
value="6412"/>
value="6413"/>
value="6414"/>
value="6415"/>
value="6501"/>
value="6502"/>
value="6503"/>
value="6504"/>
value="6505"/>
value="6551"/>
value="6552"/>
value="6553"/>
value="6554"/>
value="6555"/>
value="6556"/>
value="6557"/>
value="6603"/>
value="6651"/>
value="6652"/>
value="6653"/>
value="6654"/>
value="6655"/>
value="6656"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="6657"/>
value="6658"/>
value="6659"/>
value="6660"/>
value="6661"/>
value="6662"/>
value="6663"/>
value="6664"/>
value="6665"/>
value="6666"/>
value="6667"/>
value="6901"/>
value="6902"/>
value="6903"/>
value="6904"/>
value="6905"/>
value="6906"/>
value="6907"/>
value="6908"/>
value="6909"/>
value="6910"/>
value="6911"/>
value="6912"/>
value="6913"/>
value="6914"/>
value="6915"/>
value="6916"/>
value="6917"/>
value="6918"/>
value="6919"/>
value="6920"/>
value="6921"/>
value="6922"/>
value="6923"/>
value="6924"/>
value="6925"/>
value="6929"/>
value="6931"/>
value="6932"/>
value="6933"/>
value="6934"/>
value="6949"/>
value="7101"/>
value="7102"/>
value="7105"/>
value="7106"/>
value="7127"/>
value="7201"/>
value="7202"/>
value="7205"/>
value="7206"/>
value="7207"/>
value="7210"/>
value="7211"/>
value="7251"/>
value="7501"/>
value="7551"/>
value="7553"/>
value="7556"/>
value="7651"/>

<xs:enumeration value="7654"/>
<xs:enumeration value="7667"/>
<xs:enumeration value="7930"/>
<xs:enumeration value="7949"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TcProdANP">
<xs:annotation>
<xs:documentation>Cdigo de produto da ANP de acordo com o
Sistema de Movimentao de produtos - SIMP</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="110203073"/>
<xs:enumeration value="110204001"/>
<xs:enumeration value="110204002"/>
<xs:enumeration value="140101027"/>
<xs:enumeration value="140101026"/>
<xs:enumeration value="740101005"/>
<xs:enumeration value="740101004"/>
<xs:enumeration value="740101001"/>
<xs:enumeration value="740101006"/>
<xs:enumeration value="740101002"/>
<xs:enumeration value="110203083"/>
<xs:enumeration value="910101001"/>
<xs:enumeration value="110103001"/>
<xs:enumeration value="330101001"/>
<xs:enumeration value="110203091"/>
<xs:enumeration value="120204001"/>
<xs:enumeration value="110106001"/>
<xs:enumeration value="120206001"/>
<xs:enumeration value="110101001"/>
<xs:enumeration value="110101042"/>
<xs:enumeration value="810201001"/>
<xs:enumeration value="110204003"/>
<xs:enumeration value="330201005"/>
<xs:enumeration value="330201006"/>
<xs:enumeration value="330201004"/>
<xs:enumeration value="110105001"/>
<xs:enumeration value="110203072"/>
<xs:enumeration value="110203001"/>
<xs:enumeration value="110201001"/>
<xs:enumeration value="110101002"/>
<xs:enumeration value="110203002"/>
<xs:enumeration value="120205010"/>
<xs:enumeration value="110203003"/>
<xs:enumeration value="110204004"/>
<xs:enumeration value="110204005"/>
<xs:enumeration value="110204006"/>
<xs:enumeration value="110204007"/>
<xs:enumeration value="110204008"/>
<xs:enumeration value="110204009"/>
<xs:enumeration value="110204010"/>
<xs:enumeration value="110204011"/>
<xs:enumeration value="110105027"/>
<xs:enumeration value="110103003"/>
<xs:enumeration value="110103002"/>
<xs:enumeration value="110105002"/>
<xs:enumeration value="110205001"/>
<xs:enumeration value="120203002"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="120205001"/>
value="110203004"/>
value="120203001"/>
value="530102001"/>
value="530101002"/>
value="110108001"/>
value="110105017"/>
value="110206019"/>
value="110205023"/>
value="110203092"/>
value="110201002"/>
value="120202001"/>
value="110101003"/>
value="110101004"/>
value="110103004"/>
value="110103005"/>
value="110101005"/>
value="110204012"/>
value="110204013"/>
value="110204014"/>
value="110102001"/>
value="120207003"/>
value="110201003"/>
value="110201004"/>
value="110201005"/>
value="110201006"/>
value="110206001"/>
value="110205002"/>
value="110203005"/>
value="110205003"/>
value="330201001"/>
value="110206002"/>
value="110101006"/>
value="110101007"/>
value="110101038"/>
value="120205002"/>
value="820101001"/>
value="820101010"/>
value="820101999"/>
value="110206003"/>
value="110201007"/>
value="120201001"/>
value="110201008"/>
value="110103017"/>
value="110205004"/>
value="110203077"/>
value="110101008"/>
value="110203006"/>
value="110203007"/>
value="110201009"/>
value="110203008"/>
value="110203009"/>
value="110203010"/>
value="120203004"/>
value="110206004"/>
value="610101009"/>
value="120205003"/>
value="110205005"/>
value="110203092"/>
value="110204015"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="210202003"/>
value="210202001"/>
value="210202002"/>
value="110105018"/>
value="110203011"/>
value="110203012"/>
value="110101009"/>
value="110104001"/>
value="110104006"/>
value="110106010"/>
value="110202007"/>
value="110106002"/>
value="110111002"/>
value="110103006"/>
value="110105003"/>
value="110201010"/>
value="110201011"/>
value="110201012"/>
value="110101010"/>
value="110101011"/>
value="110108002"/>
value="110107001"/>
value="120202002"/>
value="110106003"/>
value="110108003"/>
value="110203085"/>
value="110201013"/>
value="110207001"/>
value="110105023"/>
value="110101012"/>
value="110201014"/>
value="620501002"/>
value="620501001"/>
value="610101005"/>
value="610101006"/>
value="530101001"/>
value="530101020"/>
value="530101018"/>
value="110205006"/>
value="110201015"/>
value="110203013"/>
value="110202001"/>
value="120104001"/>
value="120102001"/>
value="110205024"/>
value="120205009"/>
value="540101002"/>
value="540101001"/>
value="110107002"/>
value="620601003"/>
value="110201016"/>
value="110101013"/>
value="120207001"/>
value="110206020"/>
value="110104008"/>
value="110201017"/>
value="110108004"/>
value="110201018"/>
value="330201007"/>
value="110205007"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110203086"/>
value="110205008"/>
value="340101002"/>
value="130202002"/>
value="430101002"/>
value="130202003"/>
value="560101002"/>
value="130202004"/>
value="820101026"/>
value="820101032"/>
value="820101027"/>
value="820101004"/>
value="820101005"/>
value="820101022"/>
value="820101007"/>
value="820101002"/>
value="820101009"/>
value="820101008"/>
value="820101014"/>
value="820101006"/>
value="820101016"/>
value="820101015"/>
value="820101014"/>
value="820101006"/>
value="820101031"/>
value="820101030"/>
value="820101016"/>
value="820101015"/>
value="820101025"/>
value="820101007"/>
value="820101002"/>
value="820101026"/>
value="820101009"/>
value="820101008"/>
value="820101027"/>
value="820101007"/>
value="820101002"/>
value="820101028"/>
value="820101029"/>
value="820101009"/>
value="820101008"/>
value="820101011"/>
value="820101003"/>
value="820101013"/>
value="820101012"/>
value="820101017"/>
value="820101018"/>
value="820101019"/>
value="820101020"/>
value="820101021"/>
value="330101003"/>
value="130202006"/>
value="110203014"/>
value="420201001"/>
value="420201003"/>
value="120204010"/>
value="110103007"/>
value="110204017"/>
value="110204051"/>
value="110204018"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110205022"/>
value="110203069"/>
value="110203015"/>
value="110206005"/>
value="110203016"/>
value="110203017"/>
value="110203018"/>
value="110203088"/>
value="110203019"/>
value="530101003"/>
value="530101019"/>
value="110101014"/>
value="620101002"/>
value="720101001"/>
value="720101002"/>
value="120205004"/>
value="110203079"/>
value="110203020"/>
value="110201019"/>
value="110203021"/>
value="110108005"/>
value="110101015"/>
value="110104002"/>
value="110101016"/>
value="620101007"/>
value="140102001"/>
value="110105004"/>
value="110107003"/>
value="110203095"/>
value="210301001"/>
value="810102001"/>
value="810102004"/>
value="810102002"/>
value="130201002"/>
value="810102003"/>
value="810101002"/>
value="810101001"/>
value="810101003"/>
value="210301002"/>
value="330201010"/>
value="110204016"/>
value="110105005"/>
value="110105006"/>
value="110105007"/>
value="110104003"/>
value="110206006"/>
value="110206007"/>
value="110203022"/>
value="110204019"/>
value="110206008"/>
value="110206009"/>
value="110101043"/>
value="110201020"/>
value="110203023"/>
value="110101017"/>
value="110101018"/>
value="210302004"/>
value="210101001"/>
value="210302003"/>
value="210302002"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="210204001"/>
value="220101003"/>
value="220101004"/>
value="220101002"/>
value="220101001"/>
value="220101005"/>
value="220101006"/>
value="130202001"/>
value="130202005"/>
value="520101001"/>
value="320101001"/>
value="320101003"/>
value="320101002"/>
value="320103001"/>
value="320102002"/>
value="320102001"/>
value="320102004"/>
value="320102003"/>
value="320201001"/>
value="320201002"/>
value="220102001"/>
value="320301002"/>
value="110204020"/>
value="110203024"/>
value="120205012"/>
value="110207002"/>
value="110203087"/>
value="730101002"/>
value="210203001"/>
value="210203002"/>
value="110104005"/>
value="140101023"/>
value="140101024"/>
value="140101025"/>
value="650101001"/>
value="110207003"/>
value="110201021"/>
value="110103013"/>
value="110201022"/>
value="110203025"/>
value="110203026"/>
value="110206011"/>
value="110206010"/>
value="110203027"/>
value="110203028"/>
value="110203028"/>
value="330101008"/>
value="330101002"/>
value="330101009"/>
value="620101001"/>
value="610201001"/>
value="610201002"/>
value="610201003"/>
value="710101001"/>
value="110203074"/>
value="110201023"/>
value="110103008"/>
value="110203029"/>
value="120205005"/>
value="110204021"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110204022"/>
value="110204023"/>
value="620101004"/>
value="620101005"/>
value="330101010"/>
value="110202002"/>
value="110202003"/>
value="110207004"/>
value="110101046"/>
value="110204024"/>
value="110113001"/>
value="110105015"/>
value="110101019"/>
value="110103015"/>
value="110205025"/>
value="110204025"/>
value="110204026"/>
value="110204027"/>
value="120204009"/>
value="110205026"/>
value="110204028"/>
value="110204029"/>
value="110203080"/>
value="120207004"/>
value="110203030"/>
value="110105025"/>
value="110203031"/>
value="110203084"/>
value="110203032"/>
value="110204030"/>
value="110205009"/>
value="110104004"/>
value="110201024"/>
value="110201025"/>
value="110201026"/>
value="110201027"/>
value="110201028"/>
value="110201029"/>
value="110201030"/>
value="110207005"/>
value="110204031"/>
value="110207006"/>
value="110201031"/>
value="110201032"/>
value="110201033"/>
value="120204002"/>
value="110101020"/>
value="220102002"/>
value="110105008"/>
value="110203033"/>
value="110105009"/>
value="110201034"/>
value="110203034"/>
value="110203035"/>
value="640201001"/>
value="120205011"/>
value="110101021"/>
value="120103001"/>
value="110203036"/>
value="120204003"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110201035"/>
value="110204032"/>
value="110101022"/>
value="110201036"/>
value="110101023"/>
value="110101024"/>
value="110101025"/>
value="110101039"/>
value="110204033"/>
value="120207002"/>
value="110202004"/>
value="110202005"/>
value="110203037"/>
value="110203037"/>
value="110201037"/>
value="110203078"/>
value="120203005"/>
value="120204010"/>
value="110201038"/>
value="110201039"/>
value="120101001"/>
value="110201040"/>
value="110201041"/>
value="740101007"/>
value="420201003"/>
value="640101001"/>
value="110205027"/>
value="110103009"/>
value="110103010"/>
value="110205010"/>
value="820101018"/>
value="820101017"/>
value="820101006"/>
value="820101014"/>
value="820101006"/>
value="820101016"/>
value="820101015"/>
value="820101006"/>
value="820101005"/>
value="820101004"/>
value="820101003"/>
value="820101011"/>
value="820101003"/>
value="820101013"/>
value="820101012"/>
value="820101002"/>
value="820101007"/>
value="820101002"/>
value="820101009"/>
value="820101008"/>
value="110301001"/>
value="110208001"/>
value="110203038"/>
value="110203089"/>
value="110201042"/>
value="110101026"/>
value="620502001"/>
value="110203039"/>
value="110202008"/>
value="110204034"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110110001"/>
value="310102001"/>
value="310103001"/>
value="310101001"/>
value="110101027"/>
value="110205011"/>
value="110201062"/>
value="110203040"/>
value="610101002"/>
value="610401002"/>
value="610101003"/>
value="610401003"/>
value="610101004"/>
value="610401004"/>
value="110203041"/>
value="110203042"/>
value="110203043"/>
value="110203094"/>
value="110203044"/>
value="110203044"/>
value="430101001"/>
value="110206021"/>
value="120204004"/>
value="110207007"/>
value="110203045"/>
value="110201043"/>
value="110203046"/>
value="110203047"/>
value="110203048"/>
value="110203081"/>
value="430101004"/>
value="510101003"/>
value="510101001"/>
value="510101002"/>
value="510102003"/>
value="510102001"/>
value="510102002"/>
value="510201001"/>
value="510201002"/>
value="510201003"/>
value="510301003"/>
value="140101015"/>
value="140101009"/>
value="140101016"/>
value="140101017"/>
value="140101005"/>
value="140101014"/>
value="140101018"/>
value="140101006"/>
value="140101028"/>
value="140101021"/>
value="140101010"/>
value="140101012"/>
value="140101013"/>
value="140101001"/>
value="140101011"/>
value="140101003"/>
value="140101002"/>
value="140101008"/>
value="140101007"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="140101019"/>
value="140101004"/>
value="560101001"/>
value="420105001"/>
value="420101005"/>
value="420101004"/>
value="420101003"/>
value="420102006"/>
value="420102005"/>
value="420102004"/>
value="420102003"/>
value="420104001"/>
value="820101033"/>
value="820101034"/>
value="820101011"/>
value="820101003"/>
value="820101028"/>
value="820101029"/>
value="820101013"/>
value="820101012"/>
value="420301003"/>
value="420101005"/>
value="420101002"/>
value="420101001"/>
value="420101003"/>
value="420101004"/>
value="420101003"/>
value="420201001"/>
value="420201002"/>
value="420102005"/>
value="420102004"/>
value="420102002"/>
value="420102001"/>
value="420102003"/>
value="420102003"/>
value="420202001"/>
value="420301001"/>
value="420102006"/>
value="420103002"/>
value="420103001"/>
value="420103003"/>
value="610601001"/>
value="610701001"/>
value="510301002"/>
value="620601001"/>
value="660101001"/>
value="620401001"/>
value="620301001"/>
value="620201001"/>
value="630101001"/>
value="110202006"/>
value="110203093"/>
value="110204035"/>
value="110203049"/>
value="110201044"/>
value="110201045"/>
value="110206012"/>
value="120203003"/>
value="320301001"/>
value="320103002"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="650101002"/>
value="310102002"/>
value="640401001"/>
value="140101029"/>
value="740101003"/>
value="810201002"/>
value="530103001"/>
value="340101003"/>
value="430101003"/>
value="560101003"/>
value="210302001"/>
value="210204002"/>
value="130201001"/>
value="530104001"/>
value="140101022"/>
value="140101999"/>
value="610201004"/>
value="510301001"/>
value="420301002"/>
value="620601004"/>
value="620505001"/>
value="610501001"/>
value="620101008"/>
value="610101010"/>
value="110208002"/>
value="110110002"/>
value="130202008"/>
value="410103001"/>
value="610301002"/>
value="610302001"/>
value="330101007"/>
value="330201009"/>
value="730101001"/>
value="110203050"/>
value="110101028"/>
value="110101049"/>
value="110101029"/>
value="110101030"/>
value="110104007"/>
value="110111001"/>
value="120205006"/>
value="110203051"/>
value="110101050"/>
value="110105028"/>
value="110105016"/>
value="110201046"/>
value="110106007"/>
value="110101031"/>
value="110203082"/>
value="610301001"/>
value="110101032"/>
value="110101047"/>
value="110105021"/>
value="110105010"/>
value="620101003"/>
value="210201001"/>
value="210201002"/>
value="210201003"/>
value="110105020"/>
value="110105022"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="110205012"/>
value="620601002"/>
value="120206003"/>
value="110204036"/>
value="110204037"/>
value="110204038"/>
value="410101001"/>
value="410101002"/>
value="410102001"/>
value="410102002"/>
value="110103014"/>
value="110203052"/>
value="330101005"/>
value="330101006"/>
value="110205029"/>
value="110203053"/>
value="120204008"/>
value="110203054"/>
value="110204039"/>
value="110201047"/>
value="110201048"/>
value="110103011"/>
value="340101001"/>
value="550101001"/>
value="550101005"/>
value="550101002"/>
value="550101003"/>
value="550101004"/>
value="130202007"/>
value="110105011"/>
value="110201049"/>
value="110101048"/>
value="110101033"/>
value="110101040"/>
value="110101045"/>
value="110101041"/>
value="110204040"/>
value="110105019"/>
value="110204041"/>
value="110105024"/>
value="110203070"/>
value="110203055"/>
value="110204042"/>
value="110203075"/>
value="110201050"/>
value="110201051"/>
value="110201052"/>
value="110201053"/>
value="120201002"/>
value="110105029"/>
value="110203056"/>
value="110204043"/>
value="110203090"/>
value="140101020"/>
value="110103018"/>
value="110106004"/>
value="110106005"/>
value="110106006"/>
value="110205028"/>
value="110105012"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="120204005"/>
value="110205013"/>
value="110201054"/>
value="110101044"/>
value="110204044"/>
value="110203057"/>
value="110203058"/>
value="120206002"/>
value="120206004"/>
value="330201008"/>
value="330101004"/>
value="110204045"/>
value="110204046"/>
value="110201063"/>
value="110206013"/>
value="110203059"/>
value="110203060"/>
value="610101001"/>
value="610401001"/>
value="110206015"/>
value="110206014"/>
value="110204052"/>
value="110205015"/>
value="110205014"/>
value="110204047"/>
value="110205016"/>
value="110203061"/>
value="110205017"/>
value="110106009"/>
value="110203062"/>
value="110206016"/>
value="120205007"/>
value="120201003"/>
value="620101006"/>
value="120205008"/>
value="120204006"/>
value="110201055"/>
value="110201056"/>
value="110201057"/>
value="110103016"/>
value="110205018"/>
value="110107005"/>
value="330201002"/>
value="620504001"/>
value="620503001"/>
value="110101034"/>
value="110107004"/>
value="610101007"/>
value="610101008"/>
value="110105014"/>
value="110205019"/>
value="110103012"/>
value="110203063"/>
value="120204007"/>
value="110204048"/>
value="110105013"/>
value="110204049"/>
value="110206017"/>
value="110109001"/>
value="110107006"/>

<xs:enumeration value="110201059"/>
<xs:enumeration value="110201058"/>
<xs:enumeration value="640301001"/>
<xs:enumeration value="110101035"/>
<xs:enumeration value="110101036"/>
<xs:enumeration value="110101037"/>
<xs:enumeration value="110205020"/>
<xs:enumeration value="120207005"/>
<xs:enumeration value="110206018"/>
<xs:enumeration value="110108006"/>
<xs:enumeration value="110203076"/>
<xs:enumeration value="110205021"/>
<xs:enumeration value="330201003"/>
<xs:enumeration value="130101001"/>
<xs:enumeration value="110201060"/>
<xs:enumeration value="110203071"/>
<xs:enumeration value="110203065"/>
<xs:enumeration value="110203064"/>
<xs:enumeration value="110204050"/>
<xs:enumeration value="110203066"/>
<xs:enumeration value="110203067"/>
<xs:enumeration value="110201061"/>
<xs:enumeration value="110203068"/>
<xs:enumeration value="110105026"/>
<xs:enumeration value="110106008"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TCfopTransp">
<xs:annotation>
<xs:documentation>Tipo CFOP - Transportes - uso exclusiv
o na reteno - 31/05/2010
Acrescimo dos CFOP de 5931/5932/6931/6932 no CFOP de ret
Transp
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="5351"/>
<xs:enumeration value="5352"/>
<xs:enumeration value="5353"/>
<xs:enumeration value="5354"/>
<xs:enumeration value="5355"/>
<xs:enumeration value="5356"/>
<xs:enumeration value="5357"/>
<xs:enumeration value="5359"/>
<xs:enumeration value="5360"/>
<xs:enumeration value="5931"/>
<xs:enumeration value="5932"/>
<xs:enumeration value="6351"/>
<xs:enumeration value="6352"/>
<xs:enumeration value="6353"/>
<xs:enumeration value="6354"/>
<xs:enumeration value="6355"/>
<xs:enumeration value="6356"/>
<xs:enumeration value="6357"/>
<xs:enumeration value="6359"/>
<xs:enumeration value="6360"/>
<xs:enumeration value="6931"/>
<xs:enumeration value="6932"/>
<xs:enumeration value="7358"/>

</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Torig">
<xs:annotation>
<xs:documentation>Tipo Origem da mercadoria CST ICMS or
igem da mercadoria: 0-Nacional exceto as indicadas nos cdigos 3, 4, 5 e 8;
1-Estrangeira - Importao direta; 2-Estrangeira - Adquirida no mercado interno; 3-N
acional, conteudo superior 40% e inferior ou igual a 70%; 4-Nacional, processos
produtivos bsicos; 5-Nacional, conteudo inferior 40%; 6-Estrangeira - Importao dire
ta, com similar nacional, lista CAMEX; 7-Estrangeira - mercado interno, sem simu
lar,lista CAMEX;8-Nacional, Contedo de Importao superior a 70%.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
<xs:enumeration value="5"/>
<xs:enumeration value="6"/>
<xs:enumeration value="7"/>
<xs:enumeration value="8"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TFinNFe">
<xs:annotation>
<xs:documentation>Tipo Finalidade da NF-e (!=Normal; 2=C
omplementar; 3=Ajuste; 4=Devoluo/Retorno)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
<xs:enumeration value="4"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TProcEmi">
<xs:annotation>
<xs:documentation>Tipo processo de emisso da NF-e</xs:doc
umentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="0"/>
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
<xs:enumeration value="3"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TCListServ">
<xs:annotation>
<xs:documentation>Tipo Cdigo da Lista de Servios LC 116/20
03</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01.01"/>
<xs:enumeration value="01.02"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="01.03"/>
value="01.04"/>
value="01.05"/>
value="01.06"/>
value="01.07"/>
value="01.08"/>
value="02.01"/>
value="03.02"/>
value="03.03"/>
value="03.04"/>
value="03.05"/>
value="04.01"/>
value="04.02"/>
value="04.03"/>
value="04.04"/>
value="04.05"/>
value="04.06"/>
value="04.07"/>
value="04.08"/>
value="04.09"/>
value="04.10"/>
value="04.11"/>
value="04.12"/>
value="04.13"/>
value="04.14"/>
value="04.15"/>
value="04.16"/>
value="04.17"/>
value="04.18"/>
value="04.19"/>
value="04.20"/>
value="04.21"/>
value="04.22"/>
value="04.23"/>
value="05.01"/>
value="05.02"/>
value="05.03"/>
value="05.04"/>
value="05.05"/>
value="05.06"/>
value="05.07"/>
value="05.08"/>
value="05.09"/>
value="06.01"/>
value="06.02"/>
value="06.03"/>
value="06.04"/>
value="06.05"/>
value="07.01"/>
value="07.02"/>
value="07.03"/>
value="07.04"/>
value="07.05"/>
value="07.06"/>
value="07.07"/>
value="07.08"/>
value="07.09"/>
value="07.10"/>
value="07.11"/>
value="07.12"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="07.13"/>
value="07.16"/>
value="07.17"/>
value="07.18"/>
value="07.19"/>
value="07.20"/>
value="07.21"/>
value="07.22"/>
value="08.01"/>
value="08.02"/>
value="09.01"/>
value="09.02"/>
value="09.03"/>
value="10.01"/>
value="10.02"/>
value="10.03"/>
value="10.04"/>
value="10.05"/>
value="10.06"/>
value="10.07"/>
value="10.08"/>
value="10.09"/>
value="10.10"/>
value="11.01"/>
value="11.02"/>
value="11.03"/>
value="11.04"/>
value="12.01"/>
value="12.02"/>
value="12.03"/>
value="12.04"/>
value="12.05"/>
value="12.06"/>
value="12.07"/>
value="12.08"/>
value="12.09"/>
value="12.10"/>
value="12.11"/>
value="12.12"/>
value="12.13"/>
value="12.14"/>
value="12.15"/>
value="12.16"/>
value="12.17"/>
value="13.02"/>
value="13.03"/>
value="13.04"/>
value="13.05"/>
value="14.01"/>
value="14.02"/>
value="14.03"/>
value="14.04"/>
value="14.05"/>
value="14.06"/>
value="14.07"/>
value="14.08"/>
value="14.09"/>
value="14.10"/>
value="14.11"/>
value="14.12"/>

<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration
<xs:enumeration

value="14.13"/>
value="15.01"/>
value="15.02"/>
value="15.03"/>
value="15.04"/>
value="15.05"/>
value="15.06"/>
value="15.07"/>
value="15.08"/>
value="15.09"/>
value="15.10"/>
value="15.11"/>
value="15.12"/>
value="15.13"/>
value="15.14"/>
value="15.15"/>
value="15.16"/>
value="15.17"/>
value="15.18"/>
value="16.01"/>
value="17.01"/>
value="17.02"/>
value="17.03"/>
value="17.04"/>
value="17.05"/>
value="17.06"/>
value="17.08"/>
value="17.09"/>
value="17.10"/>
value="17.11"/>
value="17.12"/>
value="17.13"/>
value="17.14"/>
value="17.15"/>
value="17.16"/>
value="17.17"/>
value="17.18"/>
value="17.19"/>
value="17.20"/>
value="17.21"/>
value="17.22"/>
value="17.23"/>
value="17.24"/>
value="18.01"/>
value="19.01"/>
value="20.01"/>
value="20.02"/>
value="20.03"/>
value="21.01"/>
value="22.01"/>
value="23.01"/>
value="24.01"/>
value="25.01"/>
value="25.02"/>
value="25.03"/>
value="25.04"/>
value="26.01"/>
value="27.01"/>
value="28.01"/>
value="29.01"/>

<xs:enumeration value="30.01"/>
<xs:enumeration value="31.01"/>
<xs:enumeration value="32.01"/>
<xs:enumeration value="33.01"/>
<xs:enumeration value="34.01"/>
<xs:enumeration value="35.01"/>
<xs:enumeration value="36.01"/>
<xs:enumeration value="37.01"/>
<xs:enumeration value="38.01"/>
<xs:enumeration value="39.01"/>
<xs:enumeration value="40.01"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TIdLote">
<xs:annotation>
<xs:documentation> Tipo Identificao de Lote</xs:documentat
ion>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[0-9]{1,15}"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TVerNFe">
<xs:annotation>
<xs:documentation> Tipo Verso da NF-e - 3.10</xs:document
ation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="3\.10"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TGuid">
<xs:annotation>
<xs:documentation>Identificador nico (Globally Unique Ide
ntifier)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:pattern value="[A-F0-9]{8}-[A-F0-9]{4}-[A-F0-9]{4}-[
A-F0-9]{4}-[A-F0-9]{12}"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="TIpi">
<xs:annotation>
<xs:documentation>Tipo: Dados do IPI</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="clEnq" minOccurs="0">
<xs:annotation>
<xs:documentation>Classe de Enquadrament
o do IPI para Cigarros e Bebidas</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="5"/>
</xs:restriction>
</xs:simpleType>

</xs:element>
<xs:element name="CNPJProd" type="TCnpj" minOccurs="0">
<xs:annotation>
<xs:documentation>CNPJ do produtor da me
rcadoria, quando diferente do emitente. Somente para os casos de exportao direta o
u indireta.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cSelo" minOccurs="0">
<xs:annotation>
<xs:documentation>Cdigo do selo de contro
le do IPI </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="60"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="qSelo" minOccurs="0">
<xs:annotation>
<xs:documentation>Quantidade de selo de
controle do IPI</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:whiteSpace value="preserve"/
>
<xs:pattern value="[0-9]{1,12}"/
>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="cEnq">
<xs:annotation>
<xs:documentation>Cdigo de Enquadramento
Legal do IPI (tabela a ser criada pela RFB)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="TString">
<xs:minLength value="1"/>
<xs:maxLength value="3"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:element name="IPITrib">
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:docu
mentation>Cdigo da Situao Tributria do IPI:
00-Entrada com recuperao de crdito
49 - Outras entradas
50-Sada tributada
99-Outras sadas</xs:documentation>
</xs:annotation>
<xs:simpleType>

<xs:rest
riction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="00"/>
<xs:enumeration value="49"/>
<xs:enumeration value="50"/>
<xs:enumeration value="99"/>
</xs:res
triction>
</xs:simpleType>
</xs:element>
<xs:choice>
<xs:sequence>
<xs:elem
ent name="vBC" type="TDec_1302">
<xs:annotation>
<xs:documentation>Valor da BC do IPI</xs:documentation>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="pIPI" type="TDec_0302a04">
<xs:annotation>
<xs:documentation>Alquota do IPI</xs:documentation>
</xs:annotation>
</xs:ele
ment>
</xs:sequence>
<xs:sequence>
<xs:elem
ent name="qUnid" type="TDec_1204v">
<xs:annotation>
<xs:documentation>Quantidade total na unidade padro para tributao </xs:documentatio
n>
</xs:annotation>
</xs:ele
ment>
<xs:elem
ent name="vUnid" type="TDec_1104">
<xs:annotation>
<xs:documentation>Valor por Unidade Tributvel. Informar o valor do imposto Pauta
por unidade de medida.</xs:documentation>
</xs:annotation>

</xs:ele
ment>
</xs:sequence>
</xs:choice>
<xs:element name="vIPI"
type="TDec_1302">
<xs:annotation>
<xs:docu
mentation>Valor do IPI</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="IPINT">
<xs:complexType>
<xs:sequence>
<xs:element name="CST">
<xs:annotation>
<xs:docu
mentation>Cdigo da Situao Tributria do IPI:
01-Entrada tributada com alquota zero
02-Entrada isenta
03-Entrada no-tributada
04-Entrada imune
05-Entrada com suspenso
51-Sada tributada com alquota zero
52-Sada isenta
53-Sada no-tributada
54-Sada imune
55-Sada com suspenso</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:rest
riction base="xs:string">
<xs:whiteSpace value="preserve"/>
<xs:enumeration value="01"/>
<xs:enumeration value="02"/>
<xs:enumeration value="03"/>
<xs:enumeration value="04"/>
<xs:enumeration value="05"/>
<xs:enumeration value="51"/>
<xs:enumeration value="52"/>
<xs:enumeration value="53"/>
<xs:enumeration value="54"/>
<xs:enumeration value="55"/>
</xs:res
triction>
</xs:simpleType>

</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:schema>

Вам также может понравиться