From 78de72edd2b3259aa2d68bfe74f7894c488c4ae9 Mon Sep 17 00:00:00 2001 From: Danimar Ribeiro Date: Thu, 29 Dec 2016 17:54:34 -0200 Subject: [PATCH] Url de cancelamento do estado de SP e PE --- pytrustnfe/Servidores.py | 6 +++++- setup.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pytrustnfe/Servidores.py b/pytrustnfe/Servidores.py index c79015f..3f00523 100644 --- a/pytrustnfe/Servidores.py +++ b/pytrustnfe/Servidores.py @@ -472,6 +472,7 @@ UFPE = { NFE_AMBIENTE_PRODUCAO: { 'servidor': 'nfe.sefaz.pe.gov.br', WS_NFE_RECEPCAO_EVENTO: 'nfe-service/services/RecepcaoEvento', + WS_NFE_CANCELAMENTO: 'nfe-service/services/RecepcaoEvento', WS_NFE_AUTORIZACAO: 'nfe-service/services/NfeAutorizacao', WS_NFE_RET_AUTORIZACAO: 'nfe-service/services/NfeRetAutorizacao', WS_NFE_INUTILIZACAO: 'nfe-service/services/NfeInutilizacao2', @@ -482,6 +483,7 @@ UFPE = { NFE_AMBIENTE_HOMOLOGACAO: { 'servidor': 'nfehomolog.sefaz.pe.gov.br', WS_NFE_RECEPCAO_EVENTO: 'nfe-service/services/RecepcaoEvento', + WS_NFE_CANCELAMENTO: 'nfe-service/services/RecepcaoEvento', WS_NFE_AUTORIZACAO: 'nfe-service/services/NfeAutorizacao', WS_NFE_RET_AUTORIZACAO: 'nfe-service/services/NfeRetAutorizacao', WS_NFE_INUTILIZACAO: 'nfe-service/services/NfeInutilizacao2', @@ -523,7 +525,7 @@ UFRS = { }, NFCE_MODELO: { NFE_AMBIENTE_PRODUCAO: { - 'servidor': 'ncfe.sefaz.rs.gov.br', + 'servidor': 'nfce.sefaz.rs.gov.br', WS_NFCE_RECEPCAO_EVENTO: 'ws/recepcaoevento/recepcaoevento.asmx', WS_NFCE_AUTORIZACAO: 'ws/NfeAutorizacao/NFeAutorizacao.asmx', WS_NFCE_RET_AUTORIZACAO: 'ws/NfeRetAutorizacao/NFeRetAutorizacao.asmx', @@ -564,6 +566,7 @@ UFSP = { WS_NFE_SITUACAO: 'ws/nfestatusservico2.asmx', WS_NFE_CADASTRO: 'ws/cadconsultacadastro2.asmx', WS_NFE_RECEPCAO_EVENTO: 'ws/recepcaoevento.asmx', + WS_NFE_CANCELAMENTO: 'ws/recepcaoevento.asmx', }, NFE_AMBIENTE_HOMOLOGACAO: { 'servidor': 'homologacao.nfe.fazenda.sp.gov.br', @@ -574,6 +577,7 @@ UFSP = { WS_NFE_SITUACAO: 'ws/nfestatusservico2.asmx', WS_NFE_CADASTRO: 'ws/cadconsultacadastro2.asmx', WS_NFE_RECEPCAO_EVENTO: 'ws/recepcaoevento.asmx', + WS_NFE_CANCELAMENTO: 'ws/recepcaoevento.asmx', } }, NFCE_MODELO: { diff --git a/setup.py b/setup.py index 60de45c..f52e9f8 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # coding=utf-8 from setuptools import setup, find_packages -VERSION = "0.1.15" +VERSION = "0.1.16" setup( name="PyTrustNFe",