Class TNF3E.InfNF3E.NFdet.Det

java.lang.Object
systextil.integracao.xml.nf3e.TNF3E.InfNF3E.NFdet.Det
Enclosing class:
TNF3E.InfNF3E.NFdet

public static class TNF3E.InfNF3E.NFdet.Det extends Object

Classe Java de anonymous complex type.

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

 <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>