ninobaldo
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
pytrustnfe/nfse/ginfes/__init__.py
|
|
@ -18,7 +18,7 @@ def _render(certificado, method, **kwargs): |
|
|
xml_send = render_xml(path, "%s.xml" % method, True, **kwargs) |
|
|
xml_send = render_xml(path, "%s.xml" % method, True, **kwargs) |
|
|
|
|
|
|
|
|
reference = "" |
|
|
reference = "" |
|
|
if method == "RecepcionarLoteRpsV3" or "RecepcionarLoteRpsV3": |
|
|
|
|
|
|
|
|
if method in ("RecepcionarLoteRpsV3", "RecepcionarLoteRpsV3"): |
|
|
reference = "rps%s" % kwargs["nfse"]["lista_rps"][0]["numero"] |
|
|
reference = "rps%s" % kwargs["nfse"]["lista_rps"][0]["numero"] |
|
|
elif method == "CancelarNfseV3": |
|
|
elif method == "CancelarNfseV3": |
|
|
reference = "C%s" % kwargs["cancelamento"]["numero_nfse"] |
|
|
reference = "C%s" % kwargs["cancelamento"]["numero_nfse"] |
|
|
|