Skip to content

Commit 385fb11

Browse files
[FIX] erpbrasil.edoc: fix consulta status cte
1 parent cef4e68 commit 385fb11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/erpbrasil/edoc/cte.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
RetConsStatServCte,
1515
RetCte,
1616
RetEventoCte,
17-
TconsSitCte,
17+
ConsSitCte,
1818
Tcte,
1919
ConsStatServCte
2020
)
@@ -213,7 +213,7 @@ def status_servico(self):
213213
)
214214

215215
def consulta_documento(self, chave):
216-
raiz = TconsSitCte(tpAmb=self.ambiente, chCTe=chave, versao=self.versao)
216+
raiz = ConsSitCte(tpAmb=self.ambiente, chCTe=chave, versao=self.versao)
217217
return self._post(
218218
raiz=raiz,
219219
url=self._search_url("CTeConsultaV4"),

0 commit comments

Comments
 (0)