Pessoal <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns:xsd=“XML Schema”>soap:Body<?xml version=“1.0” encoding=“UTF-8”?><RetornoConsulta xmlns:xsd=“XML Schema” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xmlns=“http://www.prefeitura.sp.gov.br/nfe”><Cabecalho Versao=“1” xmlns=“”><Sucesso>false</Sucesso></Cabecalho><Erro xmlns=“”><Codigo>1001</Codigo><Descricao>XML não compatível com Schema.The element ‘PedidoConsultaNFePeriodo’ in namespace ‘http://www.prefeitura.sp.gov.br/nfe’ has invalid child element ‘Cabecalho’ in namespace ‘http://www.prefeitura.sp.gov.br/nfe’. List of possible elements expected: ‘Cabecalho’.</Descricao></Erro></RetornoConsulta></soap:Body></soap:Envelope> alguem poderia me ajudar a corrigir esse erro ja tentei varias maneiras porem nao estou conseguindo corrigir o schema →
<PedidoConsultaNFePeriodo xmlns="http://www.prefeitura.sp.gov.br/nfe">
<Cabecalho Versao="1">
<CPFCNPJRemetente>
<CNPJ>00000000000191</CNPJ>
</CPFCNPJRemetente>
</Cabecalho>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />
<DigestValue>BASE64_DO_HASH_AQUI</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>BASE64_DA_ASSINATURA_AQUI</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>BASE64_DO_CERTIFICADO_AQUI</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<Detalhe>
<CPFCNPJ>
<CNPJ>00000000000191</CNPJ>
</CPFCNPJ>
<Inscricao>00000000</Inscricao>
<dtInicio>2026-01-01</dtInicio>
<dtFim>2026-01-15</dtFim>
<NumeroPagina>1</NumeroPagina>
</Detalhe>
</PedidoConsultaNFePeriodo>