Class TCTeOS

java.lang.Object
systextil.integracao.xml.cte.TCTeOS

public class TCTeOS extends Object
Tipo Conhecimento de Transporte Eletronico Outros Servicos (Modelo 67)

Classe Java de TCTeOS complex type.

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

 <complexType name="TCTeOS">
   <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
                 <element name="infCte">
                   <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}TModCTOS"/>
                                                         <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="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="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}TModTranspOS"/>
                                                         <element name="tpServ">
                                                           <simpleType>
                                                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                   <whiteSpace value="preserve"/>
                                                                   <enumeration value="6"/>
                                                                   <enumeration value="7"/>
                                                                   <enumeration value="8"/>
                                                                 </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>
                                                         <element name="cMunIni" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
                                                         <element name="xMunIni" minOccurs="0">
                                                           <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" minOccurs="0"/>
                                                         <element name="cMunFim" type="{http://www.portalfiscal.inf.br/cte}TCodMunIBGE" minOccurs="0"/>
                                                         <element name="xMunFim" minOccurs="0">
                                                           <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" minOccurs="0"/>
                                                         <element name="infPercurso" maxOccurs="25" minOccurs="0">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="UFPer" type="{http://www.portalfiscal.inf.br/cte}TUf"/>
                                                                         </sequence>
                                                                   </restriction>
                                                                 </complexContent>
                                                           </complexType>
                                                         </element>
                                                         <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="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="toma" 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="enderToma" 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="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}TImpOS"/>
                                                         <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>
                                                         <element name="infTribFed" minOccurs="0">
                                                           <complexType>
                                                                 <complexContent>
                                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                         <sequence>
                                                                           <element name="vPIS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                           <element name="vCOFINS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                           <element name="vIR" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                           <element name="vINSS" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                           <element name="vCSLL" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                         </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="infServico">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="xDescServ">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="30"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="infQ" minOccurs="0">
                                                                                   <complexType>
                                                                                         <complexContent>
                                                                                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                                                 <sequence>
                                                                                                   <element name="qCarga" type="{http://www.portalfiscal.inf.br/cte}TDec_1104"/>
                                                                                                 </sequence>
                                                                                           </restriction>
                                                                                         </complexContent>
                                                                                   </complexType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="infDocRef" maxOccurs="unbounded" minOccurs="0">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="nDoc">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="20"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="serie" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="3"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="subserie" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="3"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="dEmi" type="{http://www.portalfiscal.inf.br/cte}TData"/>
                                                                                 <element name="vDoc" type="{http://www.portalfiscal.inf.br/cte}TDec_1302" minOccurs="0"/>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="seg" maxOccurs="unbounded" minOccurs="0">
                                                                 <complexType>
                                                                   <complexContent>
                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                                           <sequence>
                                                                                 <element name="respSeg">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                                                           <whiteSpace value="preserve"/>
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="1"/>
                                                                                           <enumeration value="4"/>
                                                                                           <enumeration value="5"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="xSeg" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="30"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                                 <element name="nApol" minOccurs="0">
                                                                                   <simpleType>
                                                                                         <restriction base="{http://www.portalfiscal.inf.br/cte}TString">
                                                                                           <minLength value="1"/>
                                                                                           <maxLength value="20"/>
                                                                                         </restriction>
                                                                                   </simpleType>
                                                                                 </element>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="infModal" minOccurs="0">
                                                                 <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="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>
                                                                           </sequence>
                                                                         </restriction>
                                                                   </complexContent>
                                                                 </complexType>
                                                           </element>
                                                           <element name="refCTeCanc" minOccurs="0">
                                                                 <simpleType>
                                                                   <restriction base="{http://www.portalfiscal.inf.br/cte}TChNFe">
                                                                   </restriction>
                                                                 </simpleType>
                                                           </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>
                                                         </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>
                 </element>
                 <element name="infCTeSupl" minOccurs="0">
                   <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                 <sequence>
                                   <element name="qrCodCTe">
                                         <simpleType>
                                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                 <whiteSpace value="preserve"/>
                                                 <minLength value="50"/>
                                                 <maxLength value="1000"/>
                                                 <pattern value="((HTTPso|httpso)://.*\?chCTe=[0-9]{44}&tpAmb=[1-2](&sign=[!-y]{1}[ -y]{0,}[!-y]{1}|[!-y]{1})?)"/>
                                           </restriction>
                                         </simpleType>
                                   </element>
                                 </sequence>
                           </restriction>
                         </complexContent>
                   </complexType>
                 </element>
                 <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/>
           </sequence>
           <attribute name="versao" use="required">
                 <simpleType>
                   <restriction base="{http://www.portalfiscal.inf.br/cte}TVerCTe">
                   </restriction>
                 </simpleType>
           </attribute>
         </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • TCTeOS

      public TCTeOS()
  • Method Details

    • getInfCte

      public TCTeOS.InfCte getInfCte()
      Obtem o valor da propriedade infCte.
      Returns:
      possible object is TCTeOS.InfCte
    • setInfCte

      public void setInfCte(TCTeOS.InfCte value)
      Define o valor da propriedade infCte.
      Parameters:
      value - allowed object is TCTeOS.InfCte
    • getInfCTeSupl

      public TCTeOS.InfCTeSupl getInfCTeSupl()
      Obtem o valor da propriedade infCTeSupl.
      Returns:
      possible object is TCTeOS.InfCTeSupl
    • setInfCTeSupl

      public void setInfCTeSupl(TCTeOS.InfCTeSupl value)
      Define o valor da propriedade infCTeSupl.
      Parameters:
      value - allowed object is TCTeOS.InfCTeSupl
    • getSignature

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

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

      public String getVersao()
      Obtem o valor da propriedade versao.
      Returns:
      possible object is String
    • setVersao

      public void setVersao(String value)
      Define o valor da propriedade versao.
      Parameters:
      value - allowed object is String