<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:sch="http://shad.elotech.com.br/schemas/iss/nfse_v2_03.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://shad.elotech.com.br/schemas/iss/nfse_v2_03.xsd" targetNamespace="http://shad.elotech.com.br/schemas/iss/nfse_v2_03.xsd">
  <wsdl:types>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://shad.elotech.com.br/schemas/iss/nfse_v2_03.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://shad.elotech.com.br/schemas/iss/nfse_v2_03.xsd">
	<!-- definition of simple elements -->
	<xsd:simpleType name="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsDescricao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="4000" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTipoDeducao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:pattern value="M|S" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoVerificacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="9" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsStatusRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsStatusNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsExigibilidadeISS" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2|3|4|5|6|7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNumeroProcesso" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="30" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsSenha" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="30" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="6" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsInscricaoEstadual" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="20" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsRegimeEspecialTributacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2|3|4|5|6|7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsResponsavelRetencao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:minInclusive value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:maxInclusive value="999999" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNumeroRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsSerieRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
            <xsd:pattern value="[0-9]*[1-9][0-9]*" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTipoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2|3|4" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsOutrasInformacoes" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="255" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="14" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits fixed="true" value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsValorQuantidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="14" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits fixed="true" value="5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsValorUnitario" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="14" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits fixed="true" value="5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsItemListaServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="9" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoCnae" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:int" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoTributacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="20" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsDiscriminacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="2000" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:int" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="10" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsRazaoSocial" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="150" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNomeFantasia" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="60" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:length fixed="true" value="14" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCidadeNome" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="125" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="125" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNumeroEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="10" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsComplementoEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="60" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsBairro" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="60" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsUf" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:length fixed="true" value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoPaisBacen" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:length value="4" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCep" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="8" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
            <xsd:minLength value="8" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsEmail" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="80" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTelefone" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="20" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCpf" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:length fixed="true" value="11" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoObra" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsArt" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNumeroLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsHomologa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:boolean" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:simpleType>
	<xsd:simpleType name="tsSituacaoLoteRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2|3|4" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsQuantidadeRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:int" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="4" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsDescricaoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="200" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCodigoCancelamentoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:byte" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="1|2|3|4|5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>

	<xsd:simpleType name="tsChaveAcesso" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[0-9a-fA-F]{32}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsChaveAcessoNacional" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[0-9]{50}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:simpleType>
	<xsd:simpleType name="tsDataHora" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:dateTime" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:simpleType>

	<xsd:simpleType name="tsXml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	<xsd:simpleType name="tsNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	    <xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	        <xsd:maxLength value="40" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	        <xsd:minLength value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	        <xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	    </xsd:restriction>
    </xsd:simpleType>
        
    <xsd:simpleType name="tsUnidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    	<xsd:annotation xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:documentation xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				Unidade Media (
					UN - Unidade; 
					HS - Horas; 
					M2 - Metros Quadrados
		   		)
           	</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        	<xsd:enumeration value="UN" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	      	<xsd:enumeration value="HS" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	      	<xsd:enumeration value="M2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
        </xsd:restriction>
	</xsd:simpleType>    
	
	<xsd:simpleType name="tsCodigoNbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	    <xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	        <xsd:maxLength value="9" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	        <xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	        <xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	    </xsd:restriction>
   </xsd:simpleType>
   <xsd:simpleType name="tsNumeroAlvara" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	
	<xsd:simpleType name="tsVersao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:token" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[1-9]{1}[0-9]{0,1}\.[0-9]{2}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>

	<xsd:simpleType name="tsFinNFSe" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsIndFinal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCIndOp" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="6" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTpOper" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTpEnteGov" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsIndDest" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsRefNFSe" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="50" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsInscImobFisc" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="30" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCCIB" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="8" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCst" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="3" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCClassTrib" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="6" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsClassTribReg" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="6" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="5" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="4" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCPais" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCEndPost" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="11" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsXCidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="60" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsXEstProvReg" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="60" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNaoNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCLocalidadeIncid" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="7" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsXLocalidadeIncid" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="600" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsVBC" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="17" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsMdPrestacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsVincPrest" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsTpMoeda" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="3" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsVServMoeda" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:decimal" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="15" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:fractionDigits value="2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minInclusive value="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsMecAFComexP" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[0-9]{2}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsMecAFComexT" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[0-9]{2}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsMovTempBens" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsMdic" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:nonNegativeInteger" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:totalDigits value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNDI" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="12" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsNRE" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:maxLength value="12" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:minLength value="1" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:whiteSpace value="collapse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="tsCstPisCofins" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:restriction base="xsd:string" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:pattern value="[0-9]{2}" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:restriction>
	</xsd:simpleType>

	
	<xsd:complexType name="tcIdentificacaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Numero" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoMunicipio" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<!-- definition of complex elements -->
	<xsd:complexType name="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Cpf" type="tsCpf" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Cnpj" type="tsCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:choice>
	</xsd:complexType>

	<xsd:complexType name="tcEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Endereco" type="tsEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Numero" type="tsNumeroEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Complemento" type="tsComplementoEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Bairro" type="tsBairro" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoMunicipio" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Uf" type="tsUf" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoPais" type="tsCodigoPaisBacen" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Cep" type="tsCep" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="EnderecoExt" type="tcEnderecoExt" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcContato" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="Telefone" type="tsTelefone" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Email" type="tsEmail" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcIdentificacaoOrgaoGerador" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoMunicipio" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Uf" type="tsUf" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcIdentificacaoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Numero" type="tsNumeroRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Serie" type="tsSerieRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Tipo" type="tsTipoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Senha" type="tsSenha" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Homologa" type="tsHomologa" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>


	<xsd:complexType name="tcIdentificacaoPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcIdentificacaoTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>


	<xsd:complexType name="tcIdentificacaoIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="IdentificacaoTomador" type="tcIdentificacaoTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NifTomador" type="tsNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NaoNifTomador" type="tsNaoNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RazaoSocial" type="tsRazaoSocial" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Endereco" type="tcEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Contato" type="tcContato" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoEstadual" type="tsInscricaoEstadual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoIntermediario" type="tcIdentificacaoIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="RazaoSocial" type="tsRazaoSocial" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoMunicipio" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NifIntermediaro" type="tsNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NaoNifIntermediario" type="tsNaoNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Endereco" type="tcEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Contato" type="tcContato" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcValoresDeclaracaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="ValorServicos" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorDeducoes" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaPis" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoPis" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorPis" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaCofins" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoCofins" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorCofins" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaInss" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoInss" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorInss" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaIr" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoIr" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>				
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorIr" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaCsll" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoCsll" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>				
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorCsll" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaCpp" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoCpp" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorCpp" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="OutrasRetencoes" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RetidoOutrasRetencoes" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="AliquotaTotTributos" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValTotTributos" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorIss" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Aliquota" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="DescontoIncondicionado" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="DescontoCondicionado" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="CSTPisCofins" type="tsCstPisCofins" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcValoresNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="BaseCalculo" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Aliquota" type="tsAliquota" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorIss" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ValorLiquidoNfse" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosDeducao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="TipoDeducao" type="tsTipoDeducao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Cpf" type="tsCpf" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Cnpj" type="tsCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NumeroNotaFiscalReferencia" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorTotalNotaFiscal" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="PercentualADeduzir" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorADeduzir" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcItemServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="ItemListaServico" type="tsItemListaServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoCnae" type="tsCodigoCnae" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Descricao" type="tsDescricao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Unidade" type="tsUnidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="1" name="Tributavel" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Quantidade" type="tsValorQuantidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ValorUnitario" type="tsValorUnitario" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorDesconto" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ValorLiquido" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="DadosDeducao" type="tcDadosDeducao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Valores" type="tcValoresDeclaracaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="IssRetido" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ResponsavelRetencao" type="tsResponsavelRetencao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Discriminacao" type="tsDiscriminacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="CodigoTributacaoMunicipio" type="tsCodigoTributacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="CodigoNbs" type="tsCodigoNbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoMunicipio" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="CodigoPais" type="tsCodigoPaisBacen" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ExigibilidadeISS" type="tsExigibilidadeISS" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="MunicipioIncidencia" type="tsCodigoMunicipioIbge" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NumeroProcesso" type="tsNumeroProcesso" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ListaItensServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:element maxOccurs="unbounded" minOccurs="1" name="ItemServico" type="tcItemServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>
			<xsd:element maxOccurs="1" minOccurs="0" name="IBSCBS" type="tcIBSCBS" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ComercioExterior" type="tcComercioExterior" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosConstrucaoCivil" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoObra" type="tsCodigoObra" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NumeroAlvaraConstrucao" type="tsNumeroAlvara" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>		
			<xsd:element maxOccurs="1" minOccurs="1" name="Art" type="tsArt" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Incorporacao" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>			
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDadosPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoPrestador" type="tcIdentificacaoPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="RazaoSocial" type="tsRazaoSocial" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NomeFantasia" type="tsNomeFantasia" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Endereco" type="tcEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Contato" type="tcContato" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcInfRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRps" type="tcIdentificacaoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="DataEmissao" type="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Status" type="tsStatusRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RpsSubstituido" type="tcIdentificacaoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcInfDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="Rps" type="tcInfRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Competencia" type="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Servico" type="tcDadosServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Prestador" type="tcIdentificacaoPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Tomador" type="tcDadosTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Intermediario" type="tcDadosIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ConstrucaoCivil" type="tcDadosConstrucaoCivil" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="RegimeEspecialTributacao" type="tsRegimeEspecialTributacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="IncentivoFiscal" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="DecisaoAdministrativaJudicial" type="tsSimNao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InfIbsCbs" type="tcInfIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="InfDeclaracaoPrestacaoServico" type="tcInfDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcInfNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Numero" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoVerificacao" type="tsCodigoVerificacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="DataEmissao" type="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NfseSubstituida" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="OutrasInformacoes" type="tsOutrasInformacoes" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ValoresNfse" type="tcValoresNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ValorCredito" type="tsValor" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="PrestadorServico" type="tcDadosPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="1" name="OrgaoGerador" type="tcIdentificacaoOrgaoGerador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="DeclaracaoPrestacaoServico" type="tcDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ChaveAcesso" type="tsChaveAcesso" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="ChaveAcessoNacional" type="tsChaveAcessoNacional" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="InfNfse" type="tcInfNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
		<xsd:attribute name="versao" type="tsVersao" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:complexType>

	<xsd:complexType name="tcInfPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">	
			<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoNfse" type="tcIdentificacaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>		
			<xsd:element maxOccurs="1" minOccurs="1" name="ChaveAcesso" type="tsChaveAcesso" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CodigoCancelamento" type="tsCodigoCancelamentoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="InfPedidoCancelamento" type="tcInfPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcConfirmacaoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Pedido" type="tcPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="DataHora" type="tsDataHora" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:element name="tcRetCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="NfseCancelamento" type="tcCancelamentoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name="tcCancelamentoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="ConfirmacaoCancelamento" type="tcConfirmacaoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
		<xsd:attribute name="versao" type="tsVersao" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:complexType>

	<xsd:complexType name="tcInfSubstituicaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="NfseSubstituidora" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcSubstituicaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="SubstituicaoNfse" type="tcInfSubstituicaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
		<xsd:attribute name="versao" type="tsVersao" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:complexType>

	<xsd:complexType name="tcCompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" ref="Nfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" ref="NfseCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" ref="NfseSubstituicao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="Xml" type="tsXml" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="Codigo" type="tsCodigoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Mensagem" type="tsDescricaoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element minOccurs="0" name="Correcao" type="tsDescricaoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcMensagemRetornoLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRps" type="tcIdentificacaoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Codigo" type="tsCodigoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="Mensagem" type="tsDescricaoMensagemAlerta" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcLoteRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="NumeroLote" type="tsNumeroLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="InscricaoMunicipal" type="tsInscricaoMunicipal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>	
			<xsd:element maxOccurs="1" minOccurs="1" name="QuantidadeRps" type="tsQuantidadeRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="ListaRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:element maxOccurs="unbounded" minOccurs="1" name="Rps" type="tcDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						</xsd:element>
					</xsd:sequence>
				</xsd:complexType>
			</xsd:element>			
		</xsd:sequence>
		<xsd:attribute name="versao" type="tsVersao" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
	</xsd:complexType>

	<xsd:element name="ListaMensagemRetornoLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="unbounded" minOccurs="1" name="MensagemRetorno" type="tcMensagemRetornoLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="unbounded" minOccurs="1" name="MensagemRetorno" type="tcMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ListaMensagemAlertaRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="unbounded" minOccurs="1" name="MensagemRetorno" type="tcMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	
	<xsd:element name="cabecalho" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="versaoDados" type="tsVersao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
			<xsd:attribute name="versao" type="tsVersao" use="required" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="CompNfse" type="tcCompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

	<xsd:element name="Nfse" type="tcNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

	<xsd:element name="NfseCancelamento" type="tcCancelamentoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

	<xsd:element name="NfseSubstituicao" type="tcSubstituicaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

	<xsd:element name="EnviarLoteRpsEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element name="LoteRps" type="tcLoteRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="EnviarLoteRpsResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:element maxOccurs="1" minOccurs="1" name="NumeroLote" type="tsNumeroLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
					<xsd:element maxOccurs="1" minOccurs="1" name="DataRecebimento" type="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				</xsd:sequence>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>


	<xsd:element name="EnviarLoteRpsSincronoEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element name="LoteRps" type="tcLoteRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>

	</xsd:element>

	<xsd:element name="EnviarLoteRpsSincronoResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="NumeroLote" type="tsNumeroLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="DataRecebimento" type="tsData" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:element maxOccurs="1" minOccurs="1" name="ListaNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="unbounded" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="0" ref="ListaMensagemAlertaRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
					<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
					<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetornoLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				</xsd:choice>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="CancelarNfseEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="Pedido" type="tcPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="CancelarNfseResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" ref="tcRetCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="SubstituirNfseEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="SubstituicaoNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element name="Pedido" type="tcPedidoCancelamento" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							<xsd:element name="Rps" type="tcDeclaracaoPrestacaoServico" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="SubstituirNfseResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element name="RetSubstituicao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element name="NfseSubstituida" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
									<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
										<xsd:element maxOccurs="1" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
										<xsd:element maxOccurs="1" minOccurs="0" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
									</xsd:sequence>
								</xsd:complexType>
							</xsd:element>
							<xsd:element name="NfseSubstituidora" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
									<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
										<xsd:element maxOccurs="1" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
									</xsd:sequence>
								</xsd:complexType>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>


	<xsd:element name="ConsultarLoteRpsEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="NumeroLote" type="tsNumeroLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarLoteRpsResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="Situacao" type="tsSituacaoLoteRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:element maxOccurs="1" minOccurs="1" name="ListaNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="50" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="0" ref="ListaMensagemAlertaRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
					<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
					<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetornoLote" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				</xsd:choice>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseRpsEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRps" type="tcIdentificacaoRps" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseRpsResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>


	<xsd:element name="ConsultarNfseServicoPrestadoEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="0" name="NumeroNfse" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:element maxOccurs="1" minOccurs="0" name="PeriodoEmissao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="1" minOccurs="1" name="DataInicial" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="1" name="DataFinal" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
					<xsd:element maxOccurs="1" minOccurs="0" name="PeriodoCompetencia" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="1" minOccurs="1" name="DataInicial" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="1" name="DataFinal" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
				</xsd:choice>
				<xsd:element maxOccurs="1" minOccurs="0" name="Tomador" type="tcIdentificacaoTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="0" name="Intermediario" type="tcIdentificacaoIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="Pagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseServicoPrestadoResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="ListaNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element maxOccurs="50" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							<xsd:element maxOccurs="1" minOccurs="0" name="ProximaPagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>



	<xsd:element name="ConsultarNfseServicoTomadoEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="0" name="NumeroNfse" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:element maxOccurs="1" minOccurs="0" name="PeriodoEmissao" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="1" minOccurs="1" name="DataInicial" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="1" name="DataFinal" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
					<xsd:element maxOccurs="1" minOccurs="0" name="PeriodoCompetencia" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
								<xsd:element maxOccurs="1" minOccurs="1" name="DataInicial" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
								<xsd:element maxOccurs="1" minOccurs="1" name="DataFinal" type="xsd:date" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
				</xsd:choice>
				<xsd:element maxOccurs="1" minOccurs="0" name="Prestador" type="tcIdentificacaoPrestador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="0" name="Tomador" type="tcIdentificacaoTomador" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="0" name="Intermediario" type="tcIdentificacaoIntermediario" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="Pagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseServicoTomadoResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="ListaNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element maxOccurs="50" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							<xsd:element maxOccurs="1" minOccurs="0" name="ProximaPagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseFaixaEnvio" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="IdentificacaoRequerente" type="tcIdentificacaoRequerente" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
				<xsd:element maxOccurs="1" minOccurs="1" name="Faixa" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element maxOccurs="1" minOccurs="1" name="NumeroNfseInicial" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							<xsd:element maxOccurs="1" minOccurs="0" name="NumeroNfseFinal" type="tsNumeroNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element maxOccurs="1" minOccurs="1" name="Pagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>

	<xsd:element name="ConsultarNfseFaixaResposta" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:choice xmlns:xsd="http://www.w3.org/2001/XMLSchema">
				<xsd:element maxOccurs="1" minOccurs="1" name="ListaNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
					<xsd:complexType xmlns:xsd="http://www.w3.org/2001/XMLSchema">
						<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
							<xsd:element maxOccurs="50" minOccurs="1" ref="CompNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
							<xsd:element maxOccurs="1" minOccurs="0" name="ProximaPagina" type="tsPagina" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element maxOccurs="1" minOccurs="1" ref="ListaMensagemRetorno" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			</xsd:choice>
		</xsd:complexType>
	</xsd:element>

	<xsd:complexType name="tcRefNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="99" minOccurs="0" name="refNFSe" type="tsRefNFSe" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDest" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="CpfCnpj" type="tcCpfCnpj" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="NIF" type="tsNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cNaoNif" type="tsNaoNif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="XNome" type="tsRazaoSocial" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="fone" type="tsTelefone" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="email" type="tsEmail" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="end" type="tsEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcImovel" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="inscImobFisc" type="tsInscImobFisc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cCIB" type="tsCCIB" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="end" type="tsEndereco" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="Cst" type="tsCst" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cClassTrib" type="tsCClassTrib" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cCredPres" type="tsCCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gTribRegular" type="tcTribRegular" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gDif" type="tcDif" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcTribRegular" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="CstReg" type="tsCst" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cClassTribReg" type="tsClassTribReg" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcDif" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pDifUF" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pDifMun" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pDifCBS" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcTributoIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="gIBSCBS" type="tcGIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcValoresIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="trib" type="tcTributoIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcEnderecoExt" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="cPais" type="tsCPais" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="cEndPost" type="tsCEndPost" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="xCidade" type="tsXCidade" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="xEstProvReg" type="tsXEstProvReg" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcInfIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="finNFSe" type="tsFinNFSe" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="indFinal" type="tsIndFinal" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="cIndOp" type="tsCIndOp" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="tpOper" type="tsTpOper" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="tpEnteGov" type="tsTpEnteGov" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="indDest" type="tsIndDest" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gRefNFSe" type="tcRefNfse" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="dest" type="tcDest" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="imovel" type="tcImovel" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="valores" type="tcValoresIbsCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcIBSCBS" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="cLocalidadeIncid" type="tsCLocalidadeIncid" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="xLocalidadeIncid" type="tsXLocalidadeIncid" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pRedutor" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="valores" type="tcValoresIBSCBS" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="totCIBS" type="tcTotCIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcComercioExterior" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="1" name="mdPrestacao" type="tsMdPrestacao" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="vincPrest" type="tsVincPrest" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="tpMoeda" type="tsTpMoeda" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="vServMoeda" type="tsVServMoeda" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="mecAFComexP" type="tsMecAFComexP" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="mecAFComexT" type="tsMecAFComexT" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="movTempBens" type="tsMovTempBens" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="1" name="mdic" type="tsMdic" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="nDI" type="tsNDI" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="nRE" type="tsNRE" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcUfIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pIBSUF" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pRedAliqUF" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfetUF" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcMunIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pIBSMun" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pRedAliqMun" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfetMun" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcFedCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pCBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pRedAliqCBS" type="tsPercentual" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfetCBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcValoresIBSCBS" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="vBC" type="tsVBC" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="uf" type="tcUfIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="mun" type="tcMunIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="fed" type="tcFedCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGTribRegular" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfeRegIBSUF" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vTribRegIBSUF" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfeRegIBSMun" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vTribRegIBSMun" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pAliqEfeRegCBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vTribRegCBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGTribCompraGov" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pIBSUF" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vIBSUF" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pIBSMun" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vIBSMun" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="pCBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vCBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

    <xsd:complexType name="tcGCbsCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
        <xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
            <xsd:element maxOccurs="1" minOccurs="0" name="pCredPresCBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
            <xsd:element maxOccurs="1" minOccurs="0" name="vCredPresCBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
            <xsd:element maxOccurs="1" minOccurs="0" name="vDifCBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
            <xsd:element maxOccurs="1" minOccurs="0" name="vCBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
        </xsd:sequence>
    </xsd:complexType>

	<xsd:complexType name="tcGIbsCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="pCredPresIBS" type="tsAliquotaEfetiva" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vCredPresIBS" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGIbsUfTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="vDifUF" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vIBSUF" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGIbsMunTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="vDifMun" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="vIBSMun" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="vIBSTot" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gIBSCredPres" type="tcGIbsCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gIBSUFTot" type="tcGIbsUfTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gIBSMunTot" type="tcGIbsMunTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcGCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="gCBSCredPres" type="tcGCbsCredPres" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>

	<xsd:complexType name="tcTotCIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
		<xsd:sequence xmlns:xsd="http://www.w3.org/2001/XMLSchema">
			<xsd:element maxOccurs="1" minOccurs="0" name="vTotNF" type="tsVTot" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gTribRegular" type="tcGTribRegular" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gTribCompraGov" type="tcGTribCompraGov" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gIBS" type="tcGIbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
			<xsd:element maxOccurs="1" minOccurs="0" name="gCBS" type="tcGCbs" xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>
		</xsd:sequence>
	</xsd:complexType>
</xsd:schema>
  </wsdl:types>
  <wsdl:message name="ConsultarNfseRpsEnvio">
    <wsdl:part element="tns:ConsultarNfseRpsEnvio" name="ConsultarNfseRpsEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseFaixaResposta">
    <wsdl:part element="tns:ConsultarNfseFaixaResposta" name="ConsultarNfseFaixaResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseFaixaEnvio">
    <wsdl:part element="tns:ConsultarNfseFaixaEnvio" name="ConsultarNfseFaixaEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="CancelarNfseEnvio">
    <wsdl:part element="tns:CancelarNfseEnvio" name="CancelarNfseEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseServicoTomadoResposta">
    <wsdl:part element="tns:ConsultarNfseServicoTomadoResposta" name="ConsultarNfseServicoTomadoResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="EnviarLoteRpsSincronoResposta">
    <wsdl:part element="tns:EnviarLoteRpsSincronoResposta" name="EnviarLoteRpsSincronoResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="EnviarLoteRpsEnvio">
    <wsdl:part element="tns:EnviarLoteRpsEnvio" name="EnviarLoteRpsEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="CancelarNfseResposta">
    <wsdl:part element="tns:CancelarNfseResposta" name="CancelarNfseResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseServicoPrestadoResposta">
    <wsdl:part element="tns:ConsultarNfseServicoPrestadoResposta" name="ConsultarNfseServicoPrestadoResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarLoteRpsResposta">
    <wsdl:part element="tns:ConsultarLoteRpsResposta" name="ConsultarLoteRpsResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="SubstituirNfseEnvio">
    <wsdl:part element="tns:SubstituirNfseEnvio" name="SubstituirNfseEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseServicoTomadoEnvio">
    <wsdl:part element="tns:ConsultarNfseServicoTomadoEnvio" name="ConsultarNfseServicoTomadoEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="EnviarLoteRpsSincronoEnvio">
    <wsdl:part element="tns:EnviarLoteRpsSincronoEnvio" name="EnviarLoteRpsSincronoEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="EnviarLoteRpsResposta">
    <wsdl:part element="tns:EnviarLoteRpsResposta" name="EnviarLoteRpsResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarLoteRpsEnvio">
    <wsdl:part element="tns:ConsultarLoteRpsEnvio" name="ConsultarLoteRpsEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="SubstituirNfseResposta">
    <wsdl:part element="tns:SubstituirNfseResposta" name="SubstituirNfseResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseRpsResposta">
    <wsdl:part element="tns:ConsultarNfseRpsResposta" name="ConsultarNfseRpsResposta">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="ConsultarNfseServicoPrestadoEnvio">
    <wsdl:part element="tns:ConsultarNfseServicoPrestadoEnvio" name="ConsultarNfseServicoPrestadoEnvio">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="NfsePortSoap11">
    <wsdl:operation name="ConsultarNfseRps">
      <wsdl:input message="tns:ConsultarNfseRpsEnvio" name="ConsultarNfseRpsEnvio">
    </wsdl:input>
      <wsdl:output message="tns:ConsultarNfseRpsResposta" name="ConsultarNfseRpsResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseFaixa">
      <wsdl:input message="tns:ConsultarNfseFaixaEnvio" name="ConsultarNfseFaixaEnvio">
    </wsdl:input>
      <wsdl:output message="tns:ConsultarNfseFaixaResposta" name="ConsultarNfseFaixaResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CancelarNfse">
      <wsdl:input message="tns:CancelarNfseEnvio" name="CancelarNfseEnvio">
    </wsdl:input>
      <wsdl:output message="tns:CancelarNfseResposta" name="CancelarNfseResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseServicoTomado">
      <wsdl:input message="tns:ConsultarNfseServicoTomadoEnvio" name="ConsultarNfseServicoTomadoEnvio">
    </wsdl:input>
      <wsdl:output message="tns:ConsultarNfseServicoTomadoResposta" name="ConsultarNfseServicoTomadoResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnviarLoteRpsSincrono">
      <wsdl:input message="tns:EnviarLoteRpsSincronoEnvio" name="EnviarLoteRpsSincronoEnvio">
    </wsdl:input>
      <wsdl:output message="tns:EnviarLoteRpsSincronoResposta" name="EnviarLoteRpsSincronoResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnviarLoteRps">
      <wsdl:input message="tns:EnviarLoteRpsEnvio" name="EnviarLoteRpsEnvio">
    </wsdl:input>
      <wsdl:output message="tns:EnviarLoteRpsResposta" name="EnviarLoteRpsResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseServicoPrestado">
      <wsdl:input message="tns:ConsultarNfseServicoPrestadoEnvio" name="ConsultarNfseServicoPrestadoEnvio">
    </wsdl:input>
      <wsdl:output message="tns:ConsultarNfseServicoPrestadoResposta" name="ConsultarNfseServicoPrestadoResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarLoteRps">
      <wsdl:input message="tns:ConsultarLoteRpsEnvio" name="ConsultarLoteRpsEnvio">
    </wsdl:input>
      <wsdl:output message="tns:ConsultarLoteRpsResposta" name="ConsultarLoteRpsResposta">
    </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SubstituirNfse">
      <wsdl:input message="tns:SubstituirNfseEnvio" name="SubstituirNfseEnvio">
    </wsdl:input>
      <wsdl:output message="tns:SubstituirNfseResposta" name="SubstituirNfseResposta">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="NfsePortSoap11Soap11" type="tns:NfsePortSoap11">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <wsdl:operation name="ConsultarNfseRps">
      <soap:operation soapAction=""/>
      <wsdl:input name="ConsultarNfseRpsEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ConsultarNfseRpsResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseFaixa">
      <soap:operation soapAction=""/>
      <wsdl:input name="ConsultarNfseFaixaEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ConsultarNfseFaixaResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="CancelarNfse">
      <soap:operation soapAction=""/>
      <wsdl:input name="CancelarNfseEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="CancelarNfseResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseServicoTomado">
      <soap:operation soapAction=""/>
      <wsdl:input name="ConsultarNfseServicoTomadoEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ConsultarNfseServicoTomadoResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnviarLoteRpsSincrono">
      <soap:operation soapAction=""/>
      <wsdl:input name="EnviarLoteRpsSincronoEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="EnviarLoteRpsSincronoResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="EnviarLoteRps">
      <soap:operation soapAction=""/>
      <wsdl:input name="EnviarLoteRpsEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="EnviarLoteRpsResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarNfseServicoPrestado">
      <soap:operation soapAction=""/>
      <wsdl:input name="ConsultarNfseServicoPrestadoEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ConsultarNfseServicoPrestadoResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="ConsultarLoteRps">
      <soap:operation soapAction=""/>
      <wsdl:input name="ConsultarLoteRpsEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="ConsultarLoteRpsResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
    <wsdl:operation name="SubstituirNfse">
      <soap:operation soapAction=""/>
      <wsdl:input name="SubstituirNfseEnvio">
        <soap:body use="literal"/>
      </wsdl:input>
      <wsdl:output name="SubstituirNfseResposta">
        <soap:body use="literal"/>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="NfsePortSoap11Service">
    <wsdl:port binding="tns:NfsePortSoap11Soap11" name="NfsePortSoap11Soap11">
      <soap:address location="/nfseService"/>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>