Desenvolvimento NFS-e
Desenvolvimento NFS-e

Site destinado a desenvolvedores de softwares na integração com a NFS-e.
 
InícioInício  CalendárioCalendário  FAQFAQ  BuscarBuscar  GruposGrupos  Registrar-seRegistrar-se  Conectar-se  

Compartilhe | 
 

 Erro estranho provider GINFES / Acbr... erro valor líquido nota

Ver o tópico anterior Ver o tópico seguinte Ir em baixo 
AutorMensagem
TMPROGRAMMER



Mensagens : 1
Data de inscrição : 24/03/2016

MensagemAssunto: Erro estranho provider GINFES / Acbr... erro valor líquido nota   Qui Mar 24, 2016 11:26 am

Prezados, boa tarde! O meu sistema integrado com webservices mediante Acbr, para emissão de NFSE gera o XML abaixo:

<ns3:EnviarLoteRpsEnvio xmlns:ns3="http://www.ginfes.com.br/servico_enviar_lote_rps_envio_v03.xsd" xmlns:ns4="http://www.ginfes.com.br/tipos_v03.xsd">
<ns3:LoteRps Id="20">
<ns4:NumeroLote>20</ns4:NumeroLote>
<ns4:Cnpj>69270833001574</ns4:Cnpj>
<ns4:InscricaoMunicipal>162469</ns4:InscricaoMunicipal>
<ns4:QuantidadeRps>1</ns4:QuantidadeRps>
<ns4:ListaRps>
<ns4:Rps>
<ns4:InfRps Id="564181">
<ns4:IdentificacaoRps>
<ns4:Numero>56418</ns4:Numero>
<ns4:Serie>1</ns4:Serie>
<ns4:Tipo>1</ns4:Tipo>
</ns4:IdentificacaoRps>
<ns4:DataEmissao>2016-03-24T00:00:00</ns4:DataEmissao>
<ns4:NaturezaOperacao>1</ns4:NaturezaOperacao>
<ns4:OptanteSimplesNacional>2</ns4:OptanteSimplesNacional>
<ns4:IncentivadorCultural>2</ns4:IncentivadorCultural>
<ns4:Status>1</ns4:Status>
<ns4:Servico>
<ns4:Valores>
<ns4:ValorServicos>500.00</ns4:ValorServicos>
<ns4:ValorDeducoes>0.00</ns4:ValorDeducoes>
<ns4:ValorPis>0.00</ns4:ValorPis>
<ns4:ValorCofins>0.00</ns4:ValorCofins>
<ns4:ValorInss>0.00</ns4:ValorInss>
<ns4:ValorIr>0.00</ns4:ValorIr>
<ns4:ValorCsll>0.00</ns4:ValorCsll>
<ns4:IssRetido>2</ns4:IssRetido>
<ns4:ValorIss>10.00</ns4:ValorIss>
<ns4:ValorIssRetido>0.00</ns4:ValorIssRetido>
<ns4:OutrasRetencoes>0.00</ns4:OutrasRetencoes>
<ns4:BaseCalculo>500.00</ns4:BaseCalculo>
<ns4:Aliquota>0.0200</ns4:Aliquota>
<ns4:ValorLiquidoNfse>500.00</ns4:ValorLiquidoNfse>
<ns4:DescontoIncondicionado>0.00</ns4:DescontoIncondicionado>
<ns4:DescontoCondicionado>0.00</ns4:DescontoCondicionado>
</ns4:Valores>
<ns4:ItemListaServico>8.02</ns4:ItemListaServico>
<ns4:CodigoTributacaoMunicipio>859969900</ns4:CodigoTributacaoMunicipio>
<ns4:Discriminacao>Treinamento Atendimento Aeroportuario Empresa Privada ;</ns4:Discriminacao>
<ns4:CodigoMunicipio>3518800</ns4:CodigoMunicipio>
</ns4:Servico>
<ns4:Prestador>
<ns4:Cnpj>69270833001574</ns4:Cnpj>
<ns4:InscricaoMunicipal>162469</ns4:InscricaoMunicipal>
</ns4:Prestador>
<ns4:Tomador>
<ns4:IdentificacaoTomador>
<ns4:CpfCnpj>
<ns4:Cpf>29342323871</ns4:Cpf>
</ns4:CpfCnpj>
</ns4:IdentificacaoTomador>
<ns4:RazaoSocial>ANA PAULA FERREIRA DUARTE</ns4:RazaoSocial>
<ns4:Endereco>
<ns4:Endereco>RUA SERVIDAO DA PSAAGEM 107</ns4:Endereco>
<ns4:Numero>107</ns4:Numero>
<ns4:Bairro>VILA UNIAO</ns4:Bairro>
<ns4:CodigoMunicipio>3518800</ns4:CodigoMunicipio>
<ns4:Uf>SP</ns4:Uf>
<ns4:Cep>07145405</ns4:Cep>
</ns4:Endereco>
</ns4:Tomador>
</ns4:InfRps>
</ns4:Rps>
</ns4:ListaRps>
</ns3:LoteRps>
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#" Id="AssLote_20">
<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="#20">
<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>jLEZXIQ+sXqLplClBd4XhDISUzA=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>LzuTlhWlSI/cY8LOuOBFUA8ReO1a2ocw3XymTiAIXkl6JIC11JST5nAKg+uS0YLiH6CV5zM4FREf6k8abbhudAyOzkiSAZXN1VmiHD78p/KTNsWXk39BvA1FrEqHtRdFcHQMH37DpO9XH1I2oJ7RFf2ZdzcIfAXPG7OcT0oav/dlJK8jkpCxx0Fw+O9NClPipuCKxXBRmcBN5ov7Ildz5aEpGzFwTumpN5ZBP47Qy3qk4vxfeQzIwDcm3ZA9URXg+hxItfC0cWBbdwMixo7qwCJJp7oE7mh+BZS1dYMc1TqvGFsyC1DK0UV5e+mu+W00e/qnlKP8z1YZyPv1d4PWgQ==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIH4TCCBcmgAwIBAgIILwgzZStCH3cwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjIwHhcNMTUwODEyMTIyMzAwWhcNMTYwODExMTIyMzAwWjCB/jELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDYzMjkxODkxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQ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dqtmaph0JZnrWohGzHmpgS8lHN44U+b/0nhfEfqY8k/aFUp3+wXs6eDPlu8DEKPZlnJxzT8aJvWAGQ9+lQVCt3MAhs1qJPQvoF9kr8RmJ1lfMXLfDRuPJE9L9WjmWVFuHzhhyMxOfomsySckIjJnYaMa+kNwlg2h1EcCIniGnxJhd5MO5fgYQTawzzBolOLx9VEJIdN4WvAh14LE=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</ns3:EnviarLoteRpsEnvio>


Mas, ocorre que há sempre erro de cálculo do valor líquido, sendo que esse cálculo está sendo feito de maneira correta, o que ocorre? Há alguma validação adicional no web service?

Olhem o que o sistema manda pro web service:

<ns4:ValorServicos>500.00</ns4:ValorServicos>
<ns4:ValorDeducoes>0.00</ns4:ValorDeducoes>
<ns4:ValorPis>0.00</ns4:ValorPis>
<ns4:ValorCofins>0.00</ns4:ValorCofins>
<ns4:ValorInss>0.00</ns4:ValorInss>
<ns4:ValorIr>0.00</ns4:ValorIr>
<ns4:ValorCsll>0.00</ns4:ValorCsll>
<ns4:IssRetido>2</ns4:IssRetido>
<ns4:ValorIss>10.00</ns4:ValorIss>
<ns4:ValorIssRetido>0.00</ns4:ValorIssRetido>
<ns4:OutrasRetencoes>0.00</ns4:OutrasRetencoes>
<ns4:BaseCalculo>500.00</ns4:BaseCalculo>
<ns4:Aliquota>0.0200</ns4:Aliquota>
<ns4:ValorLiquidoNfse>500.00</ns4:ValorLiquidoNfse>


O Cálculo do valor líquido é esse :

Valor Líquido = Valor dos serviços (-) Valor PIS (-) Valor COFINS (-) Valor INSS (-) Valor IR (-) Valor CSLL (-) OutrasRetençoes (-) Valor ISS Retido (-) Desconto Incondicionado (-) Desconto Condicionado


É o que faço no sistema, o que pode estar errado?


Muito obrigado!
Voltar ao Topo Ir em baixo
 
Erro estranho provider GINFES / Acbr... erro valor líquido nota
Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo 
Página 1 de 1

Permissão deste fórum:Você não pode responder aos tópicos neste fórum
Desenvolvimento NFS-e  :: Erros e Alertas-
Ir para: