Class TNFe.InfNFe.Det

java.lang.Object
systextil.integracao.xml.nfe.TNFe.InfNFe.Det
Enclosing class:
TNFe.InfNFe

public static class TNFe.InfNFe.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="prod">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="cProd">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="60"/>
						 <minLength value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="cEAN">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="cBarra" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="30"/>
						 <minLength value="3"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="xProd">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="120"/>
						 <minLength value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="NCM">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{2}|[0-9]{8}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="NVE" maxOccurs="8" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[A-Z]{2}[0-9]{4}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <sequence minOccurs="0">
					 <element name="CEST">
					   <simpleType>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						   <whiteSpace value="preserve"/>
						   <pattern value="[0-9]{7}"/>
						 </restriction>
					   </simpleType>
					 </element>
					 <element name="indEscala" minOccurs="0">
					   <simpleType>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						   <enumeration value="S"/>
						   <enumeration value="N"/>
						 </restriction>
					   </simpleType>
					 </element>
					 <element name="CNPJFab" type="{http://www.portalfiscal.inf.br/nfe}TCnpj" minOccurs="0"/>
				   </sequence>
				   <element name="cBenef" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="([!-y]{8}|[!-y]{10}|SEM CBENEF)?"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="gCred" maxOccurs="4" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="cCredPresumido">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <pattern value="[!-y]{8}|[!-y]{10}"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="pCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
							 <element name="vCredPresumido" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="tpCredPresIBSZFM" type="{http://www.portalfiscal.inf.br/nfe}TTpCredPresIBSZFM" minOccurs="0"/>
				   <element name="EXTIPI" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{2,3}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="CFOP">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[1,2,3,5,6,7]{1}[0-9]{3}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="uCom">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="6"/>
						 <minLength value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="qCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
				   <element name="vUnCom" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
				   <element name="vProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
				   <element name="cEANTrib">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="SEM GTIN|[0-9]{0}|[0-9]{8}|[0-9]{12,14}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="cBarraTrib" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="30"/>
						 <minLength value="3"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="uTrib">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <maxLength value="6"/>
						 <minLength value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="qTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
				   <element name="vUnTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1110v"/>
				   <element name="vFrete" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
				   <element name="vSeg" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
				   <element name="vDesc" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
				   <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
				   <element name="indTot">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <enumeration value="0"/>
						 <enumeration value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="indBemMovelUsado" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <enumeration value="1"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="DI" maxOccurs="100" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="nDI">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="15"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="dDI" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
							 <element name="xLocDesemb">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="60"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="UFDesemb" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi"/>
							 <element name="dDesemb" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
							 <element name="tpViaTransp">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <enumeration value="1"/>
								   <enumeration value="2"/>
								   <enumeration value="3"/>
								   <enumeration value="4"/>
								   <enumeration value="5"/>
								   <enumeration value="6"/>
								   <enumeration value="7"/>
								   <enumeration value="8"/>
								   <enumeration value="9"/>
								   <enumeration value="10"/>
								   <enumeration value="11"/>
								   <enumeration value="12"/>
								   <enumeration value="13"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="vAFRMM" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
							 <element name="tpIntermedio">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <enumeration value="1"/>
								   <enumeration value="2"/>
								   <enumeration value="3"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <choice minOccurs="0">
							   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/nfe}TCnpj"/>
							   <element name="CPF" type="{http://www.portalfiscal.inf.br/nfe}TCpf"/>
							 </choice>
							 <element name="UFTerceiro" type="{http://www.portalfiscal.inf.br/nfe}TUfEmi" minOccurs="0"/>
							 <element name="cExportador">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="60"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="adi" maxOccurs="999">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="nAdicao" minOccurs="0">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <pattern value="[1-9]{1}[0-9]{0,2}"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="nSeqAdic">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <pattern value="[1-9]{1}[0-9]{0,4}"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="cFabricante">
										 <simpleType>
										   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
											 <minLength value="1"/>
											 <maxLength value="60"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="vDescDI" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
									   <element name="nDraw" minOccurs="0">
										 <simpleType>
										   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
											 <minLength value="1"/>
											 <maxLength value="20"/>
										   </restriction>
										 </simpleType>
									   </element>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="detExport" maxOccurs="500" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="nDraw" minOccurs="0">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="20"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="exportInd" minOccurs="0">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="nRE">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <pattern value="[0-9]{0,12}"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="chNFe" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
									   <element name="qExport" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="xPed" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
						 <minLength value="1"/>
						 <maxLength value="15"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="nItemPed" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[0-9]{1,6}"/>
					   </restriction>
					 </simpleType>
				   </element>
				   <element name="nFCI" type="{http://www.portalfiscal.inf.br/nfe}TGuid" minOccurs="0"/>
				   <element name="rastro" maxOccurs="500" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="nLote">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="20"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="qLote" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
							 <element name="dFab" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
							 <element name="dVal" type="{http://www.portalfiscal.inf.br/nfe}TData"/>
							 <element name="cAgreg" minOccurs="0">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="20"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="infProdNFF" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="cProdFisco">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <length value="14"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="cOperNFF">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <pattern value="[0-9]{1,5}"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="infProdEmb" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="xEmb">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <maxLength value="8"/>
								   <minLength value="1"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="qVolEmb" type="{http://www.portalfiscal.inf.br/nfe}TDec_0803v"/>
							 <element name="uEmb">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <maxLength value="8"/>
								   <minLength value="1"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <choice minOccurs="0">
					 <element name="veicProd">
					   <complexType>
						 <complexContent>
						   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							 <sequence>
							   <element name="tpOp">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <enumeration value="0"/>
									 <enumeration value="1"/>
									 <enumeration value="2"/>
									 <enumeration value="3"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="chassi">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <length value="17"/>
									 <whiteSpace value="preserve"/>
									 <pattern value="[A-Z0-9]+"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="cCor">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="4"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="xCor">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="40"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="pot">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="4"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="cilin">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="4"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="pesoL">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="9"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="pesoB">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="9"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="nSerie">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="9"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="tpComb">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="2"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="nMotor">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="21"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="CMT">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="9"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="dist">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="4"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="anoMod">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{4}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="anoFab">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{4}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="tpPint">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <length value="1"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="tpVeic">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{1,2}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="espVeic">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{1}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="VIN">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <length value="1"/>
									 <enumeration value="R"/>
									 <enumeration value="N"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="condVeic">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <enumeration value="1"/>
									 <enumeration value="2"/>
									 <enumeration value="3"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="cMod">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{1,6}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="cCorDENATRAN">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <minLength value="1"/>
									 <maxLength value="2"/>
									 <pattern value="[0-9]{1,2}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="lota">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <minLength value="1"/>
									 <maxLength value="3"/>
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{1,3}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="tpRest">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <enumeration value="0"/>
									 <enumeration value="1"/>
									 <enumeration value="2"/>
									 <enumeration value="3"/>
									 <enumeration value="4"/>
									 <enumeration value="9"/>
								   </restriction>
								 </simpleType>
							   </element>
							 </sequence>
						   </restriction>
						 </complexContent>
					   </complexType>
					 </element>
					 <element name="med">
					   <complexType>
						 <complexContent>
						   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							 <sequence>
							   <element name="cProdANVISA">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <pattern value="[0-9]{11}|[0-9]{13}|ISENTO"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="xMotivoIsencao" minOccurs="0">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="255"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="vPMC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							 </sequence>
						   </restriction>
						 </complexContent>
					   </complexType>
					 </element>
					 <element name="arma" maxOccurs="500">
					   <complexType>
						 <complexContent>
						   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							 <sequence>
							   <element name="tpArma">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <enumeration value="0"/>
									 <enumeration value="1"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="nSerie">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="15"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="nCano">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="15"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="descr">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="1"/>
									 <maxLength value="256"/>
								   </restriction>
								 </simpleType>
							   </element>
							 </sequence>
						   </restriction>
						 </complexContent>
					   </complexType>
					 </element>
					 <element name="comb">
					   <complexType>
						 <complexContent>
						   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							 <sequence>
							   <element name="cProdANP">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{9}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="descANP">
								 <simpleType>
								   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									 <minLength value="2"/>
									 <maxLength value="95"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="pGLP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
							   <element name="pGNn" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
							   <element name="pGNi" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
							   <element name="vPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
							   <element name="CODIF" minOccurs="0">
								 <simpleType>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									 <whiteSpace value="preserve"/>
									 <pattern value="[0-9]{1,21}"/>
								   </restriction>
								 </simpleType>
							   </element>
							   <element name="qTemp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204temperatura" minOccurs="0"/>
							   <element name="UFCons" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
							   <element name="CIDE" minOccurs="0">
								 <complexType>
								   <complexContent>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									   <sequence>
										 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
										 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
										 <element name="vCIDE" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									   </sequence>
									 </restriction>
								   </complexContent>
								 </complexType>
							   </element>
							   <element name="encerrante" minOccurs="0">
								 <complexType>
								   <complexContent>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									   <sequence>
										 <element name="nBico">
										   <simpleType>
											 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											   <whiteSpace value="preserve"/>
											   <pattern value="[0-9]{1,3}"/>
											 </restriction>
										   </simpleType>
										 </element>
										 <element name="nBomba" minOccurs="0">
										   <simpleType>
											 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											   <whiteSpace value="preserve"/>
											   <pattern value="[0-9]{1,3}"/>
											 </restriction>
										   </simpleType>
										 </element>
										 <element name="nTanque">
										   <simpleType>
											 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											   <whiteSpace value="preserve"/>
											   <pattern value="[0-9]{1,3}"/>
											 </restriction>
										   </simpleType>
										 </element>
										 <element name="vEncIni" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
										 <element name="vEncFin" type="{http://www.portalfiscal.inf.br/nfe}TDec_1203"/>
									   </sequence>
									 </restriction>
								   </complexContent>
								 </complexType>
							   </element>
							   <element name="pBio" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc" minOccurs="0"/>
							   <element name="origComb" maxOccurs="30" minOccurs="0">
								 <complexType>
								   <complexContent>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									   <sequence>
										 <element name="indImport">
										   <simpleType>
											 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											   <whiteSpace value="preserve"/>
											   <enumeration value="0"/>
											   <enumeration value="1"/>
											 </restriction>
										   </simpleType>
										 </element>
										 <element name="cUFOrig" type="{http://www.portalfiscal.inf.br/nfe}TCodUfIBGE"/>
										 <element name="pOrig" type="{http://www.portalfiscal.inf.br/nfe}TDec_03v00a04Max100Opc"/>
									   </sequence>
									 </restriction>
								   </complexContent>
								 </complexType>
							   </element>
							 </sequence>
						   </restriction>
						 </complexContent>
					   </complexType>
					 </element>
					 <element name="nRECOPI">
					   <simpleType>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						   <whiteSpace value="preserve"/>
						   <maxLength value="20"/>
						   <pattern value="[0-9]{20}"/>
						 </restriction>
					   </simpleType>
					 </element>
				   </choice>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="imposto">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
				   <choice minOccurs="0">
					 <sequence>
					   <element name="ICMS">
						 <complexType>
						   <complexContent>
							 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							   <choice>
								 <element name="ICMS00">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="00"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS02">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="02"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS10">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="10"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMSST">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS15">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="15"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="qBCMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMSReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSMonoReten" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="pRedAdRem" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
											 <element name="motRedAdRem">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="1"/>
												   <enumeration value="9"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS20">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="20"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMS">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="indDeduzDeson" minOccurs="0">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS30">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="30"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMS">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="6"/>
												   <enumeration value="7"/>
												   <enumeration value="9"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="indDeduzDeson" minOccurs="0">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS40">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="40"/>
												 <enumeration value="41"/>
												 <enumeration value="50"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <sequence minOccurs="0">
											 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMS">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="1"/>
												   <enumeration value="3"/>
												   <enumeration value="4"/>
												   <enumeration value="5"/>
												   <enumeration value="6"/>
												   <enumeration value="7"/>
												   <enumeration value="8"/>
												   <enumeration value="9"/>
												   <enumeration value="10"/>
												   <enumeration value="11"/>
												   <enumeration value="16"/>
												   <enumeration value="90"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="indDeduzDeson" minOccurs="0">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS51">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="51"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC" minOccurs="0">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
										   <element name="cBenefRBC" minOccurs="0">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <pattern value="[!-y]{8}|[!-y]{10}"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
										   <element name="vICMSOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
										   <element name="vICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="pFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="vFCPEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS53">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="53"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="qBCMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
										   <element name="vICMSMonoOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="pDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Max100" minOccurs="0"/>
										   <element name="vICMSMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="vICMSMono" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="qBCMonoDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMSDif" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS60">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="60"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <sequence minOccurs="0">
											 <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
											 <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS61">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="61"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="qBCMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v" minOccurs="0"/>
										   <element name="adRemICMSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSMonoRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS70">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="70"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMS">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="indDeduzDeson" minOccurs="0">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMSST">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMS90">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="90"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <sequence minOccurs="0">
											 <element name="modBC">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												   <enumeration value="2"/>
												   <enumeration value="3"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
											 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <sequence minOccurs="0">
											   <element name="vBCFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											   <element name="pFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											   <element name="vFCP" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 </sequence>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="modBCST">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												   <enumeration value="2"/>
												   <enumeration value="3"/>
												   <enumeration value="4"/>
												   <enumeration value="5"/>
												   <enumeration value="6"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
											 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <sequence minOccurs="0">
											   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 </sequence>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMS">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="indDeduzDeson" minOccurs="0">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vICMSSTDeson" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="motDesICMSST">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="3"/>
												   <enumeration value="9"/>
												   <enumeration value="12"/>
												 </restriction>
											   </simpleType>
											 </element>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSPart">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="10"/>
												 <enumeration value="90"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBC">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <element name="pBCOp" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
										   <element name="UFST" type="{http://www.portalfiscal.inf.br/nfe}TUf"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSST">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="41"/>
												 <enumeration value="60"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
										   <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <element name="vBCSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="vICMSSTDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN101">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="101"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN102">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="102"/>
												 <enumeration value="103"/>
												 <enumeration value="300"/>
												 <enumeration value="400"/>
											   </restriction>
											 </simpleType>
										   </element>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN201">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="201"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN202">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="202"/>
												 <enumeration value="203"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="modBCST">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="0"/>
												 <enumeration value="1"/>
												 <enumeration value="2"/>
												 <enumeration value="3"/>
												 <enumeration value="4"/>
												 <enumeration value="5"/>
												 <enumeration value="6"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
										   <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										   <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <sequence minOccurs="0">
											 <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN500">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="500"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <sequence minOccurs="0">
											 <element name="vBCSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vICMSSubstituto" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
											 <element name="vICMSSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="vBCFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vFCPSTRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="pRedBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vBCEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											 <element name="vICMSEfet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
								 <element name="ICMSSN900">
								   <complexType>
									 <complexContent>
									   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
										 <sequence>
										   <element name="orig" type="{http://www.portalfiscal.inf.br/nfe}Torig" minOccurs="0"/>
										   <element name="CSOSN">
											 <simpleType>
											   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												 <whiteSpace value="preserve"/>
												 <enumeration value="900"/>
											   </restriction>
											 </simpleType>
										   </element>
										   <sequence minOccurs="0">
											 <element name="modBC">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												   <enumeration value="2"/>
												   <enumeration value="3"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pRedBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="pICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
											 <element name="vICMS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="modBCST">
											   <simpleType>
												 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
												   <whiteSpace value="preserve"/>
												   <enumeration value="0"/>
												   <enumeration value="1"/>
												   <enumeration value="2"/>
												   <enumeration value="3"/>
												   <enumeration value="4"/>
												   <enumeration value="5"/>
												   <enumeration value="6"/>
												 </restriction>
											   </simpleType>
											 </element>
											 <element name="pMVAST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="pRedBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc" minOccurs="0"/>
											 <element name="vBCST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <element name="pICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
											 <element name="vICMSST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 <sequence minOccurs="0">
											   <element name="vBCFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											   <element name="pFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04Opc"/>
											   <element name="vFCPST" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
											 </sequence>
										   </sequence>
										   <sequence minOccurs="0">
											 <element name="pCredSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
											 <element name="vCredICMSSN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   </sequence>
										 </sequence>
									   </restriction>
									 </complexContent>
								   </complexType>
								 </element>
							   </choice>
							 </restriction>
						   </complexContent>
						 </complexType>
					   </element>
					   <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
					   <element name="II" minOccurs="0">
						 <complexType>
						   <complexContent>
							 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							   <sequence>
								 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="vDespAdu" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="vII" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="vIOF" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							   </sequence>
							 </restriction>
						   </complexContent>
						 </complexType>
					   </element>
					 </sequence>
					 <sequence>
					   <element name="IPI" type="{http://www.portalfiscal.inf.br/nfe}TIpi" minOccurs="0"/>
					   <element name="ISSQN">
						 <complexType>
						   <complexContent>
							 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
							   <sequence>
								 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="vAliq" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
								 <element name="vISSQN" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="cMunFG" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE"/>
								 <element name="cListServ" type="{http://www.portalfiscal.inf.br/nfe}TCListServ"/>
								 <element name="vDeducao" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
								 <element name="vOutro" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
								 <element name="vDescIncond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
								 <element name="vDescCond" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
								 <element name="vISSRet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc" minOccurs="0"/>
								 <element name="indISS">
								   <simpleType>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									   <whiteSpace value="preserve"/>
									   <enumeration value="1"/>
									   <enumeration value="2"/>
									   <enumeration value="3"/>
									   <enumeration value="4"/>
									   <enumeration value="5"/>
									   <enumeration value="6"/>
									   <enumeration value="7"/>
									 </restriction>
								   </simpleType>
								 </element>
								 <element name="cServico" minOccurs="0">
								   <simpleType>
									 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									   <whiteSpace value="preserve"/>
									   <minLength value="1"/>
									   <maxLength value="20"/>
									 </restriction>
								   </simpleType>
								 </element>
								 <element name="cMun" type="{http://www.portalfiscal.inf.br/nfe}TCodMunIBGE" minOccurs="0"/>
								 <element name="cPais" minOccurs="0">
								   <simpleType>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									   <whiteSpace value="preserve"/>
									   <pattern value="[0-9]{1,4}"/>
									 </restriction>
								   </simpleType>
								 </element>
								 <element name="nProcesso" minOccurs="0">
								   <simpleType>
									 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
									   <whiteSpace value="preserve"/>
									   <minLength value="1"/>
									   <maxLength value="30"/>
									 </restriction>
								   </simpleType>
								 </element>
								 <element name="indIncentivo">
								   <simpleType>
									 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
									   <whiteSpace value="preserve"/>
									   <enumeration value="1"/>
									   <enumeration value="2"/>
									 </restriction>
								   </simpleType>
								 </element>
							   </sequence>
							 </restriction>
						   </complexContent>
						 </complexType>
					   </element>
					 </sequence>
				   </choice>
				   <element name="PIS" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <choice>
							 <element name="PISAliq">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="01"/>
											 <enumeration value="02"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									   <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
									   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="PISQtde">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="03"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
									   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
									   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="PISNT">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="04"/>
											 <enumeration value="05"/>
											 <enumeration value="06"/>
											 <enumeration value="07"/>
											 <enumeration value="08"/>
											 <enumeration value="09"/>
										   </restriction>
										 </simpleType>
									   </element>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="PISOutr">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="49"/>
											 <enumeration value="50"/>
											 <enumeration value="51"/>
											 <enumeration value="52"/>
											 <enumeration value="53"/>
											 <enumeration value="54"/>
											 <enumeration value="55"/>
											 <enumeration value="56"/>
											 <enumeration value="60"/>
											 <enumeration value="61"/>
											 <enumeration value="62"/>
											 <enumeration value="63"/>
											 <enumeration value="64"/>
											 <enumeration value="65"/>
											 <enumeration value="66"/>
											 <enumeration value="67"/>
											 <enumeration value="70"/>
											 <enumeration value="71"/>
											 <enumeration value="72"/>
											 <enumeration value="73"/>
											 <enumeration value="74"/>
											 <enumeration value="75"/>
											 <enumeration value="98"/>
											 <enumeration value="99"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <choice>
										 <sequence>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										 </sequence>
										 <sequence>
										   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
										   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
										 </sequence>
									   </choice>
									   <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
						   </choice>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="PISST" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <choice>
							   <sequence>
								 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302Opc"/>
								 <element name="pPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
							   </sequence>
							   <sequence>
								 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
								 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
							   </sequence>
							 </choice>
							 <element name="vPIS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							 <element name="indSomaPISST" minOccurs="0">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <enumeration value="0"/>
								   <enumeration value="1"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="COFINS" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <choice>
							 <element name="COFINSAliq">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="01"/>
											 <enumeration value="02"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									   <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
									   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="COFINSQtde">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <enumeration value="03"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
									   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
									   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="COFINSNT">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="04"/>
											 <enumeration value="05"/>
											 <enumeration value="06"/>
											 <enumeration value="07"/>
											 <enumeration value="08"/>
											 <enumeration value="09"/>
										   </restriction>
										 </simpleType>
									   </element>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
							 <element name="COFINSOutr">
							   <complexType>
								 <complexContent>
								   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
									 <sequence>
									   <element name="CST">
										 <simpleType>
										   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
											 <whiteSpace value="preserve"/>
											 <enumeration value="49"/>
											 <enumeration value="50"/>
											 <enumeration value="51"/>
											 <enumeration value="52"/>
											 <enumeration value="53"/>
											 <enumeration value="54"/>
											 <enumeration value="55"/>
											 <enumeration value="56"/>
											 <enumeration value="60"/>
											 <enumeration value="61"/>
											 <enumeration value="62"/>
											 <enumeration value="63"/>
											 <enumeration value="64"/>
											 <enumeration value="65"/>
											 <enumeration value="66"/>
											 <enumeration value="67"/>
											 <enumeration value="70"/>
											 <enumeration value="71"/>
											 <enumeration value="72"/>
											 <enumeration value="73"/>
											 <enumeration value="74"/>
											 <enumeration value="75"/>
											 <enumeration value="98"/>
											 <enumeration value="99"/>
										   </restriction>
										 </simpleType>
									   </element>
									   <choice>
										 <sequence>
										   <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
										   <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
										 </sequence>
										 <sequence>
										   <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204v"/>
										   <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104v"/>
										 </sequence>
									   </choice>
									   <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
									 </sequence>
								   </restriction>
								 </complexContent>
							   </complexType>
							 </element>
						   </choice>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="COFINSST" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <choice>
							   <sequence>
								 <element name="vBC" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
								 <element name="pCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
							   </sequence>
							   <sequence>
								 <element name="qBCProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1204"/>
								 <element name="vAliqProd" type="{http://www.portalfiscal.inf.br/nfe}TDec_1104"/>
							   </sequence>
							 </choice>
							 <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							 <element name="indSomaCOFINSST" minOccurs="0">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <enumeration value="0"/>
								   <enumeration value="1"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="ICMSUFDest" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="vBCUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							 <element name="vBCFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
							 <element name="pFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04" minOccurs="0"/>
							 <element name="pICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
							 <element name="pICMSInter">
							   <simpleType>
								 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
								   <whiteSpace value="preserve"/>
								   <enumeration value="4.00"/>
								   <enumeration value="7.00"/>
								   <enumeration value="12.00"/>
								 </restriction>
							   </simpleType>
							 </element>
							 <element name="pICMSInterPart" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302a04"/>
							 <element name="vFCPUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
							 <element name="vICMSUFDest" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
							 <element name="vICMSUFRemet" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="IS" type="{http://www.portalfiscal.inf.br/nfe}TIS" minOccurs="0"/>
				   <element name="IBSCBS" type="{http://www.portalfiscal.inf.br/nfe}TTribNFe" minOccurs="0"/>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="impostoDevol" minOccurs="0">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="pDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_0302Max100"/>
				   <element name="IPI">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="vIPIDevol" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302"/>
						   </sequence>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="infAdProd" minOccurs="0">
		   <simpleType>
			 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
			   <minLength value="1"/>
			   <maxLength value="500"/>
			 </restriction>
		   </simpleType>
		 </element>
		 <element name="obsItem" minOccurs="0">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="obsCont" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="xTexto">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="60"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						   <attribute name="xCampo" use="required">
							 <simpleType>
							   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								 <minLength value="1"/>
								 <maxLength value="20"/>
							   </restriction>
							 </simpleType>
						   </attribute>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				   <element name="obsFisco" minOccurs="0">
					 <complexType>
					   <complexContent>
						 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
						   <sequence>
							 <element name="xTexto">
							   <simpleType>
								 <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								   <minLength value="1"/>
								   <maxLength value="60"/>
								 </restriction>
							   </simpleType>
							 </element>
						   </sequence>
						   <attribute name="xCampo" use="required">
							 <simpleType>
							   <restriction base="{http://www.portalfiscal.inf.br/nfe}TString">
								 <minLength value="1"/>
								 <maxLength value="20"/>
							   </restriction>
							 </simpleType>
						   </attribute>
						 </restriction>
					   </complexContent>
					 </complexType>
				   </element>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
		 <element name="vItem" type="{http://www.portalfiscal.inf.br/nfe}TDec_1302" minOccurs="0"/>
		 <element name="DFeReferenciado" minOccurs="0">
		   <complexType>
			 <complexContent>
			   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
				 <sequence>
				   <element name="chaveAcesso" type="{http://www.portalfiscal.inf.br/nfe}TChNFe"/>
				   <element name="nItem" minOccurs="0">
					 <simpleType>
					   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
						 <whiteSpace value="preserve"/>
						 <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
					   </restriction>
					 </simpleType>
				   </element>
				 </sequence>
			   </restriction>
			 </complexContent>
		   </complexType>
		 </element>
	   </sequence>
	   <attribute name="nItem" use="required">
		 <simpleType>
		   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
			 <whiteSpace value="preserve"/>
			 <pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
		   </restriction>
		 </simpleType>
	   </attribute>
	 </restriction>
   </complexContent>
 </complexType>