Package systextil.integracao.xml.nfe
Class TNFe
java.lang.Object
systextil.integracao.xml.nfe.TNFe
Tipo Nota Fiscal Eletronica
Classe Java de TNFe complex type.
O seguinte fragmento do esquema especifica o conteudo esperado contido dentro desta classe.
<complexType name="TNFe">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="infNFe">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ide">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
<element name="cNF">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{8}"/>
</restriction>
</simpleType>
</element>
<element name="natOp">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="mod" type="{http://www.portalfiscal.inf.br/nfe}TMod"/>
<element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
<element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
<element name="dhEmi" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
<element name="dhSaiEnt" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC" minOccurs="0"/>
<element name="dPrevEntrega" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
<element name="tpNF">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="idDest">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
<element name="cMunFGIBS" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
<element name="tpImp">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
</restriction>
</simpleType>
</element>
<element name="tpEmis">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="cDV">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1}"/>
</restriction>
</simpleType>
</element>
<element name="tpAmb" type="{http://www.portalfiscal.inf.br/nfe}TAmb"/>
<element name="finNFe" type="{http://www.portalfiscal.inf.br/nfe}TFinNFe"/>
<element name="tpNFDebito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFDebito" minOccurs="0"/>
<element name="tpNFCredito" type="{http://www.portalfiscal.inf.br/nfe}TTpNFCredito" minOccurs="0"/>
<element name="indFinal">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="indPres">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="indIntermed" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="procEmi" type="{http://www.portalfiscal.inf.br/nfe}TProcEmi"/>
<element name="verProc">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="dhCont" type="{http://www.portalfiscal.inf.br/nfe}TDateTimeUTC"/>
<element name="xJust">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="15"/>
<maxLength value="256"/>
</restriction>
</simpleType>
</element>
</sequence>
<element name="NFref" maxOccurs="999" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
<element name="refNFeSig" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
<element name="refNF">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
<element name="AAMM">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
</restriction>
</simpleType>
</element>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="mod">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="01"/>
<enumeration value="02"/>
</restriction>
</simpleType>
</element>
<element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
<element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="refNFP">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cUF" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
<element name="AAMM">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2}[0]{1}[1-9]{1}|[0-9]{2}[1]{1}[0-2]{1}"/>
</restriction>
</simpleType>
</element>
<choice>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</choice>
<element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest"/>
<element name="mod">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="01"/>
<enumeration value="04"/>
</restriction>
</simpleType>
</element>
<element name="serie" type="{http://www.portalfiscal.inf.br/nfe}TSerie"/>
<element name="nNF" type="{http://www.portalfiscal.inf.br/nfe}TNF"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="refCTe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
<element name="refECF">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="mod">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="2B"/>
<enumeration value="2C"/>
<enumeration value="2D"/>
</restriction>
</simpleType>
</element>
<element name="nECF">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,3}"/>
</restriction>
</simpleType>
</element>
<element name="nCOO">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,6}"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="gCompraGov" type="{http://www.portalfiscal.inf.br/nfe}TCompraGov" minOccurs="0"/>
<element name="gPagAntecipado" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="refNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe" maxOccurs="99"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="emit">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</choice>
<element name="xNome">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="2"/>
</restriction>
</simpleType>
</element>
<element name="xFant" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="enderEmit" type="{http://www.portalfiscal.inf.br/nfe}TEnderEmi"/>
<element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIe"/>
<element name="IEST" type="{http://www.portalfiscal.inf.br/nfe}TIeST" minOccurs="0"/>
<sequence minOccurs="0">
<element name="IM">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="CNAE" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{7}"/>
</restriction>
</simpleType>
</element>
</sequence>
<element name="CRT">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="avulsa" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="xOrgao">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="matr">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="xAgente">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="fone" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{6,14}"/>
</restriction>
</simpleType>
</element>
<element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
<element name="nDAR" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="dEmi" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
<element name="vDAR" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="repEmi">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="dest" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
<element name="idEstrangeiro">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="([!-y]{0}|[!-y]{5,20})?"/>
</restriction>
</simpleType>
</element>
</choice>
<element name="xNome" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="2"/>
</restriction>
</simpleType>
</element>
<element name="enderDest" type="{http://www.portalfiscal.inf.br/nfe}TEndereco" minOccurs="0"/>
<element name="indIEDest">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDestNaoIsento" minOccurs="0"/>
<element name="ISUF" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{8,9}"/>
</restriction>
</simpleType>
</element>
<element name="IM" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="email" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<whiteSpace value="preserve"/>
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="retirada" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
<element name="entrega" type="{http://www.portalfiscal.inf.br/nfe}TLocal" minOccurs="0"/>
<element name="autXML" maxOccurs="10" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="det" maxOccurs="990">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="prod">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cProd">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="cEAN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
</restriction>
</simpleType>
</element>
<element name="cBarra" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="30"/>
<minLength value="3"/>
</restriction>
</simpleType>
</element>
<element name="xProd">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="120"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="NCM">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2}|[0-9]{8}"/>
</restriction>
</simpleType>
</element>
<element name="NVE" maxOccurs="8" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[A-Z]{2}[0-9]{4}"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="CEST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{7}"/>
</restriction>
</simpleType>
</element>
<element name="indEscala" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="S"/>
<enumeration value="N"/>
</restriction>
</simpleType>
</element>
<element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
</sequence>
<element name="cBenef" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="([!-y]{8}|[!-y]{10}|SEM CBENEF)?"/>
</restriction>
</simpleType>
</element>
<element name="gCred" maxOccurs="4" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cCredPresumido">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[!-y]{8}|[!-y]{10}"/>
</restriction>
</simpleType>
</element>
<element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="tpCredPresIBSZFM" type="{http://www.portalfiscal.inf.br/nfe}TTpCredPresIBSZFM" minOccurs="0"/>
<element name="EXTIPI" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2,3}"/>
</restriction>
</simpleType>
</element>
<element name="CFOP">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
</restriction>
</simpleType>
</element>
<element name="uCom">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="6"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
<element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
<element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="cEANTrib">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
</restriction>
</simpleType>
</element>
<element name="cBarraTrib" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="30"/>
<minLength value="3"/>
</restriction>
</simpleType>
</element>
<element name="uTrib">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="6"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
<element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
<element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="indTot">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="indBemMovelUsado" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="DI" maxOccurs="100" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nDI">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
<element name="xLocDesemb">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
<element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
<element name="tpViaTransp">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="8"/>
<enumeration value="9"/>
<enumeration value="10"/>
<enumeration value="11"/>
<enumeration value="12"/>
<enumeration value="13"/>
</restriction>
</simpleType>
</element>
<element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="tpIntermedio">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<choice minOccurs="0">
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</choice>
<element name="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
<element name="cExportador">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="adi" maxOccurs="999">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nAdicao" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[1-9]{1}[0-9]{0,2}"/>
</restriction>
</simpleType>
</element>
<element name="nSeqAdic">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[1-9]{1}[0-9]{0,4}"/>
</restriction>
</simpleType>
</element>
<element name="cFabricante">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="nDraw" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="detExport" maxOccurs="500" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nDraw" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="exportInd" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nRE">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{0,12}"/>
</restriction>
</simpleType>
</element>
<element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
<element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="xPed" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="nItemPed" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,6}"/>
</restriction>
</simpleType>
</element>
<element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
<element name="rastro" maxOccurs="500" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nLote">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
<element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
<element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
<element name="cAgreg" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infProdNFF" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cProdFisco">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<length value="14"/>
</restriction>
</simpleType>
</element>
<element name="cOperNFF">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,5}"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infProdEmb" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xEmb">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="8"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
<element name="uEmb">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="8"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<choice minOccurs="0">
<element name="veicProd">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tpOp">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="chassi">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<length value="17"/>
<whiteSpace value="preserve"/>
<pattern value="[A-Z0-9]+"/>
</restriction>
</simpleType>
</element>
<element name="cCor">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="xCor">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="40"/>
</restriction>
</simpleType>
</element>
<element name="pot">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="cilin">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="pesoL">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="pesoB">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="nSerie">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="tpComb">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="2"/>
</restriction>
</simpleType>
</element>
<element name="nMotor">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="21"/>
</restriction>
</simpleType>
</element>
<element name="CMT">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="dist">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="4"/>
</restriction>
</simpleType>
</element>
<element name="anoMod">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{4}"/>
</restriction>
</simpleType>
</element>
<element name="anoFab">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{4}"/>
</restriction>
</simpleType>
</element>
<element name="tpPint">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<length value="1"/>
</restriction>
</simpleType>
</element>
<element name="tpVeic">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,2}"/>
</restriction>
</simpleType>
</element>
<element name="espVeic">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1}"/>
</restriction>
</simpleType>
</element>
<element name="VIN">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<length value="1"/>
<enumeration value="R"/>
<enumeration value="N"/>
</restriction>
</simpleType>
</element>
<element name="condVeic">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="cMod">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,6}"/>
</restriction>
</simpleType>
</element>
<element name="cCorDENATRAN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<minLength value="1"/>
<maxLength value="2"/>
<pattern value="[0-9]{1,2}"/>
</restriction>
</simpleType>
</element>
<element name="lota">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<minLength value="1"/>
<maxLength value="3"/>
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,3}"/>
</restriction>
</simpleType>
</element>
<element name="tpRest">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="med">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cProdANVISA">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
</restriction>
</simpleType>
</element>
<element name="xMotivoIsencao" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="255"/>
</restriction>
</simpleType>
</element>
<element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="arma" maxOccurs="500">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tpArma">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="nSerie">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="nCano">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="15"/>
</restriction>
</simpleType>
</element>
<element name="descr">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="256"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="comb">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="cProdANP">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{9}"/>
</restriction>
</simpleType>
</element>
<element name="descANP">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="2"/>
<maxLength value="95"/>
</restriction>
</simpleType>
</element>
<element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
<element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
<element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
<element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="CODIF" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,21}"/>
</restriction>
</simpleType>
</element>
<element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
<element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
<element name="CIDE" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
<element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="encerrante" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nBico">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,3}"/>
</restriction>
</simpleType>
</element>
<element name="nBomba" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,3}"/>
</restriction>
</simpleType>
</element>
<element name="nTanque">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,3}"/>
</restriction>
</simpleType>
</element>
<element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
<element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
<element name="origComb" maxOccurs="30" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="indImport">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
<element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="nRECOPI">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<maxLength value="20"/>
<pattern value="[0-9]{20}"/>
</restriction>
</simpleType>
</element>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="imposto">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<choice minOccurs="0">
<sequence>
<element name="ICMS">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="ICMS00">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="00"/>
</restriction>
</simpleType>
</element>
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS02">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="02"/>
</restriction>
</simpleType>
</element>
<element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS10">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="10"/>
</restriction>
</simpleType>
</element>
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMSST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS15">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="15"/>
</restriction>
</simpleType>
</element>
<element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
<element name="motRedAdRem">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS20">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="20"/>
</restriction>
</simpleType>
</element>
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
<element name="indDeduzDeson" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS30">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="30"/>
</restriction>
</simpleType>
</element>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="indDeduzDeson" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS40">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="40"/>
<enumeration value="41"/>
<enumeration value="50"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="8"/>
<enumeration value="9"/>
<enumeration value="10"/>
<enumeration value="11"/>
<enumeration value="16"/>
<enumeration value="90"/>
</restriction>
</simpleType>
</element>
<element name="indDeduzDeson" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS51">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="51"/>
</restriction>
</simpleType>
</element>
<element name="modBC" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
<element name="cBenefRBC" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[!-y]{8}|[!-y]{10}"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
<element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
<element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<sequence minOccurs="0">
<element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS53">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="53"/>
</restriction>
</simpleType>
</element>
<element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
<element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
<element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS60">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="60"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS61">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="61"/>
</restriction>
</simpleType>
</element>
<element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
<element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS70">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="70"/>
</restriction>
</simpleType>
</element>
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
<element name="indDeduzDeson" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
<sequence minOccurs="0">
<element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMSST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMS90">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="90"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
<sequence minOccurs="0">
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
<sequence minOccurs="0">
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
<element name="indDeduzDeson" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
<sequence minOccurs="0">
<element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="motDesICMSST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="3"/>
<enumeration value="9"/>
<enumeration value="12"/>
</restriction>
</simpleType>
</element>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSPart">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="10"/>
<enumeration value="90"/>
</restriction>
</simpleType>
</element>
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSST">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="41"/>
<enumeration value="60"/>
</restriction>
</simpleType>
</element>
<element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN101">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="101"/>
</restriction>
</simpleType>
</element>
<element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN102">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="102"/>
<enumeration value="103"/>
<enumeration value="300"/>
<enumeration value="400"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN201">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="201"/>
</restriction>
</simpleType>
</element>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN202">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="202"/>
<enumeration value="203"/>
</restriction>
</simpleType>
</element>
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN500">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="500"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSSN900">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
<element name="CSOSN">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="900"/>
</restriction>
</simpleType>
</element>
<sequence minOccurs="0">
<element name="modBC">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
<sequence minOccurs="0">
<element name="modBCST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
<element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<sequence minOccurs="0">
<element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
<sequence minOccurs="0">
<element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
<element name="II" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<sequence>
<element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
<element name="ISSQN">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
<element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
<element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="indISS">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
</restriction>
</simpleType>
</element>
<element name="cServico" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<whiteSpace value="preserve"/>
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
<element name="cPais" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,4}"/>
</restriction>
</simpleType>
</element>
<element name="nProcesso" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<whiteSpace value="preserve"/>
<minLength value="1"/>
<maxLength value="30"/>
</restriction>
</simpleType>
</element>
<element name="indIncentivo">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</choice>
<element name="PIS" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="PISAliq">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="01"/>
<enumeration value="02"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PISQtde">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="03"/>
</restriction>
</simpleType>
</element>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PISNT">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="04"/>
<enumeration value="05"/>
<enumeration value="06"/>
<enumeration value="07"/>
<enumeration value="08"/>
<enumeration value="09"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PISOutr">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="49"/>
<enumeration value="50"/>
<enumeration value="51"/>
<enumeration value="52"/>
<enumeration value="53"/>
<enumeration value="54"/>
<enumeration value="55"/>
<enumeration value="56"/>
<enumeration value="60"/>
<enumeration value="61"/>
<enumeration value="62"/>
<enumeration value="63"/>
<enumeration value="64"/>
<enumeration value="65"/>
<enumeration value="66"/>
<enumeration value="67"/>
<enumeration value="70"/>
<enumeration value="71"/>
<enumeration value="72"/>
<enumeration value="73"/>
<enumeration value="74"/>
<enumeration value="75"/>
<enumeration value="98"/>
<enumeration value="99"/>
</restriction>
</simpleType>
</element>
<choice>
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
</sequence>
<sequence>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
</sequence>
</choice>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="PISST" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
<element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
</sequence>
<sequence>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
</sequence>
</choice>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="indSomaPISST" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="COFINS" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="COFINSAliq">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="01"/>
<enumeration value="02"/>
</restriction>
</simpleType>
</element>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="COFINSQtde">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="03"/>
</restriction>
</simpleType>
</element>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="COFINSNT">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="04"/>
<enumeration value="05"/>
<enumeration value="06"/>
<enumeration value="07"/>
<enumeration value="08"/>
<enumeration value="09"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="COFINSOutr">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CST">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="49"/>
<enumeration value="50"/>
<enumeration value="51"/>
<enumeration value="52"/>
<enumeration value="53"/>
<enumeration value="54"/>
<enumeration value="55"/>
<enumeration value="56"/>
<enumeration value="60"/>
<enumeration value="61"/>
<enumeration value="62"/>
<enumeration value="63"/>
<enumeration value="64"/>
<enumeration value="65"/>
<enumeration value="66"/>
<enumeration value="67"/>
<enumeration value="70"/>
<enumeration value="71"/>
<enumeration value="72"/>
<enumeration value="73"/>
<enumeration value="74"/>
<enumeration value="75"/>
<enumeration value="98"/>
<enumeration value="99"/>
</restriction>
</simpleType>
</element>
<choice>
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
</sequence>
<sequence>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
</sequence>
</choice>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
<element name="COFINSST" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice>
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
</sequence>
<sequence>
<element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
<element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
</sequence>
</choice>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="indSomaCOFINSST" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ICMSUFDest" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
<element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="pICMSInter">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="4.00"/>
<enumeration value="7.00"/>
<enumeration value="12.00"/>
</restriction>
</simpleType>
</element>
<element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
<element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="impostoDevol" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
<element name="IPI">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infAdProd" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="500"/>
</restriction>
</simpleType>
</element>
<element name="obsItem" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="obsCont" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xTexto">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="xCampo" use="required">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="obsFisco" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xTexto">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="xCampo" use="required">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="vItem" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="DFeReferenciado" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
<element name="nItem" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<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}"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="nItem" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<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}"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="total">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ICMSTot">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vIPI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vNF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ISSQNtot" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vISS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="dCompet" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
<element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="cRegTrib" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="retTrib" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vRetPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vRetCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vIRRF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vBCRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
<element name="vRetPrev" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="ISTot" type="{http://www.portalfiscal.inf.br/nfe}TISTot" minOccurs="0"/>
<element name="IBSCBSTot" type="{http://www.portalfiscal.inf.br/nfe}TIBSCBSMonoTot" minOccurs="0"/>
<element name="vNFTot" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="transp">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="modFrete">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="transporta" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</choice>
<element name="xNome" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="2"/>
</restriction>
</simpleType>
</element>
<element name="IE" type="{http://www.portalfiscal.inf.br/nfe}TIeDest" minOccurs="0"/>
<element name="xEnder" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="xMun" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="UF" type="{http://www.portalfiscal.inf.br/nfe}TUf" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="retTransp" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="vServ" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vBCRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="pICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
<element name="vICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="CFOP">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
</restriction>
</simpleType>
</element>
<element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<choice>
<sequence minOccurs="0">
<element name="veicTransp" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" minOccurs="0"/>
<element name="reboque" type="{http://www.portalfiscal.inf.br/nfe}TVeiculo" maxOccurs="5" minOccurs="0"/>
</sequence>
<element name="vagao" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
<element name="balsa" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</element>
</choice>
<element name="vol" maxOccurs="5000" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="qVol" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{1,15}"/>
</restriction>
</simpleType>
</element>
<element name="esp" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="marca" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="nVol" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="pesoL" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
<element name="pesoB" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203" minOccurs="0"/>
<element name="lacres" maxOccurs="5000" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nLacre">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="cobr" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fat" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nFat" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="vOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
<element name="vLiq" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="dup" maxOccurs="120" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nDup" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="60"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="dVenc" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
<element name="vDup" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="pag">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="detPag" maxOccurs="100">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="indPag" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
</restriction>
</simpleType>
</element>
<element name="tPag">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2}"/>
</restriction>
</simpleType>
</element>
<element name="xPag" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="2"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="vPag" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="dPag" type="{http://www.portalfiscal.inf.br/nfe}TData" minOccurs="0"/>
<sequence minOccurs="0">
<element name="CNPJPag" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="UFPag" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
</sequence>
<element name="card" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tpIntegra">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
</restriction>
</simpleType>
</element>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
<element name="tBand" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[0-9]{2}"/>
</restriction>
</simpleType>
</element>
<element name="cAut" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="128"/>
</restriction>
</simpleType>
</element>
<element name="CNPJReceb" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
<element name="idTermPag" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="40"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="vTroco" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infIntermed" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
<element name="idCadIntTran">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="2"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infAdic" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="infAdFisco" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="2000"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="infCpl" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="5000"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="obsCont" maxOccurs="10" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xTexto">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="xCampo" use="required">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="obsFisco" maxOccurs="10" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xTexto">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="xCampo" use="required">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="20"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="procRef" maxOccurs="100" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nProc">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="indProc">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="0"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="9"/>
</restriction>
</simpleType>
</element>
<element name="tpAto" minOccurs="0">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="08"/>
<enumeration value="10"/>
<enumeration value="12"/>
<enumeration value="14"/>
<enumeration value="15"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="exporta" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="UFSaidaPais" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
<element name="xLocExporta">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="xLocDespacho" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="compra" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xNEmp" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="22"/>
</restriction>
</simpleType>
</element>
<element name="xPed" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="xCont" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="cana" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="safra">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="4"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="ref">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="(0[1-9]|1[0-2])([/][2][0-9][0-9][0-9])"/>
</restriction>
</simpleType>
</element>
<element name="forDia" maxOccurs="31">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="qtde" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
</sequence>
<attribute name="dia" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<pattern value="[1-9]|[1][0-9]|[2][0-9]|[3][0-1]"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="qTotMes" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
<element name="qTotAnt" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
<element name="qTotGer" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
<element name="deduc" maxOccurs="10" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xDed">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="60"/>
</restriction>
</simpleType>
</element>
<element name="vDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="vFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vTotDed" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
<element name="vLiqFor" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infRespTec" type="{http://www.portalfiscal.inf.br/nfe}TInfRespTec" minOccurs="0"/>
<element name="infSolicNFF" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="xSolic">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="2"/>
<maxLength value="5000"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="agropecuario" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="defensivo" maxOccurs="20">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="nReceituario">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<maxLength value="30"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="CPFRespTec" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="guiaTransito">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="tpGuia">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
</restriction>
</simpleType>
</element>
<element name="UFGuia" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
<element name="serieGuia" minOccurs="0">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="1"/>
<maxLength value="9"/>
</restriction>
</simpleType>
</element>
<element name="nGuia">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<pattern value="[0-9]{1,9}"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nfe}TVerNFe" />
<attribute name="Id" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}ID">
<pattern value="NFe[0-9]{44}"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
</element>
<element name="infNFeSupl" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="qrCode">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<whiteSpace value="preserve"/>
<minLength value="60"/>
<maxLength value="1000"/>
<pattern value="((HTTPso|httpso)://.*\?chNFe=[0-9]{44}&nVersao=100&tpAmb=[1-2](&cDest=([A-Za-z0-9.:+-/)(]{0}|[A-Za-z0-9.:+-/)(]{5,20})?)?&dhEmi=[A-Fa-f0-9]{50}&vNF=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&vICMS=(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)&digVal=[A-Fa-f0-9]{56}&cIdToken=[0-9]{6}&cHashQRCode=[A-Fa-f0-9]{40})"/>
<pattern value="((HTTPso|httpso)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[2]\|[1-2]\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40})"/>
<pattern value="((HTTPso|httpso)://.*\?p=([0-9]{34}9[0-9]{9})\|[2]\|[1-2]\|([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1})\|(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)\|[A-Fa-f0-9]{56}\|(0|[1-9]{1}([0-9]{1,5})?)\|[A-Fa-f0-9]{40})"/>
<pattern value="((HTTPso|httpso)://.*\?p=([0-9]{34}(1|3|4)[0-9]{9})\|[3]\|[1-2])"/>
<pattern value="((HTTPso|httpso)://.*\?p=([0-9]{34}(9)[0-9]{9})\|[3]\|[1-2]\|([0]{1}[1-9]{1}|[1-2]{1}[0-9]{1}|[3]{1}[0-1]{1})\|(0|0\.[0-9]{2}|[1-9]{1}[0-9]{0,12}(\.[0-9]{2})?)\|((1|2|3)?)\|(([0-9]{3,14})?)\|([a-zA-Z0-9+/]+[=]{0,2}))"/>
</restriction>
</simpleType>
</element>
<element name="urlChave">
<simpleType>
<restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
<minLength value="21"/>
<maxLength value="85"/>
</restriction>
</simpleType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
</sequence>
</restriction>
</complexContent>
</complexType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClasse Java de anonymous complex type.static classClasse Java de anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected TNFe.InfNFeInformacoes da Nota Fiscal eletronicaprotected TNFe.InfNFeSuplInformacoes suplementares Nota Fiscalprotected SignatureType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionInformacoes da Nota Fiscal eletronicaInformacoes suplementares Nota FiscalObtem o valor da propriedade signature.voidsetInfNFe(TNFe.InfNFe value) Define o valor da propriedade infNFe.voidsetInfNFeSupl(TNFe.InfNFeSupl value) Define o valor da propriedade infNFeSupl.voidsetSignature(SignatureType value) Define o valor da propriedade signature.
-
Field Details
-
infNFe
Informacoes da Nota Fiscal eletronica -
infNFeSupl
Informacoes suplementares Nota Fiscal -
signature
-
-
Constructor Details
-
TNFe
public TNFe()
-
-
Method Details
-
getInfNFe
Informacoes da Nota Fiscal eletronica- Returns:
- possible object is
TNFe.InfNFe
-
setInfNFe
Define o valor da propriedade infNFe.- Parameters:
value- allowed object isTNFe.InfNFe- See Also:
-
getInfNFeSupl
Informacoes suplementares Nota Fiscal- Returns:
- possible object is
TNFe.InfNFeSupl
-
setInfNFeSupl
Define o valor da propriedade infNFeSupl.- Parameters:
value- allowed object isTNFe.InfNFeSupl- See Also:
-
getSignature
Obtem o valor da propriedade signature.- Returns:
- possible object is
SignatureType
-
setSignature
Define o valor da propriedade signature.- Parameters:
value- allowed object isSignatureType
-