Browse Source

[FIX] Corrige NFS-e Simpliss

pull/243/head
Danimar Ribeiro 6 years ago
parent
commit
704cd29b42
  1. 2
      pytrustnfe/nfse/simpliss/__init__.py
  2. 2
      setup.py

2
pytrustnfe/nfse/simpliss/__init__.py

@ -40,7 +40,7 @@ def _send(method, **kwargs):
base_url = 'http://wshomologacao.simplissweb.com.br/nfseservice.svc' # noqa base_url = 'http://wshomologacao.simplissweb.com.br/nfseservice.svc' # noqa
base_url = 'http://wshomologacao.simplissweb.com.br/nfseservice.svc' base_url = 'http://wshomologacao.simplissweb.com.br/nfseservice.svc'
xml_send = kwargs["xml"].replace('<?xml version="1.0"?>', '')
xml_send = kwargs["xml"]
path = os.path.join(os.path.dirname(__file__), 'templates') path = os.path.join(os.path.dirname(__file__), 'templates')
soap = render_xml(path, 'SoapRequest.xml', False, soap_body=xml_send) soap = render_xml(path, 'SoapRequest.xml', False, soap_body=xml_send)

2
setup.py

@ -2,7 +2,7 @@
from setuptools import setup, find_packages from setuptools import setup, find_packages
VERSION = "1.0.40"
VERSION = "1.0.41"
setup( setup(

Loading…
Cancel
Save