Generation of GNRE Guides for the state of RJ

1

Good morning,

I am developing an application that generates and submits GNRE guides to the state of Rio de Janeiro. I have already done the development for the national environment and it is working, however the state of RJ is not integrated with the national environment.

I am following the documentation available on the state website.

asked by anonymous 30.03.2016 / 15:56

1 answer

1

I was able to figure out what happened. The problem was XML.

Follow the XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://www.openuri.org/">
<soap:Header/>
<soap:Body>
    <enviarDados>
        <emitente>
            <CnpjEmitente>33042730001771</CnpjEmitente>
            <Email>[email protected]</Email>
        </emitente>
        <documentos>
            <Documento>
                <DataPagamento>29/05/2013</DataPagamento>
                <ItensPagamentos>
                    <ItemPagamento>
                        <CepContribuinte>27260390</CepContribuinte>
                        <Cnpj>33042730001771</Cnpj>
                        <CodigoProduto>000000000477</CodigoProduto>
                        <DataVencimento>23/05/2013</DataVencimento>
                        <DddContribuinte>243</DddContribuinte>
                        <DiaVencimento>23</DiaVencimento>
                        <EnderecoContribuinte>RODOVIA BR 393 - LUCIO S/N, KM 5001 VILA SANTA CECILIA</EnderecoContribuinte>
                        <InformacoesComplementares>ADFASDF</InformacoesComplementares>
                        <InscEstadualRJ>80541767</InscEstadualRJ>
                        <MunicipioContribuinte>VOLTA REDONDA</MunicipioContribuinte>
                        <Natureza>000000000004</Natureza>
                        <NomeRazaoSocial>COMPANHIA SIDERURGICA NACIONAL - CS</NomeRazaoSocial>
                        <NotaFiscalCnpj>46044053004607</NotaFiscalCnpj>
                        <NotaFiscalDataEmissao>23/05/2013</NotaFiscalDataEmissao>
                        <NotaFiscalNumero>000000002</NotaFiscalNumero>
                        <NotaFiscalSerie>1</NotaFiscalSerie>
                        <NotaFiscalTipo>NF-e</NotaFiscalTipo>
                        <NumControleContribuinte>0000032669</NumControleContribuinte>
                        <TelefoneContribuinte>2433445194</TelefoneContribuinte>
                        <TipoApuracao>2</TipoApuracao>
                        <TipoId>1</TipoId>
                        <UfContribuinte>RJ</UfContribuinte>
                        <ValorFECPPrincipal>0.02</ValorFECPPrincipal>
                        <ValorICMSPrincipal>0.12</ValorICMSPrincipal>
                        <ValorTotal>0.14</ValorTotal>
                    </ItemPagamento>
                </ItensPagamentos>
                <SqDocumento>1</SqDocumento>
                <TipoDocumento>1</TipoDocumento>
                <TipoPagamento>1</TipoPagamento>
            </Documento>
        </documentos>
    </enviarDados>
</soap:Body>
</soap:Envelope>
    
30.03.2016 / 20:31