Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] CTe Adapter #87

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions nfelib/nfe/ws/edoc_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from erpbrasil.edoc.edoc import DocumentoEletronico
from erpbrasil.edoc.mde import MDe
from erpbrasil.edoc.mdfe import MDFe
from erpbrasil.edoc.cte import CTe
from erpbrasil.edoc.nfce import NFCe
from erpbrasil.edoc.nfe import NFe
from erpbrasil.edoc.resposta import RetornoSoap, analisar_retorno_raw
Expand Down Expand Up @@ -109,6 +110,10 @@ class MDeAdapter(DocumentoElectronicoAdapter, MDe):
pass


class CTeAdapter(DocumentoElectronicoAdapter, CTe):
pass


class MDFeAdapter(DocumentoElectronicoAdapter, MDFe):
NAMESPACES = {
"mdfe": "http://www.portalfiscal.inf.br/mdfe",
Expand Down