<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.abrasf.org.br/nfse" targetNamespace="http://www.abrasf.org.br/nfse" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:include schemaLocation="tipos_complexos.xsd"/>
	<xsd:element name="GerarNfseResposta">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="NumeroLote" type="tsNumeroLote" minOccurs="0"/>
				<xsd:element name="DataRecebimento" type="xsd:dateTime" minOccurs="0"/>
				<xsd:element name="Protocolo" type="tsNumeroProtocolo" minOccurs="0"/>
				<xsd:choice>
					<xsd:element name="ListaNfse">
						<xsd:complexType>
							<xsd:sequence>
								<xsd:element name="CompNfse" type="tcCompNfse" maxOccurs="unbounded"/>
							</xsd:sequence>
						</xsd:complexType>
					</xsd:element>
					<xsd:element ref="ListaMensagemRetorno"/>
					<xsd:element ref="ListaMensagemRetornoLote"/>
				</xsd:choice>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
