Class TNF3E

java.lang.Object
systextil.integracao.xml.nf3e.TNF3E

public class TNF3E extends Object
Tipo Nota Fiscal de Energia Eletrica

Classe Java de TNF3e complex type.

O seguinte fragmento do esquema especifica o conteudo esperado contido dentro desta classe.

 <complexType name="TNF3e">
   <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
                 <element name="infNF3e">
                   <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/nf3e}TCodUfIBGE"/>
                                                         <element name="tpAmb" type="{http://www.portalfiscal.inf.br/nf3e}TAmb"/>
                                                         <element name="mod" type="{http://www.portalfiscal.inf.br/nf3e}TModNF3e"/>
                                                         <element name="serie" type="{http://www.portalfiscal.inf.br/nf3e}TSerie"/>
                                                         <element name="nNF" type="{http://www.portalfiscal.inf.br/nf3e}TNF"/>
                                                         <element name="cNF">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <pattern value="[0-9]{7}"/>
                                                                 </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="dhEmi" type="{http://www.portalfiscal.inf.br/nf3e}TDateTimeUTC"/>
                                                         <element name="tpEmis" type="{http://www.portalfiscal.inf.br/nf3e}TtpEmis"/>
                                                         <element name="nSiteAutoriz">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <pattern value="[0-9]{1}"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nf3e}TCodMunIBGE"/>
                                                         <element name="finNF3e" type="{http://www.portalfiscal.inf.br/nf3e}TFinNF3e"/>
                                                         <element name="verProc">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="20"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <sequence minOccurs="0">
                                                           <element name="dhCont" type="{http://www.portalfiscal.inf.br/nf3e}TDateTimeUTC"/>
                                                           <element name="xJust">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                         <minLength value="15"/>
                                                                         <maxLength value="256"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                         </sequence>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="emit">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nf3e}TCnpj"/>
                                                         <element name="IE" type="{http://www.portalfiscal.inf.br/nf3e}TIe"/>
                                                         <element name="xNome">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="60"/>
                                                                   <minLength value="2"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="xFant" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="60"/>
                                                                   <minLength value="1"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="enderEmit" type="{http://www.portalfiscal.inf.br/nf3e}TEndeEmi"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="dest">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="xNome">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="60"/>
                                                                   <minLength value="2"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <choice>
                                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nf3e}TCnpjOpc"/>
                                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/nf3e}TCpf"/>
                                                           <element name="idOutros">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <whiteSpace value="preserve"/>
                                                                         <minLength value="2"/>
                                                                         <maxLength value="20"/>
                                                                         <pattern value="([!-?]{0}|[!-?]{2,20})?"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                         </choice>
                                                         <element name="indIEDest" type="{http://www.portalfiscal.inf.br/nf3e}TIndIEDest"/>
                                                         <element name="IE" type="{http://www.portalfiscal.inf.br/nf3e}TIeDest" minOccurs="0"/>
                                                         <element name="IM" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="15"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <choice minOccurs="0">
                                                           <element name="cNIS">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="15"/>
                                                                         <whiteSpace value="preserve"/>
                                                                         <pattern value="[0-9]{15}"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="NB">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="10"/>
                                                                         <whiteSpace value="preserve"/>
                                                                         <pattern value="[0-9]{10}"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                         </choice>
                                                         <element name="xNomeAdicional" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="60"/>
                                                                   <minLength value="2"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="enderDest" type="{http://www.portalfiscal.inf.br/nf3e}TEndeEmi"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="acessante">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="idAcesso">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <minLength value="1"/>
                                                                   <maxLength value="15"/>
                                                                   <pattern value="([!-?]{0}|[!-?]{1,15})?"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="idCodCliente" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <minLength value="2"/>
                                                                   <maxLength value="20"/>
                                                                   <pattern value="([!-?]{0}|[!-?]{2,20})?"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="tpAcesso" type="{http://www.portalfiscal.inf.br/nf3e}TAcessante"/>
                                                         <element name="xNomeUC" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="60"/>
                                                                   <minLength value="2"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="tpClasse" type="{http://www.portalfiscal.inf.br/nf3e}TClasse" minOccurs="0"/>
                                                         <element name="tpSubClasse" type="{http://www.portalfiscal.inf.br/nf3e}TSubClasse" minOccurs="0"/>
                                                         <element name="tpFase" type="{http://www.portalfiscal.inf.br/nf3e}TFase"/>
                                                         <element name="tpGrpTensao" type="{http://www.portalfiscal.inf.br/nf3e}TGrpTensao"/>
                                                         <element name="tpModTar" type="{http://www.portalfiscal.inf.br/nf3e}TModTar"/>
                                                         <sequence>
                                                           <element name="latGPS" type="{http://www.portalfiscal.inf.br/nf3e}TLatitude"/>
                                                           <element name="longGPS" type="{http://www.portalfiscal.inf.br/nf3e}TLongitude"/>
                                                         </sequence>
                                                         <element name="codRoteiroLeitura" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <maxLength value="100"/>
                                                                   <minLength value="2"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gSub" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <choice>
                                                           <element name="chNF3e" type="{http://www.portalfiscal.inf.br/nf3e}TChDFe"/>
                                                           <element name="gNF">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nf3e}TCnpj"/>
                                                                                 <element name="serie">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="3"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="nNF" type="{http://www.portalfiscal.inf.br/nf3e}TNF"/>
                                                                                 <element name="CompetEmis" type="{http://www.portalfiscal.inf.br/nf3e}TCompet"/>
                                                                                 <element name="CompetApur" type="{http://www.portalfiscal.inf.br/nf3e}TCompet"/>
                                                                                 <element name="hash115" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}base64Binary">
                                                                                           <minLength value="32"/>
                                                                                           <maxLength value="32"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </choice>
                                                         <element name="motSub" type="{http://www.portalfiscal.inf.br/nf3e}TMotSub"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gJudic" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="chNF3e" type="{http://www.portalfiscal.inf.br/nf3e}TChDFe"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gGrContrat" maxOccurs="20" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="tpGrContrat" type="{http://www.portalfiscal.inf.br/nf3e}TGrContrat"/>
                                                         <element name="tpPosTar" type="{http://www.portalfiscal.inf.br/nf3e}TPosTarSimples"/>
                                                         <element name="qUnidContrat" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1306"/>
                                                   </sequence>
                                                   <attribute name="nContrat" use="required">
                                                         <simpleType>
                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                 <whiteSpace value="preserve"/>
                                                                 <minLength value="2"/>
                                                                 <maxLength value="2"/>
                                                                 <pattern value="(0[1-9]|1[0-9]|20)"/>
                                                           </restriction>
                                                         </simpleType>
                                                   </attribute>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gMed" maxOccurs="20" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="idMedidor">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <minLength value="2"/>
                                                                   <maxLength value="20"/>
                                                                   <pattern value="([!-?]{0}|[!-?]{2,20})?"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="dMedAnt" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                         <element name="dMedAtu" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                   </sequence>
                                                   <attribute name="nMed" use="required">
                                                         <simpleType>
                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                 <whiteSpace value="preserve"/>
                                                                 <minLength value="2"/>
                                                                 <maxLength value="2"/>
                                                                 <pattern value="(0[1-9]|1[0-9]|20)"/>
                                                           </restriction>
                                                         </simpleType>
                                                   </attribute>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gSCEE" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="tpPartComp" type="{http://www.portalfiscal.inf.br/nf3e}TPartComp"/>
                                                         <element name="gConsumidor" maxOccurs="unbounded">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="idAcessGer">
                                                                                 <simpleType>
                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                         <whiteSpace value="preserve"/>
                                                                                         <minLength value="2"/>
                                                                                         <maxLength value="20"/>
                                                                                         <pattern value="([!-?]{0}|[!-?]{2,20})?"/>
                                                                                   </restriction>
                                                                                 </simpleType>
                                                                           </element>
                                                                           <element name="vPotInst" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0503"/>
                                                                           <element name="tpFonteEnergia" type="{http://www.portalfiscal.inf.br/nf3e}TFonteEnergia"/>
                                                                           <sequence maxOccurs="unbounded">
                                                                                 <element name="enerAloc">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/nf3e}TDec_0803">
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="tpPosTar" type="{http://www.portalfiscal.inf.br/nf3e}TPosTarSimples"/>
                                                                           </sequence>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                         <choice>
                                                           <element name="gSaldoCred" maxOccurs="3">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpPosTar" type="{http://www.portalfiscal.inf.br/nf3e}TPosTarSimples"/>
                                                                                 <element name="vSaldAnt" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                 <element name="vCredExpirado" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                 <element name="vSaldAtual" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                 <sequence minOccurs="0">
                                                                                   <element name="vCredExpirar" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                   <element name="CompetExpirar" type="{http://www.portalfiscal.inf.br/nf3e}TCompet"/>
                                                                                 </sequence>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="gTipoSaldo" maxOccurs="10">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="gSaldoCred" maxOccurs="3">
                                                                                   <complexType>
                                                                                         <complexContent>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                 <sequence>
                                                                                                   <element name="tpPosTar" type="{http://www.portalfiscal.inf.br/nf3e}TPosTarSimples"/>
                                                                                                   <element name="vSaldAnt" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                   <element name="vCredExpirado" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                   <element name="vSaldAtual" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                   <sequence minOccurs="0">
                                                                                                         <element name="vCredExpirar" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                         <element name="CompetExpirar" type="{http://www.portalfiscal.inf.br/nf3e}TCompet"/>
                                                                                                   </sequence>
                                                                                                 </sequence>
                                                                                           </restriction>
                                                                                         </complexContent>
                                                                                   </complexType>
                                                                                 </element>
                                                                           </sequence>
                                                                           <attribute name="nTipoSaldo" use="required">
                                                                                 <simpleType>
                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                         <whiteSpace value="preserve"/>
                                                                                         <minLength value="1"/>
                                                                                         <maxLength value="3"/>
                                                                                         <pattern value="(0[1-9]|10)"/>
                                                                                   </restriction>
                                                                                 </simpleType>
                                                                           </attribute>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </choice>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="NFdet" maxOccurs="13">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="det" maxOccurs="990">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="gAjusteNF3eAnt" minOccurs="0">
                                                                                 <complexType>
                                                                                   <complexContent>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                           <sequence>
                                                                                                 <element name="tpAjuste" type="{http://www.portalfiscal.inf.br/nf3e}TAjusteNF3eAnt"/>
                                                                                                 <element name="motAjuste" type="{http://www.portalfiscal.inf.br/nf3e}TMotAjuste"/>
                                                                                           </sequence>
                                                                                         </restriction>
                                                                                   </complexContent>
                                                                                 </complexType>
                                                                           </element>
                                                                           <choice>
                                                                                 <element name="detItemAnt">
                                                                                   <complexType>
                                                                                         <complexContent>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                 <sequence>
                                                                                                   <element name="vItem" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                   <element name="qFaturada" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                   <element name="vProd" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                   <element name="cClass">
                                                                                                         <simpleType>
                                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                 <minLength value="7"/>
                                                                                                                 <maxLength value="7"/>
                                                                                                                 <whiteSpace value="preserve"/>
                                                                                                                 <pattern value="[0-9]{7}"/>
                                                                                                           </restriction>
                                                                                                         </simpleType>
                                                                                                   </element>
                                                                                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302" minOccurs="0"/>
                                                                                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <element name="vCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                   <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/nf3e}TDec_1302_1308"/>
                                                                                                                         <element name="vRetCofins" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                         <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                         <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                         <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="indDevolucao" minOccurs="0">
                                                                                                         <simpleType>
                                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                 <minLength value="1"/>
                                                                                                                 <maxLength value="1"/>
                                                                                                                 <whiteSpace value="preserve"/>
                                                                                                                 <enumeration value="1"/>
                                                                                                           </restriction>
                                                                                                         </simpleType>
                                                                                                   </element>
                                                                                                 </sequence>
                                                                                                 <attribute name="nItemAnt" use="required">
                                                                                                   <simpleType>
                                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                           <whiteSpace value="preserve"/>
                                                                                                           <minLength value="1"/>
                                                                                                           <maxLength value="3"/>
                                                                                                           <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="detItem">
                                                                                   <complexType>
                                                                                         <complexContent>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                 <sequence>
                                                                                                   <element name="gTarif" maxOccurs="6" minOccurs="0">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="dIniTarif" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                                                                                         <element name="dFimTarif" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                                                                                         <element name="tpAto" type="{http://www.portalfiscal.inf.br/nf3e}TAtoANEEL"/>
                                                                                                                         <element name="nAto">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                   <minLength value="4"/>
                                                                                                                                   <maxLength value="4"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="anoAto">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="4"/>
                                                                                                                                   <maxLength value="4"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <pattern value="[0-9]{4}"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="tpTarif" type="{http://www.portalfiscal.inf.br/nf3e}TTarifa"/>
                                                                                                                         <element name="cPosTarif" type="{http://www.portalfiscal.inf.br/nf3e}TPosTarifCompleto"/>
                                                                                                                         <element name="uMed">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="1"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <enumeration value="1"/>
                                                                                                                                   <enumeration value="2"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="vTarifHom">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TDec_0908">
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <sequence minOccurs="0">
                                                                                                                           <element name="vTarifAplic">
                                                                                                                                 <simpleType>
                                                                                                                                   <restriction base="{http://www.portalfiscal.inf.br/nf3e}TDec_0908">
                                                                                                                                   </restriction>
                                                                                                                                 </simpleType>
                                                                                                                           </element>
                                                                                                                           <element name="motDifTarif">
                                                                                                                                 <simpleType>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                         <minLength value="2"/>
                                                                                                                                         <maxLength value="2"/>
                                                                                                                                         <whiteSpace value="preserve"/>
                                                                                                                                         <enumeration value="01"/>
                                                                                                                                         <enumeration value="02"/>
                                                                                                                                         <enumeration value="03"/>
                                                                                                                                         <enumeration value="04"/>
                                                                                                                                   </restriction>
                                                                                                                                 </simpleType>
                                                                                                                           </element>
                                                                                                                         </sequence>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="gAdBand" maxOccurs="3" minOccurs="0">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="dIniAdBand" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                                                                                         <element name="dFimAdBand" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                                                                                         <element name="tpBand" type="{http://www.portalfiscal.inf.br/nf3e}TBand"/>
                                                                                                                         <element name="vAdBand" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                         <sequence minOccurs="0">
                                                                                                                           <element name="vAdBandAplic" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                           <element name="motDifBand">
                                                                                                                                 <simpleType>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                         <minLength value="2"/>
                                                                                                                                         <maxLength value="2"/>
                                                                                                                                         <whiteSpace value="preserve"/>
                                                                                                                                         <enumeration value="01"/>
                                                                                                                                         <enumeration value="02"/>
                                                                                                                                         <enumeration value="03"/>
                                                                                                                                         <enumeration value="04"/>
                                                                                                                                   </restriction>
                                                                                                                                 </simpleType>
                                                                                                                           </element>
                                                                                                                         </sequence>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="prod">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="indOrigemQtd" type="{http://www.portalfiscal.inf.br/nf3e}TOrigemQtd"/>
                                                                                                                         <element name="gMedicao" minOccurs="0">
                                                                                                                           <complexType>
                                                                                                                                 <complexContent>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                                         <sequence>
                                                                                                                                           <element name="nMed">
                                                                                                                                                 <simpleType>
                                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                         <minLength value="2"/>
                                                                                                                                                         <maxLength value="2"/>
                                                                                                                                                         <whiteSpace value="preserve"/>
                                                                                                                                                         <pattern value="(0[1-9]|1[0-9]|20)"/>
                                                                                                                                                   </restriction>
                                                                                                                                                 </simpleType>
                                                                                                                                           </element>
                                                                                                                                           <element name="nContrat" minOccurs="0">
                                                                                                                                                 <simpleType>
                                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                         <minLength value="2"/>
                                                                                                                                                         <maxLength value="2"/>
                                                                                                                                                         <whiteSpace value="preserve"/>
                                                                                                                                                         <pattern value="(0[1-9]|1[0-9]|20)"/>
                                                                                                                                                   </restriction>
                                                                                                                                                 </simpleType>
                                                                                                                                           </element>
                                                                                                                                           <choice>
                                                                                                                                                 <element name="gMedida" type="{http://www.portalfiscal.inf.br/nf3e}TMedida"/>
                                                                                                                                                 <element name="tpMotNaoLeitura" type="{http://www.portalfiscal.inf.br/nf3e}TMotNaoLeitura"/>
                                                                                                                                           </choice>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                         <element name="cProd">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                   <maxLength value="60"/>
                                                                                                                                   <minLength value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="xProd">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                   <maxLength value="120"/>
                                                                                                                                   <minLength value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="cClass">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="7"/>
                                                                                                                                   <maxLength value="7"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <pattern value="[0-9]{7}"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="CFOP" type="{http://www.portalfiscal.inf.br/nf3e}TCfop" minOccurs="0"/>
                                                                                                                         <element name="uMed" type="{http://www.portalfiscal.inf.br/nf3e}TUMedItem"/>
                                                                                                                         <element name="qFaturada" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                                         <element name="vItem" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                         <element name="vProd" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                         <element name="indDevolucao" minOccurs="0">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="1"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <enumeration value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="indPrecoACL" minOccurs="0">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="1"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <enumeration value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="imposto">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <extension base="{http://www.portalfiscal.inf.br/nf3e}TImp">
                                                                                                                   <sequence>
                                                                                                                         <choice>
                                                                                                                           <choice>
                                                                                                                                 <element name="ICMS00">
                                                                                                                                   <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="00"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302"/>
                                                                                                                                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="pFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                         <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   </sequence>
                                                                                                                                                 </sequence>
                                                                                                                                           </restriction>
                                                                                                                                         </complexContent>
                                                                                                                                   </complexType>
                                                                                                                                 </element>
                                                                                                                                 <element name="ICMS10">
                                                                                                                                   <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="10"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302"/>
                                                                                                                                                   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                         <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   </sequence>
                                                                                                                                                 </sequence>
                                                                                                                                           </restriction>
                                                                                                                                         </complexContent>
                                                                                                                                   </complexType>
                                                                                                                                 </element>
                                                                                                                                 <element name="ICMS20">
                                                                                                                                   <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="20"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302Opc"/>
                                                                                                                                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302"/>
                                                                                                                                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="cBenef">
                                                                                                                                                           <simpleType>
                                                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                                                   <maxLength value="10"/>
                                                                                                                                                                 </restriction>
                                                                                                                                                           </simpleType>
                                                                                                                                                         </element>
                                                                                                                                                   </sequence>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="pFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                         <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   </sequence>
                                                                                                                                                 </sequence>
                                                                                                                                           </restriction>
                                                                                                                                         </complexContent>
                                                                                                                                   </complexType>
                                                                                                                                 </element>
                                                                                                                                 <element name="ICMS40">
                                                                                                                                   <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="40"/>
                                                                                                                                                                 <enumeration value="41"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="cBenef">
                                                                                                                                                           <simpleType>
                                                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                                                   <maxLength value="10"/>
                                                                                                                                                                 </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="CST">
                                                                                                                                                         <simpleType>
                                                                                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                 <whiteSpace value="preserve"/>
                                                                                                                                                                 <enumeration value="51"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="cBenef">
                                                                                                                                                           <simpleType>
                                                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                                                   <maxLength value="10"/>
                                                                                                                                                                 </restriction>
                                                                                                                                                           </simpleType>
                                                                                                                                                         </element>
                                                                                                                                                   </sequence>
                                                                                                                                                 </sequence>
                                                                                                                                           </restriction>
                                                                                                                                         </complexContent>
                                                                                                                                   </complexType>
                                                                                                                                 </element>
                                                                                                                                 <element name="ICMS60">
                                                                                                                                   <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="60"/>
                                                                                                                                                           </restriction>
                                                                                                                                                         </simpleType>
                                                                                                                                                   </element>
                                                                                                                                                   <choice>
                                                                                                                                                         <sequence>
                                                                                                                                                           <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                           <element name="pICMSSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                           <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                                                           <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                           <sequence minOccurs="0">
                                                                                                                                                                 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                                 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                                 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                           </sequence>
                                                                                                                                                         </sequence>
                                                                                                                                                         <sequence>
                                                                                                                                                           <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                           <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                           <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                           <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         </sequence>
                                                                                                                                                   </choice>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="cBenef">
                                                                                                                                                           <simpleType>
                                                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                                                   <maxLength value="10"/>
                                                                                                                                                                 </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="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="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302"/>
                                                                                                                                                         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   </sequence>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                         <element name="cBenef">
                                                                                                                                                           <simpleType>
                                                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                                                   <maxLength value="10"/>
                                                                                                                                                                 </restriction>
                                                                                                                                                           </simpleType>
                                                                                                                                                         </element>
                                                                                                                                                   </sequence>
                                                                                                                                                   <sequence minOccurs="0">
                                                                                                                                                         <element name="pFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                                         <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                                   </sequence>
                                                                                                                                                 </sequence>
                                                                                                                                           </restriction>
                                                                                                                                         </complexContent>
                                                                                                                                   </complexType>
                                                                                                                                 </element>
                                                                                                                           </choice>
                                                                                                                           <element name="indSemCST">
                                                                                                                                 <simpleType>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                         <whiteSpace value="preserve"/>
                                                                                                                                         <enumeration value="1"/>
                                                                                                                                   </restriction>
                                                                                                                                 </simpleType>
                                                                                                                           </element>
                                                                                                                         </choice>
                                                                                                                         <element name="PIS" minOccurs="0">
                                                                                                                           <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"/>
                                                                                                                                                         <enumeration value="06"/>
                                                                                                                                                         <enumeration value="07"/>
                                                                                                                                                         <enumeration value="08"/>
                                                                                                                                                         <enumeration value="09"/>
                                                                                                                                                         <enumeration value="49"/>
                                                                                                                                                   </restriction>
                                                                                                                                                 </simpleType>
                                                                                                                                           </element>
                                                                                                                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                           <element name="pPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04"/>
                                                                                                                                           <element name="vPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                         <element name="PISEfet" minOccurs="0">
                                                                                                                           <complexType>
                                                                                                                                 <complexContent>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                                         <sequence>
                                                                                                                                           <element name="vBCPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                           <element name="pPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04"/>
                                                                                                                                           <element name="vPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                         <element name="COFINS" minOccurs="0">
                                                                                                                           <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"/>
                                                                                                                                                         <enumeration value="06"/>
                                                                                                                                                         <enumeration value="07"/>
                                                                                                                                                         <enumeration value="08"/>
                                                                                                                                                         <enumeration value="09"/>
                                                                                                                                                         <enumeration value="49"/>
                                                                                                                                                   </restriction>
                                                                                                                                                 </simpleType>
                                                                                                                                           </element>
                                                                                                                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                           <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04"/>
                                                                                                                                           <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                         <element name="COFINSEfet" minOccurs="0">
                                                                                                                           <complexType>
                                                                                                                                 <complexContent>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                                         <sequence>
                                                                                                                                           <element name="vBCCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                           <element name="pCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04"/>
                                                                                                                                           <element name="vCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                                         </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/nf3e}TDec_1302_1308"/>
                                                                                                                                           <element name="vRetCofins" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                                           <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                                           <element name="vBCIRRF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                                           <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1308"/>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                   </sequence>
                                                                                                                 </extension>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="gProcRef" minOccurs="0">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="vItem" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                         <element name="qFaturada" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1100_1104"/>
                                                                                                                         <element name="vProd" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302_1310"/>
                                                                                                                         <element name="indDevolucao" minOccurs="0">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="1"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <enumeration value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <element name="pICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302" minOccurs="0"/>
                                                                                                                         <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <sequence minOccurs="0">
                                                                                                                           <element name="pFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                         </sequence>
                                                                                                                         <sequence minOccurs="0">
                                                                                                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                           <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302"/>
                                                                                                                           <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                           <sequence minOccurs="0">
                                                                                                                                 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_0302a04Opc"/>
                                                                                                                                 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                           </sequence>
                                                                                                                         </sequence>
                                                                                                                         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <element name="vPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <element name="vCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302" minOccurs="0"/>
                                                                                                                         <element name="gProc" maxOccurs="10">
                                                                                                                           <complexType>
                                                                                                                                 <complexContent>
                                                                                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                                         <sequence>
                                                                                                                                           <element name="tpProc" type="{http://www.portalfiscal.inf.br/nf3e}TProcesso"/>
                                                                                                                                           <element name="nProcesso">
                                                                                                                                                 <simpleType>
                                                                                                                                                   <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                                         <minLength value="1"/>
                                                                                                                                                         <maxLength value="60"/>
                                                                                                                                                   </restriction>
                                                                                                                                                 </simpleType>
                                                                                                                                           </element>
                                                                                                                                         </sequence>
                                                                                                                                   </restriction>
                                                                                                                                 </complexContent>
                                                                                                                           </complexType>
                                                                                                                         </element>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="gContab" maxOccurs="99" minOccurs="0">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="cContab">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                   <minLength value="9"/>
                                                                                                                                   <maxLength value="13"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="xContab">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                                   <maxLength value="100"/>
                                                                                                                                   <minLength value="1"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="vContab" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                                                                         <element name="tpLanc">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="1"/>
                                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                                   <enumeration value="D"/>
                                                                                                                                   <enumeration value="C"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="infAdProd" minOccurs="0">
                                                                                                         <simpleType>
                                                                                                           <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                                                 <minLength value="1"/>
                                                                                                                 <maxLength value="500"/>
                                                                                                           </restriction>
                                                                                                         </simpleType>
                                                                                                   </element>
                                                                                                 </sequence>
                                                                                                 <attribute name="nItemAnt">
                                                                                                   <simpleType>
                                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                           <whiteSpace value="preserve"/>
                                                                                                           <minLength value="1"/>
                                                                                                           <maxLength value="3"/>
                                                                                                           <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>
                                                                           </choice>
                                                                         </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>
                                                   </sequence>
                                                   <attribute name="chNF3eAnt" type="{http://www.portalfiscal.inf.br/nf3e}TChDFe" />
                                                   <attribute name="mod6HashAnt" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="total">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="vProd" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                         <element name="ICMSTot">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="vBC" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vICMS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vFCP" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vBCST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                         <element name="vRetTribTot">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="vRetPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vRetCofins" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vRetCSLL" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                           <element name="vIRRF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                         <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                         <element name="vCOFINSEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                         <element name="vPIS" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                         <element name="vPISEfet" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                         <element name="vNF" type="{http://www.portalfiscal.inf.br/nf3e}TDec_1302"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gFat">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="CompetFat" type="{http://www.portalfiscal.inf.br/nf3e}TCompet"/>
                                                         <element name="dVencFat" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                         <element name="dApresFat" type="{http://www.portalfiscal.inf.br/nf3e}TData" minOccurs="0"/>
                                                         <element name="dProxLeitura" type="{http://www.portalfiscal.inf.br/nf3e}TData"/>
                                                         <element name="nFat" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <minLength value="1"/>
                                                                   <maxLength value="20"/>
                                                                   <pattern value="[0-9]{1,20}"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="codBarras">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <minLength value="1"/>
                                                                   <maxLength value="48"/>
                                                                   <pattern value="[0-9]{1,48}"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <choice>
                                                           <element name="codDebAuto">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <whiteSpace value="preserve"/>
                                                                         <minLength value="1"/>
                                                                         <maxLength value="20"/>
                                                                         <pattern value="[0-9]{1,20}"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <sequence>
                                                                 <element name="codBanco">
                                                                   <simpleType>
                                                                         <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                           <minLength value="3"/>
                                                                           <maxLength value="5"/>
                                                                         </restriction>
                                                                   </simpleType>
                                                                 </element>
                                                                 <element name="codAgencia">
                                                                   <simpleType>
                                                                         <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                           <minLength value="1"/>
                                                                           <maxLength value="10"/>
                                                                         </restriction>
                                                                   </simpleType>
                                                                 </element>
                                                           </sequence>
                                                         </choice>
                                                         <element name="enderCorresp" type="{http://www.portalfiscal.inf.br/nf3e}TEndeEmi" minOccurs="0"/>
                                                         <element name="gPIX" minOccurs="0">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="urlQRCodePIX">
                                                                                 <simpleType>
                                                                                   <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                                         <maxLength value="2000"/>
                                                                                         <minLength value="2"/>
                                                                                   </restriction>
                                                                                 </simpleType>
                                                                           </element>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gANEEL" type="{http://www.portalfiscal.inf.br/nf3e}TANEEL"/>
                                   <element name="autXML" maxOccurs="10" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <choice>
                                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nf3e}TCnpj"/>
                                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/nf3e}TCpf"/>
                                                         </choice>
                                                   </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/nf3e}TString">
                                                                   <maxLength value="2000"/>
                                                                   <minLength value="1"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="infCpl" maxOccurs="5" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/nf3e}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="3000"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="gRespTec" type="{http://www.portalfiscal.inf.br/nf3e}TRespTec" minOccurs="0"/>
                                 </sequence>
                                 <attribute name="versao" use="required" type="{http://www.portalfiscal.inf.br/nf3e}TVerNF3e" />
                                 <attribute name="Id" use="required">
                                   <simpleType>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
                                           <pattern value="NF3e[0-9]{44}"/>
                                         </restriction>
                                   </simpleType>
                                 </attribute>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="infNF3eSupl">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="qrCodNF3e">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <minLength value="50"/>
                                                 <maxLength value="1000"/>
                                                 <pattern value="((HTTPso|httpso)://.*\?chNF3e=[0-9]{44}&tpAmb=[1-2](&sign=[!-?]{1}[ -?]{0,}[!-?]{1}|[!-?]{1})?)"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
           </sequence>
         </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TNF3E

      public TNF3E()
  • Method Details

    • getInfNF3E

      public TNF3E.InfNF3E getInfNF3E()
      Obtem o valor da propriedade infNF3E.
      Returns:
      possible object is TNF3E.InfNF3E
    • setInfNF3E

      public void setInfNF3E(TNF3E.InfNF3E value)
      Define o valor da propriedade infNF3E.
      Parameters:
      value - allowed object is TNF3E.InfNF3E
    • getInfNF3ESupl

      public TNF3E.InfNF3ESupl getInfNF3ESupl()
      Obtem o valor da propriedade infNF3ESupl.
      Returns:
      possible object is TNF3E.InfNF3ESupl
    • setInfNF3ESupl

      public void setInfNF3ESupl(TNF3E.InfNF3ESupl value)
      Define o valor da propriedade infNF3ESupl.
      Parameters:
      value - allowed object is TNF3E.InfNF3ESupl
    • getSignature

      public SignatureType getSignature()
      Obtem o valor da propriedade signature.
      Returns:
      possible object is SignatureType
    • setSignature

      public void setSignature(SignatureType value)
      Define o valor da propriedade signature.
      Parameters:
      value - allowed object is SignatureType