You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
478 B
19 lines
478 B
# coding=utf-8
|
|
'''
|
|
Created on 21/06/2015
|
|
|
|
@author: danimar
|
|
'''
|
|
from pytrustnfe.servicos.comunicacao import Comunicacao
|
|
|
|
class NfeStatusServico(Comunicacao):
|
|
|
|
def status(self, consulta):
|
|
xml = self._validar_xml(recibo)
|
|
|
|
self.metodo = 'NfeStatusServico2'
|
|
self.tag_retorno = 'retConsStatServ'
|
|
self.web_service = 'ws/NfeStatusServico/NfeStatusServico2.asmx'
|
|
self.url = 'nfe.sefazrs.rs.gov.br'
|
|
|
|
return self._executar_consulta(xml)
|