diff --git a/pynfe/processamento/comunicacao.py b/pynfe/processamento/comunicacao.py index 1a79846..8a0f505 100644 --- a/pynfe/processamento/comunicacao.py +++ b/pynfe/processamento/comunicacao.py @@ -506,9 +506,6 @@ class ComunicacaoSefaz(Comunicacao): etree.tostring(xml, encoding='unicode').replace('\n', '') ) xml = xml_declaration + xml - # debug dev 4.00 - print(xml) - print(url) # Faz o request com o servidor result = requests.post(url, xml, headers=self._post_header(), cert=chave_cert, verify=False) result.encoding = 'utf-8' diff --git a/pynfe/utils/webservices.py b/pynfe/utils/webservices.py index b836f1a..50a0c77 100644 --- a/pynfe/utils/webservices.py +++ b/pynfe/utils/webservices.py @@ -198,12 +198,13 @@ NFCE = { 'HOMOLOGACAO': 'https://homologacao.' }, 'PR': { - 'STATUS': 'nfce.fazenda.pr.gov.br/nfce/NFeStatusServico3', - 'AUTORIZACAO': 'nfce.fazenda.pr.gov.br/nfce/NFeAutorizacao3', - 'RECIBO': 'nfce.fazenda.pr.gov.br/nfce/NFeRetAutorizacao3', - 'CHAVE': 'nfce.fazenda.pr.gov.br/nfce/NFeConsulta3', - 'INUTILIZACAO': 'nfce.fazenda.pr.gov.br/nfce/NFeInutilizacao3', - 'EVENTOS': 'nfce.fazenda.pr.gov.br/nfce/NFeRecepcaoEvento', + 'STATUS': 'nfce.sefa.pr.gov.br/nfce/NFeStatusServico4?wsdl', + 'AUTORIZACAO': 'nfce.sefa.pr.gov.br/nfce/NFeAutorizacao4?wsdl', + 'RECIBO': 'nfce.sefa.pr.gov.br/nfce/NFeRetAutorizacao4?wsdl', + 'CHAVE': 'nfce.sefa.pr.gov.br/nfce/NFeConsultaProtocolo4?wsdl', + 'INUTILIZACAO': 'nfce.sefa.pr.gov.br/nfce/NFeInutilizacao4?wsdl', + 'EVENTOS': 'nfce.sefa.pr.gov.br/nfce/NFeRecepcaoEvento4?wsdl', + 'CADASTRO': 'nfce.sefa.pr.gov.br/nfce/CadConsultaCadastro4?wsdl', 'QR': 'http://www.fazenda.pr.gov.br/nfce/qrcode?', 'URL': 'http://www.fazenda.pr.gov.br', 'HTTPS': 'https://',