Class TCTe.InfCte

java.lang.Object
systextil.integracao.xml.cte.TCTe.InfCte
Enclosing class:
TCTe

public static class TCTe.InfCte 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="ide">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="cUF" type="{http://www.portalfiscal.inf.br/cte}TCodUfIBGE"/>
                                   <element name="cCT">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[0-9]{8}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="CFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
                                   <element name="natOp">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModCT"/>
                                   <element name="serie">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TSerie">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="nCT" type="{http://www.portalfiscal.inf.br/cte}TNF"/>
                                   <element name="dhEmi">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="tpImp">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <enumeration value="1"/>
                                                 <enumeration value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="tpEmis">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <enumeration value="1"/>
                                                 <enumeration value="4"/>
                                                 <enumeration value="5"/>
                                                 <enumeration value="7"/>
                                                 <enumeration value="8"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="cDV">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[0-9]{1}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="tpAmb" type="{http://www.portalfiscal.inf.br/cte}TAmb"/>
                                   <element name="tpCTe" type="{http://www.portalfiscal.inf.br/cte}TFinCTe"/>
                                   <element name="procEmi" type="{http://www.portalfiscal.inf.br/cte}TProcEmi"/>
                                   <element name="verProc">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="20"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="indGlobalizado" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <enumeration value="1"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="cMunEnv" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
                                   <element name="xMunEnv">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="2"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="UFEnv" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
                                   <element name="modal" type="{http://www.portalfiscal.inf.br/cte}TModTransp"/>
                                   <element name="tpServ">
                                         <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"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
                                   <element name="xMunIni">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="2"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="UFIni" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
                                   <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE"/>
                                   <element name="xMunFim">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="2"/>
                                                 <maxLength value="60"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="UFFim" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
                                   <element name="retira">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <enumeration value="0"/>
                                                 <enumeration value="1"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xDetRetira" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="160"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="indIEToma">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <enumeration value="1"/>
                                                 <enumeration value="2"/>
                                                 <enumeration value="9"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <choice>
                                         <element name="toma3">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="toma">
                                                                 <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>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="toma4">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="toma">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <whiteSpace value="preserve"/>
                                                                         <enumeration value="4"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <choice>
                                                                 <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                                                 <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                                           </choice>
                                                           <element name="IE" minOccurs="0">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <sequence>
                                                                 <element name="xNome">
                                                                   <simpleType>
                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                           <maxLength value="60"/>
                                                                           <minLength value="2"/>
                                                                         </restriction>
                                                                   </simpleType>
                                                                 </element>
                                                                 <element name="xFant" minOccurs="0">
                                                                   <simpleType>
                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                           <maxLength value="60"/>
                                                                           <minLength value="2"/>
                                                                         </restriction>
                                                                   </simpleType>
                                                                 </element>
                                                                 <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
                                                                 <element name="enderToma" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
                                                                 <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
                                                           </sequence>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                   </choice>
                                   <sequence minOccurs="0">
                                         <element name="dhCont" type="{http://www.portalfiscal.inf.br/cte}TDateTimeUTC"/>
                                         <element name="xJust">
                                           <simpleType>
                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                   <minLength value="15"/>
                                                   <maxLength value="256"/>
                                                 </restriction>
                                           </simpleType>
                                         </element>
                                   </sequence>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="compl" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="xCaracAd" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="15"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xCaracSer" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="30"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xEmi" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="20"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="fluxo" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="xOrig" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="60"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="pass" maxOccurs="unbounded" minOccurs="0">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="xPass" minOccurs="0">
                                                                                 <simpleType>
                                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                         <minLength value="1"/>
                                                                                         <maxLength value="15"/>
                                                                                   </restriction>
                                                                                 </simpleType>
                                                                           </element>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                         <element name="xDest" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="60"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="xRota" minOccurs="0">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="10"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="Entrega" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <choice>
                                                           <element name="semData">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpPer">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <enumeration value="0"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="comData">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpPer">
                                                                                   <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="dProg" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="noPeriodo">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpPer">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <enumeration value="4"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="dIni" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                                 <element name="dFim" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </choice>
                                                         <choice>
                                                           <element name="semHora">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpHor">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <enumeration value="0"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="comHora">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpHor">
                                                                                   <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="hProg" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="noInter">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="tpHor">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <enumeration value="4"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="hIni" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
                                                                                 <element name="hFim" type="{http://www.portalfiscal.inf.br/cte}TTime"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </choice>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="origCalc" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="2"/>
                                                 <maxLength value="40"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="destCalc" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="2"/>
                                                 <maxLength value="40"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xObs" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <minLength value="1"/>
                                                 <maxLength value="2000"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="ObsCont" maxOccurs="10" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="xTexto">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="160"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                   </sequence>
                                                   <attribute name="xCampo" use="required">
                                                         <simpleType>
                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                 <minLength value="1"/>
                                                                 <maxLength value="20"/>
                                                           </restriction>
                                                         </simpleType>
                                                   </attribute>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                   <element name="ObsFisco" maxOccurs="10" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="xTexto">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <minLength value="1"/>
                                                                   <maxLength value="60"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                   </sequence>
                                                   <attribute name="xCampo" use="required">
                                                         <simpleType>
                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                 <minLength value="1"/>
                                                                 <maxLength value="20"/>
                                                           </restriction>
                                                         </simpleType>
                                                   </attribute>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="emit">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
                                   <element name="IE">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="IEST" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIe">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xNome">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xFant" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="enderEmit" type="{http://www.portalfiscal.inf.br/cte}TEndeEmi"/>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="rem" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                   </choice>
                                   <element name="IE" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xNome">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xFant" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
                                   <element name="enderReme" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
                                   <element name="email" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TEmail">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="exped" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                   </choice>
                                   <element name="IE" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xNome">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
                                   <element name="enderExped" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
                                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="receb" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                   </choice>
                                   <element name="IE" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xNome">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
                                   <element name="enderReceb" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
                                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="dest" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                   </choice>
                                   <element name="IE" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TIeDest">
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="xNome">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="60"/>
                                                 <minLength value="2"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="fone" type="{http://www.portalfiscal.inf.br/cte}TFone" minOccurs="0"/>
                                   <element name="ISUF" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <pattern value="[0-9]{8,9}"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="enderDest" type="{http://www.portalfiscal.inf.br/cte}TEndereco"/>
                                   <element name="email" type="{http://www.portalfiscal.inf.br/cte}TEmail" minOccurs="0"/>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="vPrest">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="vTPrest" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                   <element name="vRec" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                   <element name="Comp" maxOccurs="unbounded" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="xNome">
                                                           <simpleType>
                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                   <maxLength value="15"/>
                                                                   <minLength value="1"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </element>
                                                         <element name="vComp" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="imp">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="ICMS" type="{http://www.portalfiscal.inf.br/cte}TImp"/>
                                   <element name="vTotTrib" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                   <element name="infAdFisco" minOccurs="0">
                                         <simpleType>
                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                 <maxLength value="2000"/>
                                                 <minLength value="1"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                   <element name="ICMSUFFim" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                   <sequence>
                                                         <element name="vBCUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                         <element name="pFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
                                                         <element name="pICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
                                                         <element name="pICMSInter" type="{http://www.portalfiscal.inf.br/cte}TDec_0302"/>
                                                         <element name="vFCPUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                         <element name="vICMSUFFim" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                         <element name="vICMSUFIni" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                   </sequence>
                                                 </restriction>
                                           </complexContent>
                                         </complexType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <choice>
                   <element name="infCTeNorm">
                         <complexType>
                           <complexContent>
                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                   <sequence>
                                         <element name="infCarga">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="vCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                           <element name="proPred">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="60"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="xOutCat" minOccurs="0">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="30"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="infQ" maxOccurs="unbounded">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="cUnid">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <enumeration value="00"/>
                                                                                           <enumeration value="01"/>
                                                                                           <enumeration value="02"/>
                                                                                           <enumeration value="03"/>
                                                                                           <enumeration value="04"/>
                                                                                           <enumeration value="05"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="tpMed">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="20"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="vCargaAverb" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="infDoc" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <choice>
                                                                 <element name="infNF" maxOccurs="unbounded">
                                                                   <complexType>
                                                                         <complexContent>
                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                 <sequence>
                                                                                   <element name="nRoma" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="20"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="nPed" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="20"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModNF"/>
                                                                                   <element name="serie">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="3"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="nDoc">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="20"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                                   <element name="vBC" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="vICMS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="vBCST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="vST" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="vProd" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="vNF" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                   <element name="nCFOP" type="{http://www.portalfiscal.inf.br/cte}TCfop"/>
                                                                                   <element name="nPeso" type="{http://www.portalfiscal.inf.br/cte}TDec_1203Opc" minOccurs="0"/>
                                                                                   <element name="PIN" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                 <whiteSpace value="preserve"/>
                                                                                                 <minLength value="2"/>
                                                                                                 <maxLength value="9"/>
                                                                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
                                                                                   <choice>
                                                                                         <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
                                                                                         <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
                                                                                   </choice>
                                                                                 </sequence>
                                                                           </restriction>
                                                                         </complexContent>
                                                                   </complexType>
                                                                 </element>
                                                                 <element name="infNFe" maxOccurs="unbounded">
                                                                   <complexType>
                                                                         <complexContent>
                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                 <sequence>
                                                                                   <element name="chave" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                                                                   <element name="PIN" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                 <whiteSpace value="preserve"/>
                                                                                                 <minLength value="2"/>
                                                                                                 <maxLength value="9"/>
                                                                                                 <pattern value="[1-9]{1}[0-9]{1,8}"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
                                                                                   <choice>
                                                                                         <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
                                                                                         <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
                                                                                   </choice>
                                                                                 </sequence>
                                                                           </restriction>
                                                                         </complexContent>
                                                                   </complexType>
                                                                 </element>
                                                                 <element name="infOutros" maxOccurs="unbounded">
                                                                   <complexType>
                                                                         <complexContent>
                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                 <sequence>
                                                                                   <element name="tpDoc">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                 <whiteSpace value="preserve"/>
                                                                                                 <enumeration value="00"/>
                                                                                                 <enumeration value="10"/>
                                                                                                 <enumeration value="59"/>
                                                                                                 <enumeration value="65"/>
                                                                                                 <enumeration value="99"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="descOutros" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="100"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="nDoc" minOccurs="0">
                                                                                         <simpleType>
                                                                                           <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                 <minLength value="1"/>
                                                                                                 <maxLength value="20"/>
                                                                                           </restriction>
                                                                                         </simpleType>
                                                                                   </element>
                                                                                   <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
                                                                                   <element name="vDocFisc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                                                   <element name="dPrev" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
                                                                                   <choice>
                                                                                         <element name="infUnidCarga" type="{http://www.portalfiscal.inf.br/cte}TUnidCarga" maxOccurs="unbounded" minOccurs="0"/>
                                                                                         <element name="infUnidTransp" type="{http://www.portalfiscal.inf.br/cte}TUnidadeTransp" maxOccurs="unbounded" minOccurs="0"/>
                                                                                   </choice>
                                                                                 </sequence>
                                                                           </restriction>
                                                                         </complexContent>
                                                                   </complexType>
                                                                 </element>
                                                           </choice>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="docAnt" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="emiDocAnt" maxOccurs="unbounded">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <choice>
                                                                                   <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpjOpc"/>
                                                                                   <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                                                                 </choice>
                                                                                 <sequence minOccurs="0">
                                                                                   <element name="IE" type="{http://www.portalfiscal.inf.br/cte}TIe"/>
                                                                                   <element name="UF" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
                                                                                 </sequence>
                                                                                 <element name="xNome">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <maxLength value="60"/>
                                                                                           <minLength value="1"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="idDocAnt" maxOccurs="2">
                                                                                   <complexType>
                                                                                         <complexContent>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                 <choice>
                                                                                                   <element name="idDocAntPap" maxOccurs="unbounded">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="tpDoc">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TDocAssoc">
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="serie">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="3"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="subser" minOccurs="0">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="2"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="nDoc">
                                                                                                                           <simpleType>
                                                                                                                                 <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                                                                   <minLength value="1"/>
                                                                                                                                   <maxLength value="30"/>
                                                                                                                                 </restriction>
                                                                                                                           </simpleType>
                                                                                                                         </element>
                                                                                                                         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                   <element name="idDocAntEle" maxOccurs="unbounded">
                                                                                                         <complexType>
                                                                                                           <complexContent>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                                   <sequence>
                                                                                                                         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                                                                                                   </sequence>
                                                                                                                 </restriction>
                                                                                                           </complexContent>
                                                                                                         </complexType>
                                                                                                   </element>
                                                                                                 </choice>
                                                                                           </restriction>
                                                                                         </complexContent>
                                                                                   </complexType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="infModal">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <any processContents='skip'/>
                                                         </sequence>
                                                         <attribute name="versaoModal" use="required">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <pattern value="3\.(0[0-9]|[1-9][0-9])"/>
                                                                 </restriction>
                                                           </simpleType>
                                                         </attribute>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="veicNovos" maxOccurs="unbounded" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="chassi">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <whiteSpace value="preserve"/>
                                                                         <length value="17"/>
                                                                         <pattern value="[A-Z0-9]+"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="cCor">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="4"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="xCor">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="40"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="cMod">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="1"/>
                                                                         <maxLength value="6"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <element name="vUnit" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                           <element name="vFrete" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="cobr" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="fat" minOccurs="0">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="nFat" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="60"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="vOrig" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                                                 <element name="vDesc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                                                 <element name="vLiq" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="dup" maxOccurs="unbounded" minOccurs="0">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="nDup" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <maxLength value="60"/>
                                                                                           <minLength value="1"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="dVenc" type="{http://www.portalfiscal.inf.br/cte}TData" minOccurs="0"/>
                                                                                 <element name="vDup" type="{http://www.portalfiscal.inf.br/cte}TDec_1302Opc" minOccurs="0"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="infCteSub" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="chCte">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <pattern value="[0-9]{44}"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                           <choice>
                                                                 <element name="refCteAnu">
                                                                   <simpleType>
                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TChNFe">
                                                                         </restriction>
                                                                   </simpleType>
                                                                 </element>
                                                                 <element name="tomaICMS">
                                                                   <complexType>
                                                                         <complexContent>
                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                 <choice>
                                                                                   <element name="refNFe" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                                                                   <element name="refNF">
                                                                                         <complexType>
                                                                                           <complexContent>
                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                   <sequence>
                                                                                                         <choice>
                                                                                                           <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
                                                                                                           <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                                                                                         </choice>
                                                                                                         <element name="mod" type="{http://www.portalfiscal.inf.br/cte}TModDoc"/>
                                                                                                         <element name="serie" type="{http://www.portalfiscal.inf.br/cte}TSerie"/>
                                                                                                         <element name="subserie" type="{http://www.portalfiscal.inf.br/cte}TSerie" minOccurs="0"/>
                                                                                                         <element name="nro">
                                                                                                           <simpleType>
                                                                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                                                   <whiteSpace value="preserve"/>
                                                                                                                   <pattern value="[0-9]{1,6}"/>
                                                                                                                 </restriction>
                                                                                                           </simpleType>
                                                                                                         </element>
                                                                                                         <element name="valor" type="{http://www.portalfiscal.inf.br/cte}TDec_1302"/>
                                                                                                         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                                                   </sequence>
                                                                                                 </restriction>
                                                                                           </complexContent>
                                                                                         </complexType>
                                                                                   </element>
                                                                                   <element name="refCte" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                                                                 </choice>
                                                                           </restriction>
                                                                         </complexContent>
                                                                   </complexType>
                                                                 </element>
                                                           </choice>
                                                           <element name="indAlteraToma" minOccurs="0">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                         <enumeration value="1"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="infGlobalizado" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="xObs">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                         <minLength value="15"/>
                                                                         <maxLength value="256"/>
                                                                   </restriction>
                                                                 </simpleType>
                                                           </element>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                         <element name="infServVinc" minOccurs="0">
                                           <complexType>
                                                 <complexContent>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <sequence>
                                                           <element name="infCTeMultimodal" maxOccurs="unbounded">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="chCTeMultimodal" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                         </sequence>
                                                   </restriction>
                                                 </complexContent>
                                           </complexType>
                                         </element>
                                   </sequence>
                                 </restriction>
                           </complexContent>
                         </complexType>
                   </element>
                   <element name="infCteComp">
                         <complexType>
                           <complexContent>
                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                   <sequence>
                                         <element name="chCTe" type="{http://www.portalfiscal.inf.br/cte}TChNFe"/>
                                   </sequence>
                                 </restriction>
                           </complexContent>
                         </complexType>
                   </element>
                   <element name="infCteAnu">
                         <complexType>
                           <complexContent>
                                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                   <sequence>
                                         <element name="chCte">
                                           <simpleType>
                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                   <pattern value="[0-9]{44}"/>
                                                 </restriction>
                                           </simpleType>
                                         </element>
                                         <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                   </sequence>
                                 </restriction>
                           </complexContent>
                         </complexType>
                   </element>
                 </choice>
                 <element name="autXML" maxOccurs="10" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <choice>
                                         <element name="CNPJ" type="{http://www.portalfiscal.inf.br/cte}TCnpj"/>
                                         <element name="CPF" type="{http://www.portalfiscal.inf.br/cte}TCpf"/>
                                   </choice>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element name="infRespTec" type="{http://www.portalfiscal.inf.br/cte}TRespTec" minOccurs="0"/>
           </sequence>
           <attribute name="versao" use="required">
                 <simpleType>
                   <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
                   </restriction>
                 </simpleType>
           </attribute>
           <attribute name="Id" use="required">
                 <simpleType>
                   <restriction base="{http://www.w3.org/2001/XMLSchema}ID">
                         <pattern value="CTe[0-9]{44}"/>
                   </restriction>
                 </simpleType>
           </attribute>
         </restriction>
   </complexContent>
 </complexType>