Problema ao emitir NFSe – Município de Magé (3302502)

Olá pessoal, tudo bem?

Estou realizando testes de emissão de NFSe no ambiente de homologação, e estou enfrentando um problema específico ao tentar emitir para o município de Magé/RJ (código IBGE 3302502).

Cenário:

  • Ambiente: Homologação

  • Município do Prestador: Magé (3302502)

  • Município do Tomador: Magé (3302502)

Erros encontrados

Quando informo a Inscrição Municipal do Prestador:

E0120 = IM do prestador não deve ser informada, pois não existem informações complementares registradas no CNC NFS-e do município emissor informado na DPS.

Quando removo a Inscrição Municipal:

E999 = Erro não catalogado

Segue abaixo o XML:

<DPS xmlns="http://www.sped.fazenda.gov.br/nfse" versao="1.00">
<infDPS Id="DPS330250221956070700018000001000000000000001">
<tpAmb>2</tpAmb>
<dhEmi>2025-11-11T00:00:00-03:00</dhEmi>
<verAplic>1.2.0</verAplic>
<serie>1</serie>
<nDPS>1</nDPS>
<dCompet>2025-11-11</dCompet>
<tpEmit>1</tpEmit>
<cLocEmi>3302502</cLocEmi>
<prest>
<CNPJ>19560707000180</CNPJ>
<xNome>HERA ENGENHARIA DE SOFTWARE LTDA</xNome>
<fone>2181429071</fone>
<email>exemplo@exemplo.com</email>
<regTrib>
<opSimpNac>2</opSimpNac>
<regEspTrib>0</regEspTrib>
</regTrib>
</prest>
<toma>
<CPF>CPF</CPF>
<xNome>Nome</xNome>
<end>
<endNac>
<cMun>3302502</cMun>
<CEP>25931726</CEP>
</endNac>
<xLgr>Maria Rita</xLgr>
<nro>0</nro>
<xCpl></xCpl>
<xBairro>Piabeta</xBairro>
</end>
<email>exemplo@exemplo.com</email>
</toma>
<serv>
<locPrest>
<cLocPrestacao>3302502</cLocPrestacao>
</locPrest>
<cServ>
<cTribNac>010201</cTribNac>
<xDescServ>Venda de Site</xDescServ>
</cServ>
</serv>
<valores>
<vServPrest>
<vServ>0.01</vServ>
</vServPrest>
<trib>
<tribMun>
<tribISSQN>1</tribISSQN>
<tpRetISSQN>1</tpRetISSQN>
</tribMun>
<totTrib>
<indTotTrib>0</indTotTrib>
</totTrib>
</trib>
</valores>
</infDPS>
<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="#DPS330250221956070700018000001000000000000001">
<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>xxx</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>xxx</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>xxx</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</DPS>