<?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/nfcom" targetNamespace="http://www.portalfiscal.inf.br/nfcom" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
	<xs:include schemaLocation="tiposGeralNFCom_v1.00.xsd"/>
	<xs:include schemaLocation="DFeTiposBasicos_v1.00.xsd"/>
	<xs:complexType name="TNFCom">
		<xs:annotation>
			<xs:documentation>Tipo Nota Fiscal Fatura de Comunicação</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="infNFCom">
				<xs:annotation>
					<xs:documentation>Informações da NFCom</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="ide">
							<xs:annotation>
								<xs:documentation>Identificação da NFCom</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="cUF" type="TCodUfIBGE">
										<xs:annotation>
											<xs:documentation>Código da UF de emissão e autorização da NFCom</xs:documentation>
											<xs:documentation>Código da UF de emissão e autorização 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="TModNFCom">
										<xs:annotation>
											<xs:documentation>Modelo da NFCom</xs:documentation>
											<xs:documentation>Utilizar o código 62 para identificação da NFCom</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="serie" type="TSerie">
										<xs:annotation>
											<xs:documentation>Série do documento fiscal</xs:documentation>
											<xs:documentation>Informar a série do documento fiscal (informar zero para série única).</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="nNF" type="TNF">
										<xs:annotation>
											<xs:documentation>Número do documento fiscal</xs:documentation>
											<xs:documentation>Número que identifica o documento fiscal 1 a 999999999.</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="cNF">
										<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]{7}"/>
											</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 documento fiscal, 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="dhEmi" type="TDateTimeUTC">
										<xs:annotation>
											<xs:documentation>Data e hora de emissão do documento fiscal</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DDTHH:MM:DD TZD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpEmis" type="TtpEmis">
										<xs:annotation>
											<xs:documentation>Forma de emissão do Documento Fiscal </xs:documentation>
											<xs:documentation>1 - Normal
; 2 - Contingência</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="nSiteAutoriz">
										<xs:annotation>
											<xs:documentation>Identificação do número do Site do Autorizador de recepção da NFCom</xs:documentation>
											<xs:documentation>Se o autorizador da NFCom possuir apenas um site deverá ser informado com Zero (0), em caso de Autorizador trabalhar com múltiplos sites indicar o número do site para qual foi endereçada a NFCOM (1 a 9).

Observação: o ambiente autorizador que trabalhar com mais de um Site deverá divulgar para cada endereço de site qual número correspondente de nSiteAutoriz o contribuinte pode usar</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="cMunFG" type="TCodMunIBGE">
										<xs:annotation>
											<xs:documentation>Código do município de ocorrência do fato gerador</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="finNFCom" type="TFinNFCom">
										<xs:annotation>
											<xs:documentation>Finalidade de emissão da NFCom</xs:documentation>
											<xs:documentation>0 - NFCom Normal; 
3 - NFCom de Substituição; 
4 - NFCom de Ajuste;</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpFat" type="TFatNFCom">
										<xs:annotation>
											<xs:documentation>Tipo de Faturamento da NFCom</xs:documentation>
											<xs:documentation>0- Faturamento Normal; 1 - Faturamento centralizado; 2 - Cofaturamento</xs:documentation>
										</xs:annotation>
									</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 NFCom.</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="indPrePago" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Indicador de serviço pré-pago</xs:documentation>
											<xs:documentation>1 – Serviço pré-pago (informar a tag somente se a nota for referente a um serviço exclusivamente pré-pago)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="1"/>
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="indCessaoMeiosRede" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Indicador de Sessão de Meios de Rede.</xs:documentation>
											<xs:documentation>Uma vez informado (valor = 1), essa tag dispensa geração do grupo Fatura.
Apenas para notas dos tipos Normal e Substituição com tipo de faturamento normal</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="1"/>
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="indNotaEntrada" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Indicador de nota de entrada</xs:documentation>
											<xs:documentation>1 – Informar quando for nota de ajuste e possuir itens com CFOP de entrada</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:minLength value="1"/>
												<xs:maxLength value="1"/>
												<xs:whiteSpace value="preserve"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</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:element name="tpPagAnt" type="TPagAnt" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Tipo Pagamento ou Pagamento Antecipado</xs:documentation>
											<xs:documentation>Informar:
1 - Pagamento Antecipado de Serviços Não Continuados
2 - Pagamento de serviços continuados (antes da prestação)
3 - Fornecimento com pagamento realizado anteriormente

Este campo é opcional e apenas deve ser informado em notas de pagamento que ocorre antes da prestação do serviço e na nota de fornecimento associada a esses pagamentos, Notas Normais que retratam a prestação de serviço continuado mensal da nota fatura (contendo ou não itens de serviço não continuado) em que o pagamento não foi antecipado NÃO DEVEM INFORMAR ESSE CAMPO.

A tabela cClass terá uma flag que sinaliza se o tipo de item é de prestação continuada ou não continuada</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 documento fiscal</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" type="TIe">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do emitente</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IEUFDest" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual Virtual do emitente na UF de Destino da partilha (IE Virtual)</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="TIe"/>
										</xs:simpleType>
									</xs:element>
									<xs:element name="CRT" type="TCRT">
										<xs:annotation>
											<xs:documentation>Código do Regime Tributário</xs:documentation>
											<xs:documentation>Informar: 1=Simples Nacional; 
2=Simples Nacional, excesso sublimite de receita bruta;
3=Regime Normal. 
</xs:documentation>
										</xs:annotation>
									</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="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="dest">
							<xs:annotation>
								<xs:documentation>Identificação do destinatário / assinante </xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="xNome">
										<xs:annotation>
											<xs:documentation>Razão social ou Nome do destinatário</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>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="idOutros">
											<xs:annotation>
												<xs:documentation>Identificação do destinatário outros</xs:documentation>
												<xs:documentation>Identificação do destinatário não obrigado a inscrição do CPF tais como estrangeiro, indígena e quilombola;
Em caso de não contar CPF do assinante, informar o RG</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:minLength value="2"/>
													<xs:maxLength value="20"/>
													<xs:pattern value="([!-ÿ]{0}|[!-ÿ]{2,20})?"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:choice>
									<xs:element name="indIEDest" type="TIndIEDest">
										<xs:annotation>
											<xs:documentation>Indicador da IE do Destinatário</xs:documentation>
											<xs:documentation>1 - Contribuinte ICMS (informar a IE do destinatário); 

2 - Contribuinte isento de Inscrição no cadastro de Contribuintes do ICMS;

 9 - Não Contribuinte, que pode ou não possuir Inscrição Estadual no Cadastro de Contribuintes do ICMS. 

Nota: No caso de Contribuinte Isento de Inscrição (indIEDest=2) informar a tag IE do destinatário com o literal ISENTO.
</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IE" type="TIeDest" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Inscrição Estadual do destinatário</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="IM" minOccurs="0">
										<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="enderDest" type="TEndeDest">
										<xs:annotation>
											<xs:documentation>Endereço do destinatário / assinante</xs:documentation>
										</xs:annotation>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="assinante">
							<xs:annotation>
								<xs:documentation>Dados do assinante</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="iCodAssinante">
										<xs:annotation>
											<xs:documentation>Código único de Identificação do assinante</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="30"/>
												<xs:pattern value="([!-ÿ]{0}|[!-ÿ]{1,30})?"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="tpAssinante" type="TAssinante">
										<xs:annotation>
											<xs:documentation>Tipo de assinante</xs:documentation>
											<xs:documentation>1-Comercial;
2-Industrial;
3-Residencial/Pessoa Física;
4-Produtor Rural;
5-Órgão da administração pública estadual direta e suas fundações e autarquias, quando mantidas pelo poder público estadual e regidas por normas de direito público, nos termos do Convênio ICMS 107/95; 	
6-Prestador de serviço de telecomunicação responsável pelo recolhimento do imposto incidente sobre a cessão dos meios de rede do prestador do serviço ao usuário final, nos termos do Convênio ICMS 17/13 ;	
7-Missões Diplomáticas, Repartições Consulares e Organismos Internacionais, nos termos do Convênio ICMS 158/94 ;	
8-Igrejas e Templos de qualquer natureza ;
99-Outros não especificados anteriormente 	</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="tpServUtil" type="TUtilizacao">
										<xs:annotation>
											<xs:documentation>Tipo de serviço utilizado</xs:documentation>
											<xs:documentation>1-Telefonia; 2-Comunicação de dados; 3-TV por Assinatura;4 - Provimento de acesso à Internet; 5-Multimídia; 6-Outros; 7-Varios;</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="nContrato" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Número do Contrato do assinante</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="20"/>
												<xs:pattern value="([!-ÿ]{0}|[!-ÿ]{1,20})?"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
									<xs:element name="dContratoIni" type="TData" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data de início do contrato</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:element name="dContratoFim" type="TData" minOccurs="0">
										<xs:annotation>
											<xs:documentation>Data de término do contrato</xs:documentation>
											<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
										</xs:annotation>
									</xs:element>
									<xs:sequence minOccurs="0">
										<xs:annotation>
											<xs:documentation>Identifica o terminal principal do contrato
Sequencia XML</xs:documentation>
										</xs:annotation>
										<xs:element name="NroTermPrinc">
											<xs:annotation>
												<xs:documentation>Número do Terminal Principal do serviço contratado</xs:documentation>
												<xs:documentation>Em se tratando de plano de prestação de serviço telefônico corporativo, familiar ou similares, informar o número do terminal telefônico principal do plano. </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="cUFPrinc" type="TCodUfIBGE">
											<xs:annotation>
												<xs:documentation>Código da UF de habilitação do terminal</xs:documentation>
												<xs:documentation> Utilizar a
Tabela do IBGE de código de unidades da federação.</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
									<xs:sequence minOccurs="0" maxOccurs="unbounded">
										<xs:annotation>
											<xs:documentation>Identifica os terminais adicionais do contrato
Sequencia XML</xs:documentation>
										</xs:annotation>
										<xs:element name="NroTermAdic">
											<xs:annotation>
												<xs:documentation>Número dos Terminais adicionais do serviço contratado</xs:documentation>
												<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="cUFAdic" type="TCodUfIBGE">
											<xs:annotation>
												<xs:documentation>Código da UF de habilitação do terminal</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:sequence>
							<xs:annotation>
								<xs:documentation>Conjunto de informações da NFCom </xs:documentation>
							</xs:annotation>
							<xs:element name="gSub" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Grupo de informações da substituição</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:choice>
											<xs:element name="chNFCom" type="TChDFe">
												<xs:annotation>
													<xs:documentation>Chave de acesso da NFCom original</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="gNF">
												<xs:annotation>
													<xs:documentation>Informação da NF modelo 21/22 referenciada</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 o CNPJ do emitente do Documento Fiscal</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="mod" type="TModNFPapel">
															<xs:annotation>
																<xs:documentation>Modelo do documento</xs:documentation>
																<xs:documentation>21 ou 22</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="serie">
															<xs:annotation>
																<xs:documentation>Serie do documento fiscal</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="TString">
																	<xs:minLength value="3"/>
																	<xs:maxLength value="3"/>
																</xs:restriction>
															</xs:simpleType>
														</xs:element>
														<xs:element name="nNF" type="TNF">
															<xs:annotation>
																<xs:documentation>Número do documento fiscal</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="CompetEmis" type="TCompet">
															<xs:annotation>
																<xs:documentation>Ano e mês da emissão da NF (AAAAMM)</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="hash115" minOccurs="0">
															<xs:annotation>
																<xs:documentation>Hash do registro no arquivo do convênio 115</xs:documentation>
																<xs:documentation>Campo poderá ser exigido a critério da UF – campo 36 do arquivo MESTRE DE DOCUMENTO FISCAL (Anexo Único, item 5 do Conv. 115/03)</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="xs:base64Binary"/>
															</xs:simpleType>
														</xs:element>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:choice>
										<xs:element name="motSub" type="TMotSub">
											<xs:annotation>
												<xs:documentation>Motivo da substituição</xs:documentation>
												<xs:documentation>01 – Erro de Preço
02 – Erro Cadastral
03 – Decisão Judicial
04 - Erro de Tributação
05 - Descontinuidade do Serviço
06 - Regime Especial</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="gCofat" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Grupo de Informações do Cofaturamento</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:choice>
											<xs:element name="chNFComLocal" type="TChDFe">
												<xs:annotation>
													<xs:documentation>Chave de acesso da NFCom emitida pela Operadora Local</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="gNF">
												<xs:annotation>
													<xs:documentation>Informação da NF modelo 21/22 referenciada</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 o CNPJ do emitente do Documento Fiscal</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="mod" type="TModNFPapel">
															<xs:annotation>
																<xs:documentation>Modelo do documento</xs:documentation>
																<xs:documentation>21 ou 22</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="serie">
															<xs:annotation>
																<xs:documentation>Serie do documento fiscal</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="TString">
																	<xs:minLength value="3"/>
																	<xs:maxLength value="3"/>
																</xs:restriction>
															</xs:simpleType>
														</xs:element>
														<xs:element name="nNF" type="TNF">
															<xs:annotation>
																<xs:documentation>Número do documento fiscal</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="CompetEmis" type="TCompet">
															<xs:annotation>
																<xs:documentation>Ano e mês da emissão da NF (AAAAMM)</xs:documentation>
															</xs:annotation>
														</xs:element>
														<xs:element name="hash115" minOccurs="0">
															<xs:annotation>
																<xs:documentation>Hash do registro no arquivo do convênio 115</xs:documentation>
																<xs:documentation>Campo poderá ser exigido a critério da UF – campo 36 do arquivo MESTRE DE DOCUMENTO FISCAL (Anexo Único, item 5 do Conv. 115/03)</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="xs:base64Binary"/>
															</xs:simpleType>
														</xs:element>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:choice>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="det" maxOccurs="990">
								<xs:annotation>
									<xs:documentation>Detalhamento de Produtos e Serviços </xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="prod">
											<xs:annotation>
												<xs:documentation>Dados do Produto ou Serviço</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="cProd">
														<xs:annotation>
															<xs:documentation>Código do produto ou serviço. </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="xProd">
														<xs:annotation>
															<xs:documentation>Descrição do produto ou serviço</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TString">
																<xs:maxLength value="120"/>
																<xs:minLength value="1"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="cClass">
														<xs:annotation>
															<xs:documentation>Código de classificação</xs:documentation>
															<xs:documentation>Tabela de Classificação de Item da NFCom (validar por RV)</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="7"/>
																<xs:maxLength value="7"/>
																<xs:whiteSpace value="preserve"/>
																<xs:pattern value="[0-9]{7}"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="CFOP" type="TCfop" minOccurs="0">
														<xs:annotation>
															<xs:documentation>CFOP</xs:documentation>
															<xs:documentation>Utilizar Tabela de CFOP. </xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="CNPJLD" type="TCnpj" minOccurs="0">
														<xs:annotation>
															<xs:documentation>CNPJ da operadora LD</xs:documentation>
															<xs:documentation>Informar o CNPJ da operadora LD que irá lançar o item de cofaturamento em nota do tipo faturamento 2</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="uMed" type="TUMedItem">
														<xs:annotation>
															<xs:documentation>Unidade Básica de Medida</xs:documentation>
															<xs:documentation>1=Minuto
; 2=MB; 
3=GB; 
4=UN</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="qFaturada" type="TDec_1100_1104">
														<xs:annotation>
															<xs:documentation>Quantidade Faturada</xs:documentation>
															<xs:documentation>Informar a quantidade de comercialização do produto .</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vItem">
														<xs:annotation>
															<xs:documentation>Valor unitário do item</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TDec_1302_1308"/>
														</xs:simpleType>
													</xs:element>
													<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do Desconto</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Outras despesas acessórias</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vProd">
														<xs:annotation>
															<xs:documentation>Valor total do item</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TDec_1302_1308"/>
														</xs:simpleType>
													</xs:element>
													<xs:element name="dExpiracao" type="TData" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Data de expiração de crédito </xs:documentation>
															<xs:documentation>Formato AAAA-MM-DD.</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="indDevolucao" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Indicador de devolução do valor do item</xs:documentation>
															<xs:documentation>1 – Devolução do valor do item </xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="1"/>
																<xs:whiteSpace value="preserve"/>
																<xs:enumeration value="1"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="CNPJCobrTerc" type="TCnpj" minOccurs="0">
														<xs:annotation>
															<xs:documentation>CNPJ de cobrança de terceiro</xs:documentation>
															<xs:documentation>Informar quando cClass do grupo 110 - Cobrança de terceiros</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="gPagAntecipado" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Grupo de antecipação de pagamento

Permite informar apenas quando tpPagAnt=3</xs:documentation>
															<xs:documentation>Informado para abater as parcelas de antecipação de
pagamento</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="chDFePagAnt" type="TChDFe">
																	<xs:annotation>
																		<xs:documentation>Chave de acesso da nota de antecipação de pagamento (com tpPagAnt=1 ou 2)</xs:documentation>
																		<xs:documentation>Referência a DFe emitido anteriormente, referente a pagamento antecipado</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="nItemPagAnt" minOccurs="0">
																	<xs:annotation>
																		<xs:documentation>Número do item do DFe de antecipação para referência direta a um item</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="[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:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="imposto">
											<xs:annotation>
												<xs:documentation>Tributos incidentes no Produto ou Serviço</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:complexContent>
													<xs:extension base="TImp">
														<xs:sequence>
															<xs:choice>
																<xs:sequence>
																	<xs:choice>
																		<xs:element name="ICMS00">
																			<xs:annotation>
																				<xs:documentation>Prestação sujeito à tributação normal do ICMS</xs:documentation>
																				<xs:documentation>Tributada integralmente</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 minOccurs="0">
																						<xs:annotation>
																							<xs:documentation>Sequencia XML</xs:documentation>
																						</xs:annotation>
																						<xs:element name="pFCP" type="TDec_0302a04Opc">
																							<xs:annotation>
																								<xs:documentation>Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</xs:element>
																						<xs:element name="vFCP" type="TDec_1302">
																							<xs:annotation>
																								<xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</xs:element>
																					</xs:sequence>
																				</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 ao item</xs:documentation>
																								<xs:documentation>Código de Benefício Fiscal utilizado pela UF, aplicado ao
 item.
</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 minOccurs="0">
																						<xs:annotation>
																							<xs:documentation>Sequencia XML</xs:documentation>
																						</xs:annotation>
																						<xs:element name="pFCP" type="TDec_0302a04Opc">
																							<xs:annotation>
																								<xs:documentation>Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</xs:element>
																						<xs:element name="vFCP" type="TDec_1302">
																							<xs:annotation>
																								<xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</xs:element>
																					</xs:sequence>
																				</xs:sequence>
																			</xs:complexType>
																		</xs:element>
																		<xs:element name="ICMS40">
																			<xs:annotation>
																				<xs:documentation>Tributação Isenta, Não tributada</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>40=Isenta; 41=Não tributada;
</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:whiteSpace value="preserve"/>
																								<xs:enumeration value="40"/>
																								<xs:enumeration value="41"/>
																							</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 ao item</xs:documentation>
																								<xs:documentation>Código de Benefício Fiscal utilizado pela UF, aplicado ao
item.
</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="ICMS51">
																			<xs:annotation>
																				<xs:documentation>Tributação com Diferimento </xs:documentation>
																				<xs:documentation>A exigência do preenchimento das informações do ICMS diferido fica a critério de cada UF</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>Tributação pelo ICMS 51 - Diferimento</xs:documentation>
																						</xs:annotation>
																						<xs:simpleType>
																							<xs:restriction base="xs:string">
																								<xs:whiteSpace value="preserve"/>
																								<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 ao item</xs:documentation>
																								<xs:documentation>Código de Benefício Fiscal utilizado pela UF, aplicado ao
item.
</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:sequence minOccurs="0">
																						<xs:annotation>
																							<xs:documentation>Sequência XML</xs:documentation>
																						</xs:annotation>
																						<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: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 ao item</xs:documentation>
																								<xs:documentation>Código de Benefício Fiscal utilizado pela UF, aplicado ao
item.
</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 minOccurs="0">
																						<xs:annotation>
																							<xs:documentation>Sequencia XML</xs:documentation>
																						</xs:annotation>
																						<xs:element name="pFCP" type="TDec_0302a04Opc">
																							<xs:annotation>
																								<xs:documentation>Percentual de ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</xs:element>
																						<xs:element name="vFCP" type="TDec_1302">
																							<xs:annotation>
																								<xs:documentation>Valor do ICMS relativo ao Fundo de Combate à Pobreza (FCP).</xs:documentation>
																							</xs:annotation>
																						</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 - Outros SN</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:element name="ICMSUFDest" minOccurs="0" maxOccurs="unbounded">
																		<xs:annotation>
																			<xs:documentation>Informações do ICMS de partilha com a UF destinatária</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:sequence>
																				<xs:element name="vBCUFDest" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor da BC do ICMS na UF de destino</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="pFCPUFDest" type="TDec_0302">
																					<xs:annotation>
																						<xs:documentation>Percentual do ICMS relativo ao Fundo de Combate à pobreza (FCP) na UF de destino</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="pICMSUFDest" type="TDec_0302">
																					<xs:annotation>
																						<xs:documentation>Alíquota interna da UF de destino</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="vFCPUFDest" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor do ICMS relativo ao Fundo de Combate á Pobreza (FCP) da UF de destino</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="vICMSUFDest" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor do ICMS de partilha para a UF de destino</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="vICMSUFEmi" type="TDec_1302">
																					<xs:annotation>
																						<xs:documentation>Valor do ICMS de partilha para a UF de emissão</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="cBenefUFDest" minOccurs="0">
																					<xs:annotation>
																						<xs:documentation>Código de Benefício Fiscal na UF destino aplicado ao item</xs:documentation>
																						<xs:documentation>Código de Benefício Fiscal utilizado pela UF, aplicado ao
item.
</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:attribute name="cUFDest" type="TCodUfIBGE" use="required"/>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:element name="indSemCST">
																	<xs:annotation>
																		<xs:documentation>Sem Situação Tributária para o ICMS</xs:documentation>
																		<xs:documentation>Informar para itens que não tenham nenhuma relação com o ICMS.
Quando informado o item NÃO PODE ter CFOP informado

Se informado esse grupo o schema não permite informar nenhum dos grupos de ICMSXX</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:choice>
															<xs:element name="PIS" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Dados do PIS</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>classificação Tributária do PIS</xs:documentation>
																				<xs:documentation>01 – Tributável com alíquota básica
02 – Tributável com alíquota diferenciada
06 – Tributável com alíquota zero
07 – Operação isenta de contribuição
08 – Operação sem incidência da contribuição
09 – Operação com suspensão da contribuição  
49 – Outras operações de saída</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="06"/>
																					<xs:enumeration value="07"/>
																					<xs:enumeration value="08"/>
																					<xs:enumeration value="09"/>
																					<xs:enumeration value="49"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pPIS" type="TDec_0302a04">
																			<xs:annotation>
																				<xs:documentation>Alíquota do PIS (em percentual)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vPIS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do PIS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="COFINS" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Dados do COFINS</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="CST">
																			<xs:annotation>
																				<xs:documentation>classificação Tributária do COFINS</xs:documentation>
																				<xs:documentation>01 – Tributável com alíquota básica
02 – Tributável com alíquota diferenciada
06 – Tributável com alíquota zero
07 – Operação isenta de contribuição
08 – Operação sem incidência da contribuição
09 – Operação com suspensão da contribuição  
49 – Outras operações de saída
</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="06"/>
																					<xs:enumeration value="07"/>
																					<xs:enumeration value="08"/>
																					<xs:enumeration value="09"/>
																					<xs:enumeration value="49"/>
																				</xs:restriction>
																			</xs:simpleType>
																		</xs:element>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pCOFINS" type="TDec_0302a04">
																			<xs:annotation>
																				<xs:documentation>Alíquota do COFINS (em percentual)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vCOFINS" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do COFINS</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="FUST" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Dados do FUST</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do FUST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pFUST" type="TDec_0302a04">
																			<xs:annotation>
																				<xs:documentation>Alíquota do FUST (em percentual)</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vFUST" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do FUST</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="FUNTTEL" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Dados do FUNTTEL</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="vBC" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor da BC do FUNTTEL</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="pFUNTTEL" type="TDec_0302a04">
																			<xs:annotation>
																				<xs:documentation>Alíquota do FUNTTEL (em percentual) </xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vFUNTTEL" type="TDec_1302">
																			<xs:annotation>
																				<xs:documentation>Valor do FUNTEL</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="retTrib" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Grupo de informações de retenção de tributos federais</xs:documentation>
																</xs:annotation>
																<xs:complexType>
																	<xs:sequence>
																		<xs:element name="vRetPIS" type="TDec_1302_1308">
																			<xs:annotation>
																				<xs:documentation>Valor do PIS retido</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vRetCofins" type="TDec_1302_1308">
																			<xs:annotation>
																				<xs:documentation>Valor do COFNS retido</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vRetCSLL" type="TDec_1302_1308">
																			<xs:annotation>
																				<xs:documentation>Valor da CSLL retida</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vBCIRRF" type="TDec_1302_1308">
																			<xs:annotation>
																				<xs:documentation>Base de cálculo do IRRF</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																		<xs:element name="vIRRF" type="TDec_1302_1308">
																			<xs:annotation>
																				<xs:documentation>Valor do IRRF retido</xs:documentation>
																			</xs:annotation>
																		</xs:element>
																	</xs:sequence>
																</xs:complexType>
															</xs:element>
															<xs:element name="IBSCBS" type="TTribNFCom" minOccurs="0">
																<xs:annotation>
																	<xs:documentation>Grupo de informações do IBS e CBS</xs:documentation>
																</xs:annotation>
															</xs:element>
														</xs:sequence>
													</xs:extension>
												</xs:complexContent>
											</xs:complexType>
										</xs:element>
										<xs:element name="gProcRef" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Grupo Processo referenciado</xs:documentation>
												<xs:documentation>Este grupo somente deverá ser preenchido quando houver processo judicial ou administrativo que altere valores.</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="vItem">
														<xs:annotation>
															<xs:documentation>Valor unitário do item</xs:documentation>
															<xs:documentation>Informar o valor sem a influência da decisão judicial/administrativa.</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TDec_1302_1308"/>
														</xs:simpleType>
													</xs:element>
													<xs:element name="qFaturada" type="TDec_1100_1104">
														<xs:annotation>
															<xs:documentation>Quantidade Faturada</xs:documentation>
															<xs:documentation>Informar a quantidade de comercialização do produto .</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vProd">
														<xs:annotation>
															<xs:documentation>Valor total do item</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TDec_1302_1308"/>
														</xs:simpleType>
													</xs:element>
													<xs:element name="vDesc" type="TDec_1302Opc" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do Desconto</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vOutro" type="TDec_1302Opc" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Outras despesas acessórias</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="indDevolucao" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Indicador de devolução do valor do item</xs:documentation>
															<xs:documentation>1 – Devolução do valor do item </xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="xs:string">
																<xs:minLength value="1"/>
																<xs:maxLength value="1"/>
																<xs:whiteSpace value="preserve"/>
																<xs:enumeration value="1"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="vBC" type="TDec_1302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor da BC do ICMS</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="pICMS" type="TDec_0302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Alíquota do ICMS</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vICMS" type="TDec_1302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do ICMS</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vPIS" type="TDec_1302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do PIS</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vCOFINS" type="TDec_1302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do COFINS</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vFCP" type="TDec_1302" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Valor do Fundo de Combate à Pobreza (FCP).</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="gProc" maxOccurs="10">
														<xs:annotation>
															<xs:documentation>Grupo identificador do Processo</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:sequence>
																<xs:element name="tpProc" type="TProcesso">
																	<xs:annotation>
																		<xs:documentation>Tipo de Processo</xs:documentation>
																		<xs:documentation>0 - SEFAZ; 1 - Justiça Federal; 2 - Justiça Estadual</xs:documentation>
																	</xs:annotation>
																</xs:element>
																<xs:element name="nProcesso">
																	<xs:annotation>
																		<xs:documentation>Número do Processo</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="TString">
																			<xs:minLength value="1"/>
																			<xs:maxLength value="60"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:element>
															</xs:sequence>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="gRessarc" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Grupo de Informações detalhadas de item de cClass de Ressarcimento</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="tpRessarc" type="TRessarcimento">
														<xs:annotation>
															<xs:documentation>Tipo de Ressarcimento</xs:documentation>
															<xs:documentation>1 - Cobrança Indevida
2 - Interrupção
99 - Outros</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="dRef" type="TData">
														<xs:annotation>
															<xs:documentation>Data de referencia</xs:documentation>
															<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="nProcesso" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Número do Processo</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TString">
																<xs:minLength value="1"/>
																<xs:maxLength value="60"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="nProtReclama" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Número do protocolo de reclamação</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TString">
																<xs:minLength value="1"/>
																<xs:maxLength value="60"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
													<xs:element name="xObs" minOccurs="0">
														<xs:annotation>
															<xs:documentation>Observações sobre o processo de ressarcimento</xs:documentation>
														</xs:annotation>
														<xs:simpleType>
															<xs:restriction base="TString">
																<xs:minLength value="15"/>
																<xs:maxLength value="100"/>
															</xs:restriction>
														</xs:simpleType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="infAdProd" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Informações adicionais do produto (norma referenciada, informações complementares, etc)</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="TString">
													<xs:minLength value="1"/>
													<xs:maxLength value="500"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="nItem" use="required">
										<xs:annotation>
											<xs:documentation>Número do item da NFCom</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[1-9]{1}[0-9]{0,3}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="chNFComAnt" type="TChDFe">
										<xs:annotation>
											<xs:documentation>Chave de Acesso da NFCom anterior </xs:documentation>
											<xs:documentation>Informar chave de acesso de referencia anterior
TAG OPCIONAL, DEVE SER INFORMADA APENAS NOS CASOS PREVISTOS DE NOTA ANTERIOR REFERENCIADA</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="nItemAnt" use="optional">
										<xs:annotation>
											<xs:documentation>Número do item da NFCom anterior</xs:documentation>
											<xs:documentation>Informar nro do item da chave de acesso de referencia anterior

TAG OPCIONAL, DEVE SER INFORMADA APENAS NOS CASOS PREVISTOS DE NOTA ANTERIOR REFERENCIADA</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:pattern value="[1-9]{1}[0-9]{0,3}"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
									<xs:attribute name="indNFComAntPapelFatCentral" use="optional">
										<xs:annotation>
											<xs:documentation>Indicador de Nota anterior em papel no faturamento centralizado</xs:documentation>
											<xs:documentation>Informa que a NFCom Anterior de Faturamento centralizado não é eletrônica</xs:documentation>
										</xs:annotation>
										<xs:simpleType>
											<xs:restriction base="xs:string">
												<xs:whiteSpace value="preserve"/>
												<xs:minLength value="1"/>
												<xs:maxLength value="1"/>
												<xs:enumeration value="1"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</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="total">
								<xs:annotation>
									<xs:documentation>Dados dos totais da NFCom</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="vProd" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor Total dos produtos e serviços</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:element name="vICMSDeson" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor Total do ICMS desonerado</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vFCP" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor Total do FCP (Fundo de Combate à Pobreza).</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="vCOFINS" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor do COFINS</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vPIS" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor do PIS</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vFUNTTEL" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor do FUNTTEL</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vFUST" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor do FUST</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vRetTribTot">
											<xs:annotation>
												<xs:documentation>Total da retenção de tributos federais</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="vRetPIS" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor do PIS retido</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vRetCofins" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor do COFNS retido</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vRetCSLL" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor da CSLL retida</xs:documentation>
														</xs:annotation>
													</xs:element>
													<xs:element name="vIRRF" type="TDec_1302">
														<xs:annotation>
															<xs:documentation>Valor do IRRF retido</xs:documentation>
														</xs:annotation>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
										<xs:element name="vDesc" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor Total do Desconto</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vOutro" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Outras Despesas acessórias</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="vNF" type="TDec_1302">
											<xs:annotation>
												<xs:documentation>Valor Total da NFCom</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="IBSCBSTot" type="TIBSCBSTot" minOccurs="0">
											<xs:annotation>
												<xs:documentation>Totais de 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 
(vNF + total do IBS + total da CBS) 
</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:element name="gFidelidade" minOccurs="0">
								<xs:annotation>
									<xs:documentation>Grupo de informações do programa de fidelidade do assinante</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="qtdSaldoPts">
											<xs:annotation>
												<xs:documentation> Saldo de pontos do cliente na  data de referência</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:minLength value="1"/>
													<xs:maxLength value="20"/>
													<xs:pattern value="[0-9]{1,20}"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="dRefSaldoPts" type="TData">
											<xs:annotation>
												<xs:documentation>Data de aferição do saldo de pontos</xs:documentation>
												<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
											</xs:annotation>
										</xs:element>
										<xs:element name="qtdPtsResg">
											<xs:annotation>
												<xs:documentation> Qtd de pontos resgatados na  data de referência</xs:documentation>
											</xs:annotation>
											<xs:simpleType>
												<xs:restriction base="xs:string">
													<xs:whiteSpace value="preserve"/>
													<xs:minLength value="1"/>
													<xs:maxLength value="20"/>
													<xs:pattern value="[0-9]{1,20}"/>
												</xs:restriction>
											</xs:simpleType>
										</xs:element>
										<xs:element name="dRefResgPts" type="TData">
											<xs:annotation>
												<xs:documentation>Data de resgate dos pontos</xs:documentation>
												<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
											</xs:annotation>
										</xs:element>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
							<xs:choice>
								<xs:element name="gFat" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Grupo de informações de controle da Fatura</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="CompetFat" type="TCompet">
												<xs:annotation>
													<xs:documentation>Ano e mês referência do faturamento (AAAAMM)</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="dVencFat" type="TData">
												<xs:annotation>
													<xs:documentation>Data de vencimento da fatura</xs:documentation>
													<xs:documentation>Formato AAAA-MM-DD</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:sequence minOccurs="0">
												<xs:annotation>
													<xs:documentation>Sequencia XML</xs:documentation>
												</xs:annotation>
												<xs:element name="dPerUsoIni" type="TData">
													<xs:annotation>
														<xs:documentation>Período de uso inicial</xs:documentation>
														<xs:documentation>Formato AAAA-MM-DD.</xs:documentation>
													</xs:annotation>
												</xs:element>
												<xs:element name="dPerUsoFim" type="TData">
													<xs:annotation>
														<xs:documentation>Período de uso final</xs:documentation>
														<xs:documentation>Formato AAAA-MM-DD.</xs:documentation>
													</xs:annotation>
												</xs:element>
											</xs:sequence>
											<xs:element name="codBarras">
												<xs:annotation>
													<xs:documentation>Linha digitável do código de barras</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:whiteSpace value="preserve"/>
														<xs:minLength value="1"/>
														<xs:maxLength value="48"/>
														<xs:pattern value="[0-9]{1,48}"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:element name="codDebAuto" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Código de autorização débito em conta</xs:documentation>
												</xs:annotation>
												<xs:simpleType>
													<xs:restriction base="xs:string">
														<xs:whiteSpace value="preserve"/>
														<xs:minLength value="1"/>
														<xs:maxLength value="20"/>
														<xs:pattern value="[0-9]{1,20}"/>
													</xs:restriction>
												</xs:simpleType>
											</xs:element>
											<xs:sequence minOccurs="0">
												<xs:element name="codBanco">
													<xs:annotation>
														<xs:documentation>Número do banco para débito em conta</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="3"/>
															<xs:maxLength value="5"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
												<xs:element name="codAgencia">
													<xs:annotation>
														<xs:documentation>Número da agência bancária para débito em conta</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="TString">
															<xs:minLength value="1"/>
															<xs:maxLength value="10"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:element>
											</xs:sequence>
											<xs:element name="enderCorresp" type="TEndeEmi" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Endereço de entrega da fatura.</xs:documentation>
													<xs:documentation>Informar se diferente do endereço do destinatário</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="gPIX" minOccurs="0">
												<xs:annotation>
													<xs:documentation>Grupo de informações do PIX</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:sequence>
														<xs:element name="urlQRCodePIX">
															<xs:annotation>
																<xs:documentation>URL do QRCode do PIX que será apresentado na fatura</xs:documentation>
															</xs:annotation>
															<xs:simpleType>
																<xs:restriction base="TString">
																	<xs:maxLength value="2000"/>
																	<xs:minLength value="2"/>
																</xs:restriction>
															</xs:simpleType>
														</xs:element>
													</xs:sequence>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
								<xs:element name="gFatCentral" minOccurs="0">
									<xs:annotation>
										<xs:documentation>Grupo de informações do Faturamento Centralizado</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="CNPJ" type="TCnpj">
												<xs:annotation>
													<xs:documentation>CNPJ do Emitente centralizador</xs:documentation>
													<xs:documentation>Informar o CNPJ do emitente do Documento Fiscal</xs:documentation>
												</xs:annotation>
											</xs:element>
											<xs:element name="cUF" type="TCodUfIBGE">
												<xs:annotation>
													<xs:documentation>Código da UF do emitente centralizador</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:sequence>
									</xs:complexType>
								</xs:element>
							</xs:choice>
						</xs:sequence>
						<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:annotation>
										<xs:documentation>Sequencia XML</xs:documentation>
									</xs:annotation>
									<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" maxOccurs="5">
										<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="3000"/>
											</xs:restriction>
										</xs:simpleType>
									</xs:element>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="gRespTec" 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="TVerNFCom" use="required">
						<xs:annotation>
							<xs:documentation>Versão do leiaute</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 da NFCom e precedida do literal "NFCom"</xs:documentation>
						</xs:annotation>
						<xs:simpleType>
							<xs:restriction base="xs:ID">
								<xs:pattern value="NFCom[0-9]{6}[A-Z0-9]{12}[0-9]{26}"/>
							</xs:restriction>
						</xs:simpleType>
					</xs:attribute>
				</xs:complexType>
				<xs:unique name="pk_nItem">
					<xs:selector xpath="./*"/>
					<xs:field xpath="@nItem"/>
				</xs:unique>
			</xs:element>
			<xs:element name="infNFComSupl">
				<xs:annotation>
					<xs:documentation>Informações suplementares da NFCom</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="qrCodNFCom">
							<xs:annotation>
								<xs:documentation>Texto com o QR-Code para consulta da NFCom</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?)://.*\?chNFCom=[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="TEnviNFCom">
		<xs:annotation>
			<xs:documentation>Tipo Pedido de Concessão de Autorização de NFCom</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="idLote" type="TIdLote"/>
			<xs:element name="NFCom" type="TNFCom" maxOccurs="50"/>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFCom" 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">
				<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">
				<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="TEndeDest">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Endereço Destinatario</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">
				<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">
				<xs:annotation>
					<xs:documentation>Sigla da UF</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="2"/>
					</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="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="TProtNFCom">
		<xs:annotation>
			<xs:documentation>Tipo Protocolo de status resultado do processamento da NFCom (Modelo 66)</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 a NFCom</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="chNFCom" type="TChDFe">
							<xs:annotation>
								<xs:documentation>Chave de acesso da NFCom</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 da NFCom.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="digVal" type="ds:DigestValueType" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Digest Value da NFCom processado. Utilizado para conferir a integridade da NFCom original.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="cStat">
							<xs:annotation>
								<xs:documentation>Código do status da NFCom.</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 da NFCom.</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="TVerNFCom" use="required"/>
	</xs:complexType>
	<xs:complexType name="TRetNFCom">
		<xs:annotation>
			<xs:documentation>Tipo Retorno do Pedido de Autorização de NFCom (Modelo 66)</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 a NFCom</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="protNFCom" type="TProtNFCom" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Reposta ao processamento da NFCom</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFCom" use="required"/>
	</xs:complexType>
	<xs:complexType name="TRetEnviNFCom">
		<xs:annotation>
			<xs:documentation>Tipo Retorno do recibo de envio do lote de NFCom (Modelo 66)</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 a NFCom</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="infRec" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Dados do Recibo do Lote</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="nRec" type="TRec">
							<xs:annotation>
								<xs:documentation>Número do Recibo</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="dhRecbto" type="TDateTimeUTC">
							<xs:annotation>
								<xs:documentation>Data e hora do recebimento, no formato AAAA-MM-DDTHH:MM:SS TZD</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="tMed">
							<xs:annotation>
								<xs:documentation>Tempo médio de resposta do serviço (em segundos) dos últimos 5 minutos</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="xs:integer">
									<xs:pattern value="[0-9]{1,4}"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="versao" type="TVerNFCom" use="required"/>
	</xs:complexType>
	<xs:complexType name="TImp">
		<xs:annotation>
			<xs:documentation>Tipo Dados do Imposto NFCom</xs:documentation>
		</xs:annotation>
	</xs:complexType>
	<xs:complexType name="TEmpresaSoft">
		<xs:annotation>
			<xs:documentation>Tipo Dados da Empresa de Software</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:choice>
				<xs:element name="CNPJ" type="TCnpj">
					<xs:annotation>
						<xs:documentation>CNPJ da pessoa jurídica desenvolvedora do 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="CPF" type="TCpf">
					<xs:annotation>
						<xs:documentation>CPF da pessoa física desenvolvedora do sistema utilizado na emissão do documento fiscal eletrônico</xs:documentation>
						<xs:documentation>No caso de pessoa física, informar o CPF do desenvolvedor do sistema utilizado na emissão do documento fiscal eletrônico.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:choice>
			<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/física a ser contatada</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="fone">
				<xs:annotation>
					<xs:documentation>Telefone da pessoa jurídica/física 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>
	</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:annotation>
					<xs:documentation>Sequencia XML</xs:documentation>
				</xs:annotation>
				<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 NFCom</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="TAssinante">
		<xs:annotation>
			<xs:documentation>Tipo assinante</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="2"/>
			<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="99"/>
		</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="TVerNFCom">
		<xs:annotation>
			<xs:documentation> Tipo Versão da NFCom</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="TUMedItem">
		<xs:annotation>
			<xs:documentation>Tipo da unidade básica de medida</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
		</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="TPagAnt">
		<xs:annotation>
			<xs:documentation>Tipo Pagamento ou Pagamento Antecipado</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</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="TFinNFCom">
		<xs:annotation>
			<xs:documentation>Finalidade da NFCom</xs:documentation>
			<xs:documentation/>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TFatNFCom">
		<xs:annotation>
			<xs:documentation>Tipo de Faturamento da NFCom</xs:documentation>
			<xs:documentation/>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</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:simpleType name="TIndIEDest">
		<xs:annotation>
			<xs:documentation>Tipo indicador da IE do Destinatário</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="9"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TCRT">
		<xs:annotation>
			<xs:documentation>Tipo Código Regime Tributário</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TtpEmis">
		<xs:annotation>
			<xs:documentation>Tipo de emissão da NFCom</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TUtilizacao">
		<xs:annotation>
			<xs:documentation>Tipo utilizacao</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<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=""/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TCompet">
		<xs:annotation>
			<xs:documentation>Tipo Competência</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="6"/>
			<xs:maxLength value="6"/>
			<xs:whiteSpace value="preserve"/>
			<xs:pattern value="[0-9]{1,6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TModNFPapel">
		<xs:annotation>
			<xs:documentation>Tipo Modelo NF papel</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="21"/>
			<xs:enumeration value="22"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TMotSub">
		<xs:annotation>
			<xs:documentation>Tipo Motivo Substituição</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="2"/>
			<xs:maxLength value="2"/>
			<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:restriction>
	</xs:simpleType>
	<xs:simpleType name="TAjusteNFComAnt_v2">
		<xs:annotation>
			<xs:documentation>Tipo do ajuste na NFCom anterior</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TAjusteNFComAnt">
		<xs:annotation>
			<xs:documentation>Tipo do ajuste na NFCom anterior</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="3"/>
			<xs:enumeration value="4"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TMotAjuste">
		<xs:annotation>
			<xs:documentation>Tipo do Motivo de Ajuste</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:minLength value="1"/>
			<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="TTarifa">
		<xs:annotation>
			<xs:documentation>Tipo de tarifa de aplicação</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TProcesso">
		<xs:annotation>
			<xs:documentation>Tipo de processo judicial</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="0"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TRessarcimento">
		<xs:annotation>
			<xs:documentation>Tipo de Ressarcimento</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="2"/>
			<xs:whiteSpace value="preserve"/>
			<xs:enumeration value="1"/>
			<xs:enumeration value="2"/>
			<xs:enumeration value="99"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="TCompFat">
		<xs:annotation>
			<xs:documentation>Tipo componente da fatura</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
			<xs:maxLength value="1"/>
			<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:restriction>
	</xs:simpleType>
</xs:schema>