<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2025 rel. 2 (x64) (https://www.altova.com) by PROCERGS (Procergs - Centro de Tecnologia da Informação e Comunicação do Estado do Rio Grande do Sul S.A.) -->
<xs:schema xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.portalfiscal.inf.br/bpe" targetNamespace="http://www.portalfiscal.inf.br/bpe" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
	<xs:include schemaLocation="tiposGeralBPe_v1.00.xsd"/>
	<xs:include schemaLocation="DFeTiposBasicos_v1.00.xsd"/>
	<xs:simpleType name="TTipoBPeTM">
		<xs:annotation>
			<xs:documentation>Tipo de BP-e Transporte Metropolitano</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:complexType name="TBPeTA">
		<xs:annotation>
			<xs:documentation>Tipo Bilhete de Passagem Eletrônico Transporte Aereo</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infBPe">
				<xs:annotation>
					<xs:documentation>Informações do BPe Aereo</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ide">
							<xs:annotation>
								<xs:documentation>Identificação do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cUF" type="TCodUfIBGE">
										<xs:annotation>
											<xs:documentation>Código da UF do emitente do BP-e</xs:documentation>
											<xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a
Tabela do IBGE de código de unidades da federação.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpAmb" type="TAmb">
										<xs:annotation>
											<xs:documentation>Tipo do Ambiente</xs:documentation>
											<xs:documentation>1 - Produção
2 - Homologação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="mod" type="TModBPe">
										<xs:annotation>
											<xs:documentation>Modelo do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Utilizar o código 63 para identificação do BP-e</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serie">
										<xs:annotation>
											<xs:documentation>Série do documento fiscal</xs:documentation>
											<xs:documentation>Informar a série do documento fiscal (informar zero se inexistente).</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TSerie"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="nBP" type="TNF">
										<xs:annotation>
											<xs:documentation>Número do bilhete de passagem</xs:documentation>
											<xs:documentation>Número que identifica o bilhete 1 a 999999999.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cBP">
										<xs:annotation>
											<xs:documentation>Código numérico que compõe a Chave de Acesso. </xs:documentation>
											<xs:documentation>Código aleatório gerado pelo emitente, com o objetivo de evitar acessos indevidos ao documento.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{8}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cDV">
										<xs:annotation>
											<xs:documentation>Digito verificador da chave de acesso</xs:documentation>
											<xs:documentation>Informar o dígito  de controle da chave de acesso do BP-e, que deve ser calculado com a aplicação do algoritmo módulo 11 (base 2,9) da chave de acesso. </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="modal">
										<xs:annotation>
											<xs:documentation>Modalidade de transporte</xs:documentation>
											<xs:documentation>2 - Aéreo</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhEmi" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de emissão do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpEmis">
										<xs:annotation>
											<xs:documentation>Forma de emissão do Bilhete (Normal ou Contingência Off-Line)</xs:documentation>
											<xs:documentation>1 - Normal
; 2 - Contingência Off-Line</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="verProc">
										<xs:annotation>
											<xs:documentation>Versão do processo de emissão</xs:documentation>
											<xs:documentation>Informar a versão do aplicativo emissor de BP-e.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpBPe">
										<xs:annotation>
											<xs:documentation>Tipo do BP-e</xs:documentation>
											<xs:documentation>0 - BP-e normal
3 - BP-e substituição</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TTipoBPe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpCompra">
										<xs:annotation>
											<xs:documentation>Tipo de compra do BPe Aereo</xs:documentation>
											<xs:documentation>0 - Normal 
1 - BPe múltiplo (fretamento)
2 - Vinculado a BPe multiplo
</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TTipoServ">
												<xs:whiteSpace value="preserve"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="indPres" type="TIndPres">
										<xs:annotation>
											<xs:documentation>Indicador de presença do comprador no estabelecimento comercial no momento da operação</xs:documentation>
											<xs:documentation>1=Operação presencial não embarcado;
2=Operação não presencial, pela Internet;
3=Operação não presencial, Teleatendimento;
4=BP-e em operação com entrega a domicílio;
5=Operação presencial embarcada;
9=Operação não presencial, outros.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="UFIni" type="TUf_sem_EX">
										<xs:annotation>
											<xs:documentation>Sigla da UF Início da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cMunIni" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do município do início da viagem</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="UFFim" type="TUf">
										<xs:annotation>
											<xs:documentation>Sigla da UF do Fim da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação.
Informar 'EX' para operações com o exterior.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cMunFim" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do município do fim da viagem</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informar apenas
para tpEmis diferente de 1</xs:documentation>
										</xs:annotation>
										<xs:element name="dhCont" type="TDateTimeUTC">
											<xs:annotation>
												<xs:documentation>Data e Hora da entrada em contingência</xs:documentation>
												<xs:documentation>Informar a data e hora no formato AAAA-MM-DDTHH:MM:SS</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="xJust">
											<xs:annotation>
												<xs:documentation>Justificativa da entrada em contingência</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="15"/>
													<xs:maxLength value="256"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:element name="nroBPIATA" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informação do número do bilhete de passagem conforme definido pela IATA</xs:documentation>
											<xs:documentation>Número que identifica o bilhete 1 a 999999999.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="gCompraGov" type="TCompraGovReduzido" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de Compras Governamentais</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="emit">
							<xs:annotation>
								<xs:documentation>Identificação do Emitente do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="CNPJ" type="TCnpj">
										<xs:annotation>
											<xs:documentation>CNPJ do emitente</xs:documentation>
											<xs:documentation>Informar zeros não significativos</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xFant" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Nome fantasia do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="CRT">
										<xs:annotation>
											<xs:documentation>Código de Regime Tributário. </xs:documentation>
											<xs:documentation>Este campo será obrigatoriamente preenchido com:
1 – Simples Nacional;
2 – Simples Nacional – excesso de sublimite de receita bruta;
3 – Regime Normal.
</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderEmit" type="TEndeEmi">
										<xs:annotation>
											<xs:documentation>Endereço do emitente</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ISUFEmit" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição do emitente da Suframa</xs:documentation>
											<xs:documentation>Informar o número do Cadastro do emitente na Suframa. Campo obrigatório nas operações que se beneficiam de incentivos fiscais existentes nas áreas sob controle da SUFRAMA com alíquota zero da CBS referente aos arts. 451 e 466 da LC 214/25 </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="8"/>
												<xs:maxLength value="9"/>
												<xs:whiteSpace value="preserve"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="comp" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação do Comprador do BP-e

Informar quando diferente do passageiro</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do comprador</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpjOpc">
											<xs:annotation>
												<xs:documentation>Número do CNPJ</xs:documentation>
												<xs:documentation>Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.
							Informar os zeros não significativos.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>Número do CPF</xs:documentation>
												<xs:documentation>Informar os zeros não significativos.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="idEstrangeiro">
											<xs:annotation>
												<xs:documentation>Identificador do comprador em caso de comprador estrangeiro</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:choice>
									<xs:element name="IE" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual</xs:documentation>
											<xs:documentation>Informar a IE do remetente ou ISENTO se remetente é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o remetente não seja contribuinte do ICMS não informar a tag.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIeDest"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderComp" type="TEndereco">
										<xs:annotation>
											<xs:documentation>Endereço do comprador</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="agencia" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação da agência/preposto/terceiro que comercializou o BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome da Agência</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="CNPJ" type="TCnpjOpc">
										<xs:annotation>
											<xs:documentation>Número do CNPJ</xs:documentation>
											<xs:documentation>Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.
							Informar os zeros não significativos.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="enderAgencia" type="TEndereco">
										<xs:annotation>
											<xs:documentation>Endereço da agência</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infBPeSub" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações dos BP-e de Substituição para remarcação e/ou transferência</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="chBPe" type="TChDFe">
										<xs:annotation>
											<xs:documentation>Chave do Bilhete de Passagem Substituido</xs:documentation>
											<xs:documentation>Informar os zeros não significativos.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpSub" type="TTipoSubstituicaoTA">
										<xs:annotation>
											<xs:documentation>Tipo de Substituição</xs:documentation>
											<xs:documentation>1 - Remarcação
2 - Transferência
3 - Transferência e Remarcação
4 – Erro de Tarifa
5 – Erro de Tributação
6 – Decisão judicial
7 – Erro Cadastral
9 - Outros 
</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infPassagem">
							<xs:annotation>
								<xs:documentation>Informações do detalhamento da Passagem</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="dhEmb" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de embarque</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dhValidade" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de validade do bilhete</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="infPassageiro" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações do passageiro</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="xNome">
													<xs:annotation>
														<xs:documentation>Nome do Passageiro</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="CPF" type="TCpf" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número do CPF</xs:documentation>
														<xs:documentation>Informar os zeros não significativos.</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="tpDoc" type="TDoc">
													<xs:annotation>
														<xs:documentation>Tipo do Documento de identificação</xs:documentation>
														<xs:documentation>1-RG
2-Título de Eleitor
3-Passaporte
4-CNH
5-Outros</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="nDoc">
													<xs:annotation>
														<xs:documentation>Número do Documento do passageiro</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="2"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xDoc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Descrição do tipo de documento "outros"</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="100"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="dNasc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Data de Nascimento</xs:documentation>
														<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TData"/>
													</xs:simpleType>
												</xs:element>
												<xs:element name="fone" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Telefone</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{7,12}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="email" type="TEmail" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Endereço de E-mail</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infViagem" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Grupo de informações da viagem do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="nroVoo">
										<xs:annotation>
											<xs:documentation>Código voo viagem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="SiglaCiaOperVoo">
										<xs:annotation>
											<xs:documentation>Sigla IATA da Companhia que opera o voo</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpViagem">
										<xs:annotation>
											<xs:documentation>Tipo de Viagem</xs:documentation>
											<xs:documentation>Informa o código do tipo da viagem 
00- Regular Doméstico;
01- Regular Internacional;
02- Não Regular Doméstico; e
03- Não Regular Internacional.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="00"/>
												<xs:enumeration value="01"/>
												<xs:enumeration value="02"/>
												<xs:enumeration value="03"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cAeroOrig">
										<xs:annotation>
											<xs:documentation>Código IATA do Aeroporto de origem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="3"/>
												<xs:maxLength value="4"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cAeroDest">
										<xs:annotation>
											<xs:documentation>Código IATA do Aeroporto de destino</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="3"/>
												<xs:maxLength value="4"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpServ">
										<xs:annotation>
											<xs:documentation>Tipo de Serviço</xs:documentation>
											<xs:documentation>Informar o código do tipo de serviço (12 - Comercial, 13 - Executivo)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="12"/>
												<xs:enumeration value="13"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpAcomodacao">
										<xs:annotation>
											<xs:documentation>Tipo de Acomodação</xs:documentation>
											<xs:documentation>Informar o código do tipo de acomodação (6-Comum, 7-Conforto)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="6"/>
												<xs:enumeration value="7"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpTrecho">
										<xs:annotation>
											<xs:documentation>Tipo de trecho da viagem</xs:documentation>
											<xs:documentation>Informar do tipo de trecho (1-Normal, 2-Trecho Inicial, 3-Conexão)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhViagem" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de referencia para a viagem</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dhConexao" type="TDateTimeUTC" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data e hora da conexão
Informar se tpTrecho = 3</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:choice>
							<xs:sequence>
								<xs:annotation>
									<xs:documentation>Informar quando BPe Normal ou Multiplo</xs:documentation>
								</xs:annotation>
								<xs:element name="infValorBPe">
									<xs:annotation>
										<xs:documentation>Informações dos valores do Bilhete de Passagem</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="vBP" type="TDec_1302">
												<xs:annotation>
													<xs:documentation>Valor do Bilhete de Passagem</xs:documentation>
													<xs:documentation>Pode conter zeros quando o BP-e for de complemento de ICMS</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="vDesconto" type="TDec_1302">
												<xs:annotation>
													<xs:documentation>Valor do desconto concedido ao comprador</xs:documentation>
													<xs:documentation>Indicar o valor total concedido em função dos benefícios concedidos ou política de desconto da empresa
Informar 0.00 em caso de passagem comercializada sem nenhum desconto</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="vPgto" type="TDec_1302">
												<xs:annotation>
													<xs:documentation>Valor pago pelo BP-e (vBP - vDesconto)</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="vTroco" type="TDec_1302">
												<xs:annotation>
													<xs:documentation>Valor do troco</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="tpDesconto" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Tipo de desconto/benefício para o BP-e</xs:documentation>
													<xs:documentation>03 - Crianças
09 - Profissional da Empresa  (empregados ou tripulantes da cia aérea)
10 - Programas de fidelidade (Milhagem);
11 - Acordos Corporativos
12- Acordos com Grupos de Passageiros;
13 - Acompanhante passageiro PNE
99 - Outros</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:whiteSpace value="preserve"/>
														<xs:enumeration value="03"/>
														<xs:enumeration value="09"/>
														<xs:enumeration value="10"/>
														<xs:enumeration value="11"/>
														<xs:enumeration value="12"/>
														<xs:enumeration value="13"/>
														<xs:enumeration value="99"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="xDesconto" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Descrição do tipo de desconto/benefício concedido</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="TString">
														<xs:maxLength value="100"/>
														<xs:minLength value="2"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="cDesconto" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Código do desconto quando informado com tipo 99 - Outros</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="TString">
														<xs:maxLength value="20"/>
														<xs:minLength value="2"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="Comp" maxOccurs="unbounded">
												<xs:annotation>
													<xs:documentation>Componentes do Valor do Bilhete</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="tpComp">
															<xs:annotation>
																<xs:documentation>Tipo do Componente</xs:documentation>
																<xs:documentation>01 - TARIFA; 
03 - TAXA EMBARQUE;
06 - BAGAGEM
07 - RESERVA DE ASSENTOS
08 - TRANSPORTE DE ANIMAIS
99 - OUTROS</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="xs:string">
																	<xs:whiteSpace value="preserve"/>
																	<xs:enumeration value="01"/>
																	<xs:enumeration value="03"/>
																	<xs:enumeration value="06"/>
																	<xs:enumeration value="07"/>
																	<xs:enumeration value="08"/>
																	<xs:enumeration value="99"/>
																</xs:restriction>
															</xs:simpleType>
														</xs:element>
														<xs:element name="vComp" type="TDec_1302">
															<xs:annotation>
																<xs:documentation>Valor do componente</xs:documentation>
															</xs:annotation>
														</xs:element>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
								<xs:element name="imp">
									<xs:annotation>
										<xs:documentation>Informações relativas aos Impostos</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="IBSCBS" type="TTribBPe">
												<xs:annotation>
													<xs:documentation>Grupo de informações do IBS e CBS</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="vINSSRet" type="TDec_1302" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Valor retido de contribuição previdenciária (informar apenas no Multiplo)</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Valor Total dos Tributos</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="infAdFisco" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
													<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="TString">
														<xs:maxLength value="2000"/>
														<xs:minLength value="1"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="vTotDFe" type="TDec_1302">
												<xs:annotation>
													<xs:documentation>Valor total do documento fiscal 
vBP+ total do IBS + total da CBS</xs:documentation>
												</xs:annotation>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
							<xs:element name="infBPeVinculado">
								<xs:annotation>
									<xs:documentation>Informações do Serviço Vinculado a BPe Multiplo</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="chBPeMultiplo" type="TChDFe">
											<xs:annotation>
												<xs:documentation>Chave de acesso do BPe Multiplo</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:choice>
						<xs:element name="pag" maxOccurs="10">
							<xs:annotation>
								<xs:documentation>Dados de Pagamento. </xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="tPag">
										<xs:annotation>
											<xs:documentation>Forma de Pagamento:01-Dinheiro;02-Cheque;03-Cartão de Crédito;04-Cartão de Débito;05-Vale Transportel;06 - PIX; 99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="01"/>
												<xs:enumeration value="02"/>
												<xs:enumeration value="03"/>
												<xs:enumeration value="04"/>
												<xs:enumeration value="05"/>
												<xs:enumeration value="06"/>
												<xs:enumeration value="99"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xPag" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Descrição da forma de pagamento 99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="100"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="nDocPag" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Número do documento ou carteira apresentada nas formas de pagamento diferentes de 03 e 04</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="20"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="vPag" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor do Pagamento</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="card" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de Cartões</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="tpIntegra">
													<xs:annotation>
														<xs:documentation>Tipo de Integração do processo de pagamento com o sistema de automação da empresa							1=Pagamento integrado com o sistema de automação da empresa Ex. equipamento TEF , Comercio Eletronico					2=Pagamento não integrado com o sistema de automação da empresa Ex: equipamento POS
</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="1"/>
															<xs:enumeration value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="CNPJ" type="TCnpj" minOccurs="0">
													<xs:annotation>
														<xs:documentation>CNPJ da credenciadora de cartão de crédito/débito</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="tBand" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Bandeira da operadora de cartão de crédito/débito</xs:documentation>
														<xs:documentation>01–Visa; 02–Mastercard; 03–American Express; 04–Sorocred; 05 - Elo; 06 - Diners; 99–Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="01"/>
															<xs:enumeration value="02"/>
															<xs:enumeration value="03"/>
															<xs:enumeration value="04"/>
															<xs:enumeration value="05"/>
															<xs:enumeration value="06"/>
															<xs:enumeration value="99"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xBand" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Descrição da operador de cartão para 99 - Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="100"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="cAut" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número de autorização da operação cartão de crédito/débito</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nsuTrans" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número sequencial único da transação</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nsuHost" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número sequencial único do Host</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nParcelas" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número de parcelas</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="3"/>
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{3}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="infAdCard" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Informações adicionais operacionais para integração do cartão de crédito</xs:documentation>
														<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="2000"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="pgtoVinc" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Grupo de informações da vínculação com a transação de pagamento</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="pgto" type="TPagamentoRTC" maxOccurs="99">
										<xs:annotation>
											<xs:documentation>Dados de cada pagamento previsto</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
							<xs:unique name="pk_nPagTA">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@nPag"/>
							</xs:unique>
							<xs:unique name="pk_idTransacaoTA">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@idTransacao"/>
							</xs:unique>
						</xs:element>
						<xs:element name="autXML" minOccurs="0" maxOccurs="10">
							<xs:annotation>
								<xs:documentation>Autorizados para download do XML do DF-e</xs:documentation>
								<xs:documentation>Informar CNPJ ou CPF. Preencher os zeros não significativos.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpj">
											<xs:annotation>
												<xs:documentation>CNPJ do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>CPF do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:choice>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infAdic" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações Adicionais</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="infAdFisco" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
											<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="2000"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="infCpl" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="5000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infRespTec" type="TRespTec" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações do Responsável Técnico pela emissão do DF-e</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="versao" type="TVerBPe" use="required">
						<xs:annotation>
							<xs:documentation>Versão do leiaute</xs:documentation>
							<xs:documentation>Ex: "3.00"</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="Id" use="required">
						<xs:annotation>
							<xs:documentation>Identificador da tag a ser assinada</xs:documentation>
							<xs:documentation>Informar a chave de acesso do BP-e e precedida do literal "BPe"</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:ID">
								<xs:pattern value="BPe[0-9]{6}[A-Z0-9]{12}[0-9]{26}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="infBPeSupl">
				<xs:annotation>
					<xs:documentation>Informações suplementares do BP-e</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="qrCodBPe">
							<xs:annotation>
								<xs:documentation>Texto com o QR-Code impresso no DABPE</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:minLength value="50"/>
									<xs:maxLength value="1000"/>
									<xs:pattern value="((HTTPS?|https?)://.*\?chBPe=[0-9]{6}[A-Z0-9]{12}[0-9]{26}&amp;tpAmb=[1-2](&amp;sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="ds:Signature"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TBPeTM">
		<xs:annotation>
			<xs:documentation>Tipo Bilhete de Passagem Eletrônico Transporte Metropolitano</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infBPe">
				<xs:annotation>
					<xs:documentation>Informações do BPeTM</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ide">
							<xs:annotation>
								<xs:documentation>Identificação do BPe TM</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cUF" type="TCodUfIBGE">
										<xs:annotation>
											<xs:documentation>Código da UF do emitente do BP-e</xs:documentation>
											<xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a
Tabela do IBGE de código de unidades da federação.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpAmb" type="TAmb">
										<xs:annotation>
											<xs:documentation>Tipo do Ambiente</xs:documentation>
											<xs:documentation>1 - Produção
2 - Homologação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="mod" type="TModBPe">
										<xs:annotation>
											<xs:documentation>Modelo do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Utilizar o código 63 para identificação do BP-e</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serie">
										<xs:annotation>
											<xs:documentation>Série do documento fiscal</xs:documentation>
											<xs:documentation>Informar a série do documento fiscal (informar zero se inexistente).</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TSerie"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="nBP" type="TNF">
										<xs:annotation>
											<xs:documentation>Número do bilhete de passagem</xs:documentation>
											<xs:documentation>Número que identifica o bilhete 1 a 999999999.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cBP">
										<xs:annotation>
											<xs:documentation>Código numérico que compõe a Chave de Acesso. </xs:documentation>
											<xs:documentation>Código aleatório gerado pelo emitente, com o objetivo de evitar acessos indevidos ao documento.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{8}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cDV">
										<xs:annotation>
											<xs:documentation>Digito verificador da chave de acesso</xs:documentation>
											<xs:documentation>Informar o dígito  de controle da chave de acesso do BP-e, que deve ser calculado com a aplicação do algoritmo módulo 11 (base 2,9) da chave de acesso. </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="modal">
										<xs:annotation>
											<xs:documentation>Modalidade de transporte</xs:documentation>
											<xs:documentation>1 - Rodoviário; 3 - Aquaviário; 4 - Ferroviário.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TModal"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhEmi" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de emissão do Bilhete de Passagem </xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dCompet" type="TData">
										<xs:annotation>
											<xs:documentation>Data da Competência a que se refere o Transporte Metropolitano</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpEmis">
										<xs:annotation>
											<xs:documentation>Forma de emissão do Bilhete (Normal ou Contingência Off-Line)</xs:documentation>
											<xs:documentation>1 - Normal
; 2 - Contingência Off-Line</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="verProc">
										<xs:annotation>
											<xs:documentation>Versão do processo de emissão</xs:documentation>
											<xs:documentation>Informar a versão do aplicativo emissor de BP-e.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpBPe" type="TTipoBPeTM">
										<xs:annotation>
											<xs:documentation>Tipo do BP-e</xs:documentation>
											<xs:documentation>4 - BP-e Transporte Metropolitano</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="CFOP" type="TCfop">
										<xs:annotation>
											<xs:documentation>Código Fiscal de Operações e Prestações</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informar apenas
para tpEmis diferente de 1</xs:documentation>
										</xs:annotation>
										<xs:element name="dhCont" type="TDateTimeUTC">
											<xs:annotation>
												<xs:documentation>Data e Hora da entrada em contingência</xs:documentation>
												<xs:documentation>Informar a data e hora no formato AAAA-MM-DDTHH:MM:SS</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="xJust">
											<xs:annotation>
												<xs:documentation>Justificativa da entrada em contingência</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="15"/>
													<xs:maxLength value="256"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:element name="gCompraGov" type="TCompraGovReduzido" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de Compras Governamentais</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="emit">
							<xs:annotation>
								<xs:documentation>Identificação do Emitente do BPe TM</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="CNPJ" type="TCnpj">
										<xs:annotation>
											<xs:documentation>CNPJ do emitente</xs:documentation>
											<xs:documentation>Informar zeros não significativos</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="IEST" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do Substituto Tributário</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xFant" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Nome fantasia do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de informações de interesse da Prefeitura</xs:documentation>
											<xs:documentation>Este campo deve ser informado, quando ocorrer a emissão de BP-e conjugado, com prestação de serviços sujeitos ao ISSQN.</xs:documentation>
										</xs:annotation>
										<xs:element name="IM">
											<xs:annotation>
												<xs:documentation>Inscrição Municipal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="1"/>
													<xs:maxLength value="15"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="CNAE">
											<xs:annotation>
												<xs:documentation>CNAE Fiscal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:pattern value="[0-9]{7}"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:element name="CRT">
										<xs:annotation>
											<xs:documentation>Código de Regime Tributário. </xs:documentation>
											<xs:documentation>Este campo será obrigatoriamente preenchido com:
1 – Simples Nacional;
2 – Simples Nacional – excesso de sublimite de receita bruta;
3 – Regime Normal.
</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderEmit" type="TEndeEmi">
										<xs:annotation>
											<xs:documentation>Endereço do emitente</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="TAR" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Termo de Autorização de Serviço Regular</xs:documentation>
											<xs:documentation>Registro obrigatório do emitente do BPe TM junto à Agência Reguladora Estadual ou ANTT.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="ISUFEmit" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição do emitente da Suframa</xs:documentation>
											<xs:documentation>Informar o número do Cadastro do emitente na Suframa. Campo obrigatório nas operações que se beneficiam de incentivos fiscais existentes nas áreas sob controle da SUFRAMA com alíquota zero da CBS referente aos arts. 451 e 466 da LC 214/25 </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="8"/>
												<xs:maxLength value="9"/>
												<xs:whiteSpace value="preserve"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="detBPeTM" maxOccurs="99">
							<xs:annotation>
								<xs:documentation>Grupo de informações detalhadas do BPe TM</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="UFIniViagem" type="TUf_sem_EX">
										<xs:annotation>
											<xs:documentation>Sigla da UF início da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="UFFimViagem" type="TUf_sem_EX" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Sigla da UF fim da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="placa" type="TPlaca" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Placa do coletivo</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="prefixo" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Prefixo da linha</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="det" maxOccurs="990">
										<xs:annotation>
											<xs:documentation>Datalhamento da viagem por trechos do BPeTM</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="cMunIni" type="TCodMunIBGE">
													<xs:annotation>
														<xs:documentation>Código do município do início da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="cMunFim" type="TCodMunIBGE" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Código do município do fim da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:sequence minOccurs="0">
													<xs:element name="nContInicio">
														<xs:annotation>
															<xs:documentation>Contador início da viagem</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:whiteSpace value="preserve"/>
																<xs:minLength value="1"/>
																<xs:maxLength value="20"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="nContFim">
														<xs:annotation>
															<xs:documentation>Contador fim da viagem</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:whiteSpace value="preserve"/>
																<xs:minLength value="1"/>
																<xs:maxLength value="20"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
												<xs:element name="qPass">
													<xs:annotation>
														<xs:documentation>Quantidade de Passagens da viagem</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="vBP" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor da soma dos Bilhetes de Passagem da viagem</xs:documentation>
														<xs:documentation>Pode conter zeros quando o BP-e for de complemento de ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="imp">
													<xs:annotation>
														<xs:documentation>Informações relativas aos Impostos</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:element name="ICMS" type="TImp">
																<xs:annotation>
																	<xs:documentation>Informações relativas ao ICMS</xs:documentation>
																	<xs:documentation/>
																</xs:annotation>
															</xs:element>
															<xs:element name="infAdFisco" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
																	<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:maxLength value="2000"/>
																		<xs:minLength value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="IBSCBS" type="TTribBPe" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Grupo de informações do IBS e CBS</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
												<xs:element name="Comp" maxOccurs="unbounded">
													<xs:annotation>
														<xs:documentation>Componentes da viagem</xs:documentation>
													</xs:annotation>
													<xs:complexType>
														<xs:sequence>
															<xs:element name="xNome">
																<xs:annotation>
																	<xs:documentation>Nome do componente</xs:documentation>
																	<xs:documentation>Exxemplos: ISENTOS, VT, CARTAO PRE-PAGO, IDOSOS</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="TString">
																		<xs:maxLength value="15"/>
																		<xs:minLength value="1"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
															<xs:element name="qComp">
																<xs:annotation>
																	<xs:documentation>Quantidade do componente</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:whiteSpace value="preserve"/>
																		<xs:pattern value="[0-9]{5}"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:element>
														</xs:sequence>
													</xs:complexType>
												</xs:element>
											</xs:sequence>
											<xs:attribute name="nViagem" use="required">
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:whiteSpace value="preserve"/>
														<xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:attribute>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
								<xs:attribute name="idEqpCont" use="required">
									<xs:annotation>
										<xs:documentation>Identificador do equipamento contador</xs:documentation>
									</xs:annotation>
									<xs:simpleType>
										<xs:restriction base="xs:string">
											<xs:whiteSpace value="preserve"/>
											<xs:pattern value="[1-9]{1}[0-9]{0,1}|[1-8]{1}[0-9]{2}|[9]{1}[0-8]{1}[0-9]{1}|[9]{1}[9]{1}[0]{1}"/>
										</xs:restriction>
									</xs:simpleType>
								</xs:attribute>
							</xs:complexType>
						</xs:element>
						<xs:element name="total">
							<xs:annotation>
								<xs:documentation>Informações dos totais do BPe TM</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="qPass">
										<xs:annotation>
											<xs:documentation>Quantidade total de passagens</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1,6}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="vBP" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor Total do Bilhete de Passagem Transporte Metropolitano</xs:documentation>
											<xs:documentation>Pode conter zeros quando o BP-e for de complemento de ICMS</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="ICMSTot">
										<xs:annotation>
											<xs:documentation>Totais referentes ao ICMS</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vBC" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>BC do ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vICMS" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor Total do ICMS</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="IBSCBSTot" type="TIBSCBSTot" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Totais do IBS e CBS</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vTotDFe" type="TDec_1302" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Valor total do documento fiscal 
(vBP + total do IBS + total da CBS) 
</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="pgtoVinc" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Grupo de informações da vínculação com a transação de pagamento</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="pgto" type="TPagamentoRTC" maxOccurs="99">
										<xs:annotation>
											<xs:documentation>Dados de cada pagamento previsto</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
							<xs:unique name="pk_nPagTM">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@nPag"/>
							</xs:unique>
							<xs:unique name="pk_idTransacaoTM">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@idTransacao"/>
							</xs:unique>
						</xs:element>
						<xs:element name="autXML" minOccurs="0" maxOccurs="10">
							<xs:annotation>
								<xs:documentation>Autorizados para download do XML do DF-e</xs:documentation>
								<xs:documentation>Informar CNPJ ou CPF. Preencher os zeros não significativos.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpj">
											<xs:annotation>
												<xs:documentation>CNPJ do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>CPF do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:choice>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infAdic" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações Adicionais</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="infAdFisco" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
											<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="2000"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="infCpl" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="5000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infRespTec" type="TRespTec" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações do Responsável Técnico pela emissão do DF-e</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="versao" type="TVerBPe" use="required">
						<xs:annotation>
							<xs:documentation>Versão do leiaute</xs:documentation>
							<xs:documentation>Ex: "3.00"</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="Id" use="required">
						<xs:annotation>
							<xs:documentation>Identificador da tag a ser assinada</xs:documentation>
							<xs:documentation>Informar a chave de acesso do BP-e e precedida do literal "BPe"</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:ID">
								<xs:pattern value="BPe[0-9]{6}[A-Z0-9]{12}[0-9]{26}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
				<xs:unique name="pk_idEqpCont">
					<xs:selector xpath="./*"/>
					<xs:field xpath="@idEqpCont"/>
				</xs:unique>
			</xs:element>
			<xs:element ref="ds:Signature"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TBPe">
		<xs:annotation>
			<xs:documentation>Tipo Bilhete de Passagem Eletrônico</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infBPe">
				<xs:annotation>
					<xs:documentation>Informações do BP-e</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ide">
							<xs:annotation>
								<xs:documentation>Identificação do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cUF" type="TCodUfIBGE">
										<xs:annotation>
											<xs:documentation>Código da UF do emitente do BP-e</xs:documentation>
											<xs:documentation>Código da UF do emitente do Documento Fiscal. Utilizar a
Tabela do IBGE de código de unidades da federação.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpAmb" type="TAmb">
										<xs:annotation>
											<xs:documentation>Tipo do Ambiente</xs:documentation>
											<xs:documentation>1 - Produção
2 - Homologação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="mod" type="TModBPe">
										<xs:annotation>
											<xs:documentation>Modelo do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Utilizar o código 63 para identificação do BP-e</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serie">
										<xs:annotation>
											<xs:documentation>Série do documento fiscal</xs:documentation>
											<xs:documentation>Informar a série do documento fiscal (informar zero se inexistente).</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TSerie"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="nBP" type="TNF">
										<xs:annotation>
											<xs:documentation>Número do bilhete de passagem</xs:documentation>
											<xs:documentation>Número que identifica o bilhete 1 a 999999999.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cBP">
										<xs:annotation>
											<xs:documentation>Código numérico que compõe a Chave de Acesso. </xs:documentation>
											<xs:documentation>Código aleatório gerado pelo emitente, com o objetivo de evitar acessos indevidos ao documento.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{8}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cDV">
										<xs:annotation>
											<xs:documentation>Digito verificador da chave de acesso</xs:documentation>
											<xs:documentation>Informar o dígito  de controle da chave de acesso do BP-e, que deve ser calculado com a aplicação do algoritmo módulo 11 (base 2,9) da chave de acesso. </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[0-9]{1}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="modal">
										<xs:annotation>
											<xs:documentation>Modalidade de transporte</xs:documentation>
											<xs:documentation>1 - Rodoviário; 3 - Aquaviário; 4 - Ferroviário.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TModal"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhEmi" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de emissão do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpEmis">
										<xs:annotation>
											<xs:documentation>Forma de emissão do Bilhete (Normal ou Contingência Off-Line)</xs:documentation>
											<xs:documentation>1 - Normal
; 2 - Contingência Off-Line</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="verProc">
										<xs:annotation>
											<xs:documentation>Versão do processo de emissão</xs:documentation>
											<xs:documentation>Informar a versão do aplicativo emissor de BP-e.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpBPe">
										<xs:annotation>
											<xs:documentation>Tipo do BP-e</xs:documentation>
											<xs:documentation>0 - BP-e normal 3 - BP-e substituição</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TTipoBPe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="indPres" type="TIndPres">
										<xs:annotation>
											<xs:documentation>Indicador de presença do comprador no estabelecimento comercial no momento da operação</xs:documentation>
											<xs:documentation>1=Operação presencial não embarcado;
2=Operação não presencial, pela Internet;
3=Operação não presencial, Teleatendimento;
4=BP-e em operação com entrega a domicílio;
5=Operação presencial embarcada;
9=Operação não presencial, outros.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="UFIni" type="TUf_sem_EX">
										<xs:annotation>
											<xs:documentation>Sigla da UF Início da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cMunIni" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do município do início da viagem</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="UFFim" type="TUf">
										<xs:annotation>
											<xs:documentation>Sigla da UF do Fim da Viagem</xs:documentation>
											<xs:documentation>Utilizar a Tabela do IBGE de código de unidades da federação.
Informar 'EX' para operações com o exterior.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cMunFim" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do município do fim da viagem</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informar apenas
para tpEmis diferente de 1</xs:documentation>
										</xs:annotation>
										<xs:element name="dhCont" type="TDateTimeUTC">
											<xs:annotation>
												<xs:documentation>Data e Hora da entrada em contingência</xs:documentation>
												<xs:documentation>Informar a data e hora no formato AAAA-MM-DDTHH:MM:SS</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="xJust">
											<xs:annotation>
												<xs:documentation>Justificativa da entrada em contingência</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="15"/>
													<xs:maxLength value="256"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:element name="gCompraGov" type="TCompraGovReduzido" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de Compras Governamentais</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="emit">
							<xs:annotation>
								<xs:documentation>Identificação do Emitente do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="CNPJ" type="TCnpj">
										<xs:annotation>
											<xs:documentation>CNPJ do emitente</xs:documentation>
											<xs:documentation>Informar zeros não significativos</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="IEST" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do Substituto Tributário</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xFant" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Nome fantasia do emitente</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de informações de interesse da Prefeitura</xs:documentation>
											<xs:documentation>Este campo deve ser informado, quando ocorrer a emissão de BP-e conjugado, com prestação de serviços sujeitos ao ISSQN.</xs:documentation>
										</xs:annotation>
										<xs:element name="IM">
											<xs:annotation>
												<xs:documentation>Inscrição Municipal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="1"/>
													<xs:maxLength value="15"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="CNAE">
											<xs:annotation>
												<xs:documentation>CNAE Fiscal</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:pattern value="[0-9]{7}"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:element name="CRT">
										<xs:annotation>
											<xs:documentation>Código de Regime Tributário. </xs:documentation>
											<xs:documentation>Este campo será obrigatoriamente preenchido com:
1 – Simples Nacional;
2 – Simples Nacional – excesso de sublimite de receita bruta;
3 – Regime Normal.
</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderEmit" type="TEndeEmi">
										<xs:annotation>
											<xs:documentation>Endereço do emitente</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="TAR" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Termo de Autorização de Serviço Regular</xs:documentation>
											<xs:documentation>Registro obrigatório do emitente do BP-e junto à ANTT para exercer a atividade		</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="ISUFEmit" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição do emitente da Suframa</xs:documentation>
											<xs:documentation>Informar o número do Cadastro do emitente na Suframa. Campo obrigatório nas operações que se beneficiam de incentivos fiscais existentes nas áreas sob controle da SUFRAMA com alíquota zero da CBS referente aos arts. 451 e 466 da LC 214/25 </xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="8"/>
												<xs:maxLength value="9"/>
												<xs:whiteSpace value="preserve"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="comp" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação do Comprador do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do comprador</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpjOpc">
											<xs:annotation>
												<xs:documentation>Número do CNPJ</xs:documentation>
												<xs:documentation>Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.
							Informar os zeros não significativos.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>Número do CPF</xs:documentation>
												<xs:documentation>Informar os zeros não significativos.</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="idEstrangeiro">
											<xs:annotation>
												<xs:documentation>Identificador do comprador em caso de comprador estrangeiro</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:pattern value="([!-ÿ]{0}|[!-ÿ]{5,20})?"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:choice>
									<xs:element name="IE" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual</xs:documentation>
											<xs:documentation>Informar a IE do remetente ou ISENTO se remetente é contribuinte do ICMS isento de inscrição no cadastro de contribuintes do ICMS. Caso o remetente não seja contribuinte do ICMS não informar a tag.</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIeDest"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="enderComp" type="TEndereco">
										<xs:annotation>
											<xs:documentation>Endereço do comprador</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="agencia" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Identificação da agência/preposto/terceiro que comercializou o BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome da Agência</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="CNPJ" type="TCnpjOpc">
										<xs:annotation>
											<xs:documentation>Número do CNPJ</xs:documentation>
											<xs:documentation>Em caso de empresa não estabelecida no Brasil, será informado o CNPJ com zeros.
							Informar os zeros não significativos.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="enderAgencia" type="TEndereco">
										<xs:annotation>
											<xs:documentation>Endereço da agência</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infBPeSub" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações dos BP-e de Substituição para remarcação e/ou transferência</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="chBPe" type="TChDFe">
										<xs:annotation>
											<xs:documentation>Chave do Bilhete de Passagem Substituido</xs:documentation>
											<xs:documentation>Informar os zeros não significativos.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpSub" type="TTipoSubstituicao">
										<xs:annotation>
											<xs:documentation>Tipo de Substituição</xs:documentation>
											<xs:documentation>1 - Remarcação


2 - Transferência

3 - Transferência e Remarcação</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infPassagem">
							<xs:annotation>
								<xs:documentation>Informações do detalhamento da Passagem</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cLocOrig">
										<xs:annotation>
											<xs:documentation>Código da Localidade de Origem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="7"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xLocOrig">
										<xs:annotation>
											<xs:documentation>Descrição da Localidade de Origem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cLocDest">
										<xs:annotation>
											<xs:documentation/>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="7"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xLocDest">
										<xs:annotation>
											<xs:documentation>Descrição da Localidade de Destino</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="60"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhEmb" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de embarque</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dhValidade" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de validade do bilhete</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="infPassageiro" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações do passageiro</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="xNome">
													<xs:annotation>
														<xs:documentation>Nome do Passageiro</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="60"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="CPF" type="TCpf" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número do CPF</xs:documentation>
														<xs:documentation>Informar os zeros não significativos.</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="tpDoc" type="TDoc">
													<xs:annotation>
														<xs:documentation>Tipo do Documento de identificação</xs:documentation>
														<xs:documentation>1-RG

2-Título de Eleitor

3-Passaporte

4-CNH
5-Outros</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="nDoc">
													<xs:annotation>
														<xs:documentation>Número do Documento do passageiro</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="2"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xDoc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Descrição do tipo de documento "outros"</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="100"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="dNasc" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Data de Nascimento</xs:documentation>
														<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TData"/>
													</xs:simpleType>
												</xs:element>
												<xs:element name="fone" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Telefone</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{7,12}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="email" type="TEmail" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Endereço de E-mail</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infViagem" maxOccurs="unbounded">
							<xs:annotation>
								<xs:documentation>Grupo de informações da viagem do BP-e</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cPercurso">
										<xs:annotation>
											<xs:documentation>Código do percurso da viagem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xPercurso">
										<xs:annotation>
											<xs:documentation>Descrição do Percurso da viagem</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="100"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpViagem">
										<xs:annotation>
											<xs:documentation>Tipo de Viagem</xs:documentation>
											<xs:documentation>Informa o código do tipo da viagem (00-regular, 01-extra)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="00"/>
												<xs:enumeration value="01"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpServ">
										<xs:annotation>
											<xs:documentation>Tipo de Serviço</xs:documentation>
											<xs:documentation>Informar o código do tipo de serviço (1-Convencional com sanitário, 2-Convencional sem sanitário, 3-Semileito, 4-Leito com ar condicionado, 5-Leito sem ar condicionado, 6-Executivo, 7-Semiurbano, 8-Longitudinal, 9-Travessia, 10-Cama, 11-Micro-onibus)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
												<xs:enumeration value="4"/>
												<xs:enumeration value="5"/>
												<xs:enumeration value="6"/>
												<xs:enumeration value="7"/>
												<xs:enumeration value="8"/>
												<xs:enumeration value="9"/>
												<xs:enumeration value="10"/>
												<xs:enumeration value="11"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpAcomodacao">
										<xs:annotation>
											<xs:documentation>Tipo de Acomodação</xs:documentation>
											<xs:documentation>Informar o código do tipo de acomodação (1-Assento/poltrona, 2-Rede, 3-Rede com ar-condicionado, 4-Cabine, 5-Outros)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
												<xs:enumeration value="4"/>
												<xs:enumeration value="5"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpTrecho">
										<xs:annotation>
											<xs:documentation>Tipo de trecho da viagem</xs:documentation>
											<xs:documentation>Informar do tipo de trecho (1-Normal, 2-Trecho Inicial, 3-Conexão)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
												<xs:enumeration value="2"/>
												<xs:enumeration value="3"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dhViagem" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de referencia para a viagem</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dhConexao" type="TDateTimeUTC" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data e hora da conexão
Informar se tpTrecho = 3</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="prefixo" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Prefixo da linha</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="poltrona" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Número da Poltrona / assento / cabine</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="3"/>
												<xs:pattern value="0|[1-9]{1}[0-9]{0,2}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="plataforma" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Plataforma/carro/barco de Embarque</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="10"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="infTravessia" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações do transporte aquaviário de travessia</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="tpVeiculo">
													<xs:annotation>
														<xs:documentation>Tipo do veículo transportado</xs:documentation>
														<xs:documentation>01-Motocicleta
02-Automóvel
03-Automóvel com reboque
04-Caminhonete
05-Caminhonete com reboque
06-Micro-onibus
07-Van
08-Ônibus - 2 ou 3 eixos
09-Ônibus 4 eixos
10-Caminhão 3/4
11-Caminhão toco
12-Caminhão Truck
13-Carreta
14-Bi-Trem
15-Rodo-Trem - 9 eixos
16-Romeu e Julieta - 7 eixos
17-Jamanta - 6 eixos
18-Jamanta - 5 eixos
19-Jamanta - 4 eixos
20-Trator de esteira
21-Pá mecânica
22-Patrol
23-Trator de Pneu Grande
24-Trator de Pneu com reboque
25-Trator de Pneu sem reboque
26-Carroça
27-Mobilete
28-Bicicleta
29-Passageiro
99-Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="01"/>
															<xs:enumeration value="02"/>
															<xs:enumeration value="03"/>
															<xs:enumeration value="04"/>
															<xs:enumeration value="05"/>
															<xs:enumeration value="06"/>
															<xs:enumeration value="07"/>
															<xs:enumeration value="08"/>
															<xs:enumeration value="09"/>
															<xs:enumeration value="10"/>
															<xs:enumeration value="11"/>
															<xs:enumeration value="12"/>
															<xs:enumeration value="13"/>
															<xs:enumeration value="14"/>
															<xs:enumeration value="15"/>
															<xs:enumeration value="16"/>
															<xs:enumeration value="17"/>
															<xs:enumeration value="18"/>
															<xs:enumeration value="19"/>
															<xs:enumeration value="20"/>
															<xs:enumeration value="21"/>
															<xs:enumeration value="22"/>
															<xs:enumeration value="23"/>
															<xs:enumeration value="24"/>
															<xs:enumeration value="25"/>
															<xs:enumeration value="26"/>
															<xs:enumeration value="27"/>
															<xs:enumeration value="28"/>
															<xs:enumeration value="29"/>
															<xs:enumeration value="99"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="sitVeiculo">
													<xs:annotation>
														<xs:documentation>Situação do veículo transportado</xs:documentation>
														<xs:documentation>01 - Vazio; 02 - Carregado; 03 - Não se aplica</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="1"/>
															<xs:enumeration value="2"/>
															<xs:enumeration value="3"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infValorBPe">
							<xs:annotation>
								<xs:documentation>Informações dos valores do Bilhete de Passagem</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="vBP" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor do Bilhete de Passagem</xs:documentation>
											<xs:documentation>Pode conter zeros quando o BP-e for de complemento de ICMS</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vDesconto" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor do desconto concedido ao comprador</xs:documentation>
											<xs:documentation>Indicar o valor total concedido em função dos benefícios concedidos ou política de desconto da empresa
Informar 0.00 em caso de passagem comercializada sem nenhum desconto</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vPgto" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor pago pelo BP-e (vBP - vDesconto)</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vTroco" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor do troco</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpDesconto" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Tipo de desconto/benefício para o BP-e</xs:documentation>
											<xs:documentation>01 - Tarifa promocional
02 - Idoso
03 - Criança
04 - Deficiente
05 - Estudante
06 - Animal Doméstico
07 - Acordo Coletivo
08 - Profissional em Deslocamento
09 - Profissional da Empresa
10 - Jovem 
11 - Idoso 50%

12 - Acompanhante PCD;

13 - Pessoa Obesa
99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="01"/>
												<xs:enumeration value="02"/>
												<xs:enumeration value="03"/>
												<xs:enumeration value="04"/>
												<xs:enumeration value="05"/>
												<xs:enumeration value="06"/>
												<xs:enumeration value="07"/>
												<xs:enumeration value="08"/>
												<xs:enumeration value="09"/>
												<xs:enumeration value="10"/>
												<xs:enumeration value="11"/>
												<xs:enumeration value="12"/>
												<xs:enumeration value="13"/>
												<xs:enumeration value="99"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xDesconto" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Descrição do tipo de desconto/benefício concedido</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="100"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="cDesconto" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Código do desconto quando informado com tipo 99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="20"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="Comp" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Componentes do Valor do Bilhete</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="tpComp">
													<xs:annotation>
														<xs:documentation>Tipo do Componente</xs:documentation>
														<xs:documentation>01 - TARIFA; 02 - PEDÁGIO;
03 - TAXA EMBARQUE;
04 - SEGURO;
05-TAXA DE MANUTENÇÃO RODOVIA (TMR); 06 - SERVIÇO DE VENDA INTEGRADA (SVI); 99 - OUTROS</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="01"/>
															<xs:enumeration value="02"/>
															<xs:enumeration value="03"/>
															<xs:enumeration value="04"/>
															<xs:enumeration value="05"/>
															<xs:enumeration value="06"/>
															<xs:enumeration value="99"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="vComp" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do componente</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="imp">
							<xs:annotation>
								<xs:documentation>Informações relativas aos Impostos</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="ICMS" type="TImp">
										<xs:annotation>
											<xs:documentation>Informações relativas ao ICMS</xs:documentation>
											<xs:documentation/>
										</xs:annotation>
									</xs:element>
									<xs:element name="vTotTrib" type="TDec_1302" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Valor Total dos Tributos</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="infAdFisco" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
											<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="2000"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="ICMSUFFim" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações do ICMS de partilha com a UF de término do serviço de transporte na operação interestadual</xs:documentation>
											<xs:documentation>Grupo a ser informado nas prestações interestaduais para consumidor final, não contribuinte do ICMS</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="vBCUFFim" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor da BC do ICMS na UF fim da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="pFCPUFFim" type="TDec_0302">
													<xs:annotation>
														<xs:documentation>Percentual do ICMS relativo ao Fundo de Combate à pobreza (FCP) na UF fim da viagem</xs:documentation>
														<xs:documentation>Alíquota adotada nas operações internas na UF do destinatário</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="pICMSUFFim" type="TDec_0302">
													<xs:annotation>
														<xs:documentation>Alíquota interna da UF fim da viagem</xs:documentation>
														<xs:documentation>Alíquota adotada nas operações internas na UF do destinatário</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="pICMSInter" type="TDec_0302">
													<xs:annotation>
														<xs:documentation>Alíquota interestadual das UF envolvidas</xs:documentation>
														<xs:documentation>Alíquota interestadual das UF envolvidas
</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vFCPUFFim" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do ICMS relativo ao Fundo de Combate á Pobreza (FCP) da UF fim da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vICMSUFFim" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do ICMS de partilha para a UF fim da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="vICMSUFIni" type="TDec_1302">
													<xs:annotation>
														<xs:documentation>Valor do ICMS de partilha para a UF início da viagem</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
									<xs:element name="IBSCBS" type="TTribBPe" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de informações do IBS e CBS</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="vTotDFe" type="TDec_1302" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Valor total do documento fiscal 
(vBP + total do IBS + total da CBS) 
</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="pag" maxOccurs="10">
							<xs:annotation>
								<xs:documentation>Dados de Pagamento. </xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="tPag">
										<xs:annotation>
											<xs:documentation>Forma de Pagamento:01-Dinheiro;02-Cheque;03-Cartão de Crédito;04-Cartão de Débito;05-Vale Transportel;06 - PIX; 99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="01"/>
												<xs:enumeration value="02"/>
												<xs:enumeration value="03"/>
												<xs:enumeration value="04"/>
												<xs:enumeration value="05"/>
												<xs:enumeration value="06"/>
												<xs:enumeration value="99"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="xPag" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Descrição da forma de pagamento 99 - Outros</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="100"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="nDocPag" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Número do documento ou carteira apresentada nas formas de pagamento diferentes de 03 e 04</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="20"/>
												<xs:minLength value="2"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="vPag" type="TDec_1302">
										<xs:annotation>
											<xs:documentation>Valor do Pagamento</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="card" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Grupo de Cartões</xs:documentation>
										</xs:annotation>
										<xs:complexType>
											<xs:sequence>
												<xs:element name="tpIntegra">
													<xs:annotation>
														<xs:documentation>Tipo de Integração do processo de pagamento com o sistema de automação da empresa							1=Pagamento integrado com o sistema de automação da empresa Ex. equipamento TEF , Comercio Eletronico					2=Pagamento não integrado com o sistema de automação da empresa Ex: equipamento POS
</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="1"/>
															<xs:enumeration value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="CNPJ" type="TCnpj" minOccurs="0">
													<xs:annotation>
														<xs:documentation>CNPJ da credenciadora de cartão de crédito/débito</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="tBand" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Bandeira da operadora de cartão de crédito/débito</xs:documentation>
														<xs:documentation>01–Visa; 02–Mastercard; 03–American Express; 04–Sorocred; 05 - Elo; 06 - Diners; 99–Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:whiteSpace value="preserve"/>
															<xs:enumeration value="01"/>
															<xs:enumeration value="02"/>
															<xs:enumeration value="03"/>
															<xs:enumeration value="04"/>
															<xs:enumeration value="05"/>
															<xs:enumeration value="06"/>
															<xs:enumeration value="99"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="xBand" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Descrição da operador de cartão para 99 - Outros</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="100"/>
															<xs:minLength value="2"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="cAut" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número de autorização da operação cartão de crédito/débito</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nsuTrans" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número sequencial único da transação</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nsuHost" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número sequencial único do Host</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="20"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="nParcelas" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Número de parcelas</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:minLength value="1"/>
															<xs:maxLength value="3"/>
															<xs:whiteSpace value="preserve"/>
															<xs:pattern value="[0-9]{3}"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="infAdCard" minOccurs="0">
													<xs:annotation>
														<xs:documentation>Informações adicionais operacionais para integração do cartão de crédito</xs:documentation>
														<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:maxLength value="2000"/>
															<xs:minLength value="1"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
										</xs:complexType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="pgtoVinc" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Grupo de informações da vínculação com a transação de pagamento</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="pgto" type="TPagamentoRTC" maxOccurs="99">
										<xs:annotation>
											<xs:documentation>Dados de cada pagamento previsto</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
							<xs:unique name="pk_nPag">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@nPag"/>
							</xs:unique>
							<xs:unique name="pk_idTransacao">
								<xs:selector xpath="./*"/>
								<xs:field xpath="@idTransacao"/>
							</xs:unique>
						</xs:element>
						<xs:element name="autXML" minOccurs="0" maxOccurs="10">
							<xs:annotation>
								<xs:documentation>Autorizados para download do XML do DF-e</xs:documentation>
								<xs:documentation>Informar CNPJ ou CPF. Preencher os zeros não significativos.</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:choice>
										<xs:element name="CNPJ" type="TCnpj">
											<xs:annotation>
												<xs:documentation>CNPJ do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="CPF" type="TCpf">
											<xs:annotation>
												<xs:documentation>CPF do autorizado</xs:documentation>
												<xs:documentation>Informar zeros não significativos</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:choice>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infAdic" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações Adicionais</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="infAdFisco" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações adicionais de interesse do Fisco</xs:documentation>
											<xs:documentation>Norma referenciada, informações complementares, etc</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:maxLength value="2000"/>
												<xs:minLength value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="infCpl" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Informações complementares de interesse do Contribuinte</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TString">
												<xs:minLength value="1"/>
												<xs:maxLength value="5000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="infRespTec" type="TRespTec" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Informações do Responsável Técnico pela emissão do DF-e</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="versao" type="TVerBPe" use="required">
						<xs:annotation>
							<xs:documentation>Versão do leiaute</xs:documentation>
							<xs:documentation>Ex: "3.00"</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					<xs:attribute name="Id" use="required">
						<xs:annotation>
							<xs:documentation>Identificador da tag a ser assinada</xs:documentation>
							<xs:documentation>Informar a chave de acesso do BP-e e precedida do literal "BPe"</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:ID">
								<xs:pattern value="BPe[0-9]{6}[A-Z0-9]{12}[0-9]{26}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
			</xs:element>
			<xs:element name="infBPeSupl">
				<xs:annotation>
					<xs:documentation>Informações suplementares do BP-e</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="qrCodBPe">
							<xs:annotation>
								<xs:documentation>Texto com o QR-Code impresso no DABPE</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:minLength value="50"/>
									<xs:maxLength value="1000"/>
									<xs:pattern value="((HTTPS?|https?)://.*\?chBPe=[0-9]{6}[A-Z0-9]{12}[0-9]{26}&amp;tpAmb=[1-2](&amp;sign=[!-ÿ]{1}[ -ÿ]{0,}[!-ÿ]{1}|[!-ÿ]{1})?)"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="boardPassBPe" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Texto contendo o boarding Pass impresso no DABPE (padrão PDF417)</xs:documentation>
								<xs:documentation>O boarding Pass poderá ser gerado no padrão PDF417 e impresso no DABPE opcionalmente pelo emitente para colocar informações operacionais do bilhete e/ou prestar informações para a agência reguladora do setor</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="TString">
									<xs:minLength value="50"/>
									<xs:maxLength value="1000"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="ds:Signature"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TEnviBPe">
		<xs:annotation>
			<xs:documentation>Tipo Pedido de Concessão de Autorização de BP-e</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idLote" type="TIdLote"/>
			<xs:element name="BPe" type="TBPe"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerBPe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TEndeEmi">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Endereço</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="xLgr">
				<xs:annotation>
					<xs:documentation>Logradouro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nro">
				<xs:annotation>
					<xs:documentation>Número</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xCpl" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Complemento</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xBairro">
				<xs:annotation>
					<xs:documentation>Bairro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cMun" type="TCodMunIBGE">
				<xs:annotation>
					<xs:documentation>Código do município (utilizar a tabela do IBGE)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMun">
				<xs:annotation>
					<xs:documentation>Nome do município</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CEP" minOccurs="0">
				<xs:annotation>
					<xs:documentation>CEP</xs:documentation>
					<xs:documentation>Informar zeros não significativos</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{8}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUf_sem_EX">
				<xs:annotation>
					<xs:documentation>Sigla da UF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="fone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefone</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{7,12}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="email" type="TEmail" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Endereço de E-mail</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TEndereco">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Endereço</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="xLgr">
				<xs:annotation>
					<xs:documentation>Logradouro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="255"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="nro">
				<xs:annotation>
					<xs:documentation>Número</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xCpl" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Complemento</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xBairro">
				<xs:annotation>
					<xs:documentation>Bairro</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="cMun" type="TCodMunIBGE">
				<xs:annotation>
					<xs:documentation>Código do município (utilizar a tabela do IBGE), informar 9999999 para operações com o exterior.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMun">
				<xs:annotation>
					<xs:documentation>Nome do município, informar EXTERIOR para operações com o exterior.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="CEP" minOccurs="0">
				<xs:annotation>
					<xs:documentation>CEP</xs:documentation>
					<xs:documentation>Informar os zeros não significativos</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{8}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="UF" type="TUf">
				<xs:annotation>
					<xs:documentation>Sigla da UF, informar EX para operações com o exterior.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cPais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Código do país</xs:documentation>
					<xs:documentation>Utilizar a tabela do BACEN</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{1,4}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="xPais" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Nome do país</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="1"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="fone" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefone</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{7,12}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="email" type="TEmail" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Endereço de E-mail</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="TProtBPe">
		<xs:annotation>
			<xs:documentation>Tipo Protocolo de status resultado do processamento do BP-e (Modelo 63)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infProt">
				<xs:annotation>
					<xs:documentation>Dados do protocolo de status</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="tpAmb" type="TAmb">
							<xs:annotation>
								<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="verAplic" type="TVerAplic">
							<xs:annotation>
								<xs:documentation>Versão do Aplicativo que processou o BP-e</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="chBPe" type="TChDFe">
							<xs:annotation>
								<xs:documentation>Chave de acesso do BP-e</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="dhRecbto" type="TDateTimeUTC">
							<xs:annotation>
								<xs:documentation>Data e hora de processamento, no formato AAAA-MM-DDTHH:MM:SS TZD.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="nProt" type="TProt" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Número do Protocolo de Status do BP-e.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="digVal" type="ds:DigestValueType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Digest Value do BP-e processado. Utilizado para conferir a integridade do BP-e original.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="cStat">
							<xs:annotation>
								<xs:documentation>Código do status do BP-e.</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="TStat"/>
							</xs:simpleType>
						</xs:element>
						<xs:element name="xMotivo" type="TMotivo">
							<xs:annotation>
								<xs:documentation>Descrição literal do status do BP-e.</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
					<xs:attribute name="Id" type="xs:ID" use="optional"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="infFisco" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Mensagem do Fisco</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="cMsg">
							<xs:annotation>
								<xs:documentation>Código do status da mensagem do fisco</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="TStat"/>
							</xs:simpleType>
						</xs:element>
						<xs:element name="xMsg" type="TMotivo">
							<xs:annotation>
								<xs:documentation>Mensagem do Fisco</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element ref="ds:Signature" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerBPe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TRetBPe">
		<xs:annotation>
			<xs:documentation>Tipo Retorno do Pedido de Autorização de BP-e (Modelo 63)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="tpAmb" type="TAmb">
				<xs:annotation>
					<xs:documentation>Identificação do Ambiente:
1 - Produção
2 - Homologação</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cUF" type="TCodUfIBGE">
				<xs:annotation>
					<xs:documentation>Identificação da UF</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="verAplic" type="TVerAplic">
				<xs:annotation>
					<xs:documentation>Versão do Aplicativo que processou o BP-e</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="cStat" type="TStat">
				<xs:annotation>
					<xs:documentation>código do status do retorno da consulta.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xMotivo" type="TMotivo">
				<xs:annotation>
					<xs:documentation>Descrição literal do status do do retorno da consulta.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="protBPe" type="TProtBPe" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Reposta ao processamento do BP-e</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerBPe" use="required"/>
	</xs:complexType>
	<xs:complexType name="TImp">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Imposto BP-e</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name="ICMS00">
				<xs:annotation>
					<xs:documentation>Prestação sujeito à tributação normal do ICMS</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CST">
							<xs:annotation>
								<xs:documentation>classificação Tributária do Serviço</xs:documentation>
								<xs:documentation>00 - tributação normal ICMS</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="00"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="vBC" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor da BC do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="pICMS" type="TDec_0302">
							<xs:annotation>
								<xs:documentation>Alíquota do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vICMS" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ICMS20">
				<xs:annotation>
					<xs:documentation>Prestação sujeito à tributação com redução de BC do ICMS</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CST">
							<xs:annotation>
								<xs:documentation>Classificação Tributária do serviço</xs:documentation>
								<xs:documentation>20 - tributação com BC reduzida do ICMS</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="20"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="pRedBC" type="TDec_0302Opc">
							<xs:annotation>
								<xs:documentation>Percentual de redução da BC</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vBC" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor da BC do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="pICMS" type="TDec_0302">
							<xs:annotation>
								<xs:documentation>Alíquota do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vICMS" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:sequence minOccurs="0">
							<xs:annotation>
								<xs:documentation>Sequencia XML</xs:documentation>
							</xs:annotation>
							<xs:element name="vICMSDeson" type="TDec_1302">
								<xs:annotation>
									<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="cBenef">
								<xs:annotation>
									<xs:documentation>Código de Benefício Fiscal na UF aplicado</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:whiteSpace value="preserve"/>
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ICMS45">
				<xs:annotation>
					<xs:documentation>ICMS  Isento, não Tributado ou diferido</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CST">
							<xs:annotation>
								<xs:documentation>Classificação Tributária do Serviço</xs:documentation>
								<xs:documentation>Preencher com:
								40 - ICMS isenção;
								41 - ICMS não tributada;
								51 - ICMS diferido</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="40"/>
									<xs:enumeration value="41"/>
									<xs:enumeration value="51"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:sequence minOccurs="0">
							<xs:annotation>
								<xs:documentation>Sequencia XML</xs:documentation>
							</xs:annotation>
							<xs:element name="vICMSDeson" type="TDec_1302">
								<xs:annotation>
									<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="cBenef">
								<xs:annotation>
									<xs:documentation>Código de Benefício Fiscal na UF aplicado</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:whiteSpace value="preserve"/>
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ICMS90">
				<xs:annotation>
					<xs:documentation>ICMS Outros</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CST">
							<xs:annotation>
								<xs:documentation>Classificação Tributária do Serviço</xs:documentation>
								<xs:documentation> 90 - ICMS outros</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="90"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="pRedBC" type="TDec_0302Opc" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Percentual de redução da BC</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vBC" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor da BC do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="pICMS" type="TDec_0302">
							<xs:annotation>
								<xs:documentation>Alíquota do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vICMS" type="TDec_1302">
							<xs:annotation>
								<xs:documentation>Valor do ICMS</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="vCred" type="TDec_1302" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Valor do Crédito Outorgado/Presumido</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:sequence minOccurs="0">
							<xs:annotation>
								<xs:documentation>Sequencia XML</xs:documentation>
							</xs:annotation>
							<xs:element name="vICMSDeson" type="TDec_1302">
								<xs:annotation>
									<xs:documentation>Valor do ICMS de desoneração</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="cBenef">
								<xs:annotation>
									<xs:documentation>Código de Benefício Fiscal na UF aplicado</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:whiteSpace value="preserve"/>
										<xs:maxLength value="10"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:element>
						</xs:sequence>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ICMSSN">
				<xs:annotation>
					<xs:documentation>Simples Nacional</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="CST">
							<xs:annotation>
								<xs:documentation>Classificação Tributária do Serviço</xs:documentation>
								<xs:documentation>90 - ICMS Simples Nacional</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="90"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
						<xs:element name="indSN">
							<xs:annotation>
								<xs:documentation>Indica se o contribuinte é Simples Nacional			1=Sim</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:string">
									<xs:whiteSpace value="preserve"/>
									<xs:enumeration value="1"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:choice>
	</xs:complexType>
	<xs:complexType name="TRespTec">
		<xs:annotation>
			<xs:documentation>Tipo Dados da Responsável Técnico</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="CNPJ" type="TCnpj">
				<xs:annotation>
					<xs:documentation>CNPJ da pessoa jurídica responsável técnica pelo sistema utilizado na emissão do documento fiscal eletrônico</xs:documentation>
					<xs:documentation>Informar o CNPJ da pessoa jurídica desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="xContato">
				<xs:annotation>
					<xs:documentation>Nome da pessoa a ser contatada</xs:documentation>
					<xs:documentation>Informar o nome da pessoa a ser contatada na empresa desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico. No caso de pessoa física, informar o respectivo nome.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="TString">
						<xs:maxLength value="60"/>
						<xs:minLength value="2"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="email" type="TEmail">
				<xs:annotation>
					<xs:documentation>Email da pessoa jurídica a ser contatada</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="fone">
				<xs:annotation>
					<xs:documentation>Telefone da pessoa jurídica a ser contatada</xs:documentation>
					<xs:documentation>Preencher com o Código DDD + número do telefone.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:whiteSpace value="preserve"/>
						<xs:pattern value="[0-9]{7,12}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:sequence minOccurs="0">
				<xs:element name="idCSRT">
					<xs:annotation>
						<xs:documentation>Identificador do código de segurança do responsável técnico</xs:documentation>
						<xs:documentation>Identificador do CSRT utilizado para geração do hash</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:string">
							<xs:pattern value="[0-9]{3}"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
				<xs:element name="hashCSRT">
					<xs:annotation>
						<xs:documentation>Hash do token do código de segurança do responsável técnico</xs:documentation>
						<xs:documentation>O hashCSRT é o resultado das funções SHA-1 e base64 do token CSRT fornecido pelo fisco + chave de acesso do DF-e. (Implementação em futura NT)


Observação: 28 caracteres são representados no schema como 20 bytes do tipo base64Binary</xs:documentation>
					</xs:annotation>
					<xs:simpleType>
						<xs:restriction base="xs:base64Binary">
							<xs:length value="20"/>
						</xs:restriction>
					</xs:simpleType>
				</xs:element>
			</xs:sequence>
		</xs:sequence>
	</xs:complexType>
	<xs:simpleType name="TProcEmi">
		<xs:annotation>
			<xs:documentation>Tipo processo de emissão do BP-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TIdLote">
		<xs:annotation>
			<xs:documentation>Tipo Identificador de controle do envio do lote. Número seqüencial auto-incremental, de controle correspondente ao identificador único do lote enviado. A responsabilidade de gerar e controlar esse número é do próprio contribuinte.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="[0-9]{1,15}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTipoServ">
		<xs:annotation>
			<xs:documentation>Tipo Serviço BPe Aereo</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TModal">
		<xs:annotation>
			<xs:documentation>Tipo Modal do BP-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TVerBPe">
		<xs:annotation>
			<xs:documentation> Tipo Versão do BP-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="1\.00"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTime">
		<xs:annotation>
			<xs:documentation> Tipo hora</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="(([0-1][0-9])|([2][0-3])):([0-5][0-9]):([0-5][0-9])"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TEmail">
		<xs:annotation>
			<xs:documentation>Tipo Email</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="60"/>
			<xs:pattern value="[^@]+@[^\.]+\..+"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TForPag">
		<xs:annotation>
			<xs:documentation>Tipo Forma de Pagamento</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="0"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTipoBPe">
		<xs:annotation>
			<xs:documentation>Tipo de BP-e</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTipoSubstituicaoTA">
		<xs:annotation>
			<xs:documentation>Tipo de Substituição</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
			<xs:enumeration value="6"/>
			<xs:enumeration value="7"/>
			<xs:enumeration value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTipoSubstituicao">
		<xs:annotation>
			<xs:documentation>Tipo de Substituição</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TTipoOper">
		<xs:annotation>
			<xs:documentation>Tipo de Operação</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TIndPres">
		<xs:annotation>
			<xs:documentation>Tipo de Indicador de Presença</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
			<xs:enumeration value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TDoc">
		<xs:annotation>
			<xs:documentation>Tipo de Documento de Identificação</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
			<xs:enumeration value="5"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TCfop">
		<xs:annotation>
			<xs:documentation>Tipo CFOP</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="[123567][0-9]([0-9][1-9]|[1-9][0-9])"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>