├── .github └── workflows │ └── testrunner.yml ├── .gitignore ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── docs ├── Makefile ├── _static │ ├── images │ │ ├── anatomia-cfe.png │ │ ├── ersat-col-origem.png │ │ ├── modelo-op-sat.png │ │ └── troca-cfe-ac-sat.png │ └── svg │ │ ├── anatomia-cfe.svg │ │ ├── ersat-col-origem.svg │ │ ├── modelo-op-sat.svg │ │ └── troca-cfe-ac-sat.svg ├── _templates │ └── ._templates ├── alertas.rst ├── api.rst ├── apidoc │ ├── alertas.rst │ ├── base.rst │ ├── clientelocal.rst │ ├── clientesathub.rst │ ├── entidades.rst │ ├── excecoes.rst │ ├── rede.rst │ ├── resposta │ │ ├── ativarsat.rst │ │ ├── cancelarultimavenda.rst │ │ ├── consultarnumerosessao.rst │ │ ├── consultarstatusoperacional.rst │ │ ├── enviardadosvenda.rst │ │ ├── extrairlogs.rst │ │ ├── padrao.rst │ │ └── testefimafim.rst │ └── util.rst ├── basico.rst ├── cliente.rst ├── conf.py ├── exemplos.rst ├── funcoes.rst ├── index.rst ├── make.bat ├── references.rst ├── testes.rst └── venda_cancelamento.rst ├── requirements ├── dev.txt └── doc.txt ├── runtests.sh ├── satcfe ├── __init__.py ├── alertas.py ├── base.py ├── clientelocal.py ├── clientesathub.py ├── entidades.py ├── excecoes.py ├── rede.py ├── resposta │ ├── __init__.py │ ├── associarassinatura.py │ ├── ativarsat.py │ ├── cancelarultimavenda.py │ ├── consultarnumerosessao.py │ ├── consultarstatusoperacional.py │ ├── consultarultimasessaofiscal.py │ ├── enviardadosvenda.py │ ├── extrairlogs.py │ ├── padrao.py │ └── testefimafim.py └── util.py ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── conftest.py ├── data │ ├── associarassinatura │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── ativarsat │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── atualizarsoftwaresat │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── bloquearsat │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── cancelarultimavenda │ │ ├── cfecanc-autorizado.xml │ │ ├── cfecanc.xml │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── comunicarcertificadoicpbrasil │ │ ├── certificado.txt │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── configurarinterfacederede │ │ ├── conf-rede-min.xml │ │ ├── conf-rede.xml │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── consultarnumerosessao │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── consultarstatusoperacional │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── consultarultimasessaofiscal │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── desbloquearsat │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── enviardadosvenda │ │ ├── cfe-autorizado.xml │ │ ├── cfe.xml │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── extrairlogs │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ ├── testefimafim │ │ ├── cfe-teste-assinado.xml │ │ ├── cfe-teste.xml │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt │ └── trocarcodigodeativacao │ │ ├── respostas-de-falha.txt │ │ ├── respostas-de-sucesso.txt │ │ └── respostas-invalidas.txt ├── entidades │ ├── __init__.py │ ├── test_cfecanc.py │ ├── test_cfevenda.py │ ├── test_cofins.py │ ├── test_descacrentr.py │ ├── test_destinatario.py │ ├── test_detalhamento.py │ ├── test_emitente.py │ ├── test_icms.py │ ├── test_imposto.py │ ├── test_infadic.py │ ├── test_issqn.py │ ├── test_localentrega.py │ ├── test_meiopagamento.py │ ├── test_obsfiscodet.py │ ├── test_pis.py │ └── test_produtoservico.py ├── mockup │ ├── Makefile │ ├── mockupsat.c │ └── mockupsat.h ├── test_alertas.py ├── test_associarassinatura.py ├── test_ativarsat.py ├── test_atualizarsoftwaresat.py ├── test_bloquearsat.py ├── test_cancelarultimavenda.py ├── test_comunicarcertificadoicpbrasil.py ├── test_configurarinterfacederede.py ├── test_consultarnumerosessao.py ├── test_consultarsat.py ├── test_consultarstatusoperacional.py ├── test_consultarultimasessaofiscal.py ├── test_desbloquearsat.py ├── test_enviardadosvenda.py ├── test_excecoes.py ├── test_extrairlogs.py ├── test_numeradorsessao.py ├── test_rede.py ├── test_resposta_padrao.py ├── test_satcfe.py ├── test_testefimafim.py ├── test_trocarcodigodeativacao.py └── test_util.py └── tox.ini /.github/workflows/testrunner.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/.github/workflows/testrunner.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/README.rst -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/images/anatomia-cfe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/images/anatomia-cfe.png -------------------------------------------------------------------------------- /docs/_static/images/ersat-col-origem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/images/ersat-col-origem.png -------------------------------------------------------------------------------- /docs/_static/images/modelo-op-sat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/images/modelo-op-sat.png -------------------------------------------------------------------------------- /docs/_static/images/troca-cfe-ac-sat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/images/troca-cfe-ac-sat.png -------------------------------------------------------------------------------- /docs/_static/svg/anatomia-cfe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/svg/anatomia-cfe.svg -------------------------------------------------------------------------------- /docs/_static/svg/ersat-col-origem.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/svg/ersat-col-origem.svg -------------------------------------------------------------------------------- /docs/_static/svg/modelo-op-sat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/svg/modelo-op-sat.svg -------------------------------------------------------------------------------- /docs/_static/svg/troca-cfe-ac-sat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/_static/svg/troca-cfe-ac-sat.svg -------------------------------------------------------------------------------- /docs/_templates/._templates: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/alertas.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/alertas.rst -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/apidoc/alertas.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/alertas.rst -------------------------------------------------------------------------------- /docs/apidoc/base.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/base.rst -------------------------------------------------------------------------------- /docs/apidoc/clientelocal.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/clientelocal.rst -------------------------------------------------------------------------------- /docs/apidoc/clientesathub.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/clientesathub.rst -------------------------------------------------------------------------------- /docs/apidoc/entidades.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/entidades.rst -------------------------------------------------------------------------------- /docs/apidoc/excecoes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/excecoes.rst -------------------------------------------------------------------------------- /docs/apidoc/rede.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/rede.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/ativarsat.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/ativarsat.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/cancelarultimavenda.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/cancelarultimavenda.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/consultarnumerosessao.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/consultarnumerosessao.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/consultarstatusoperacional.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/consultarstatusoperacional.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/enviardadosvenda.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/enviardadosvenda.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/extrairlogs.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/extrairlogs.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/padrao.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/padrao.rst -------------------------------------------------------------------------------- /docs/apidoc/resposta/testefimafim.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/resposta/testefimafim.rst -------------------------------------------------------------------------------- /docs/apidoc/util.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/apidoc/util.rst -------------------------------------------------------------------------------- /docs/basico.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/basico.rst -------------------------------------------------------------------------------- /docs/cliente.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/cliente.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/exemplos.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/exemplos.rst -------------------------------------------------------------------------------- /docs/funcoes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/funcoes.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/references.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/references.rst -------------------------------------------------------------------------------- /docs/testes.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/testes.rst -------------------------------------------------------------------------------- /docs/venda_cancelamento.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/docs/venda_cancelamento.rst -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- 1 | -e . 2 | 3 | pytest>=4.6,<5 4 | tox 5 | -------------------------------------------------------------------------------- /requirements/doc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/requirements/doc.txt -------------------------------------------------------------------------------- /runtests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/runtests.sh -------------------------------------------------------------------------------- /satcfe/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/__init__.py -------------------------------------------------------------------------------- /satcfe/alertas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/alertas.py -------------------------------------------------------------------------------- /satcfe/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/base.py -------------------------------------------------------------------------------- /satcfe/clientelocal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/clientelocal.py -------------------------------------------------------------------------------- /satcfe/clientesathub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/clientesathub.py -------------------------------------------------------------------------------- /satcfe/entidades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/entidades.py -------------------------------------------------------------------------------- /satcfe/excecoes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/excecoes.py -------------------------------------------------------------------------------- /satcfe/rede.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/rede.py -------------------------------------------------------------------------------- /satcfe/resposta/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/__init__.py -------------------------------------------------------------------------------- /satcfe/resposta/associarassinatura.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/associarassinatura.py -------------------------------------------------------------------------------- /satcfe/resposta/ativarsat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/ativarsat.py -------------------------------------------------------------------------------- /satcfe/resposta/cancelarultimavenda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/cancelarultimavenda.py -------------------------------------------------------------------------------- /satcfe/resposta/consultarnumerosessao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/consultarnumerosessao.py -------------------------------------------------------------------------------- /satcfe/resposta/consultarstatusoperacional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/consultarstatusoperacional.py -------------------------------------------------------------------------------- /satcfe/resposta/consultarultimasessaofiscal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/consultarultimasessaofiscal.py -------------------------------------------------------------------------------- /satcfe/resposta/enviardadosvenda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/enviardadosvenda.py -------------------------------------------------------------------------------- /satcfe/resposta/extrairlogs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/extrairlogs.py -------------------------------------------------------------------------------- /satcfe/resposta/padrao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/padrao.py -------------------------------------------------------------------------------- /satcfe/resposta/testefimafim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/resposta/testefimafim.py -------------------------------------------------------------------------------- /satcfe/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/satcfe/util.py -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/data/associarassinatura/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/associarassinatura/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/associarassinatura/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|13000|Assinatura do AC registrada|| -------------------------------------------------------------------------------- /tests/data/associarassinatura/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/associarassinatura/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/ativarsat/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/ativarsat/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/ativarsat/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/ativarsat/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/ativarsat/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/ativarsat/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/atualizarsoftwaresat/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/atualizarsoftwaresat/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/atualizarsoftwaresat/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|14000|Software atualizado com sucesso|| -------------------------------------------------------------------------------- /tests/data/atualizarsoftwaresat/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/atualizarsoftwaresat/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/bloquearsat/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/bloquearsat/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/bloquearsat/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|16000|Equipamento SAT bloqueado com sucesso|| -------------------------------------------------------------------------------- /tests/data/bloquearsat/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/bloquearsat/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/cancelarultimavenda/cfecanc-autorizado.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/cancelarultimavenda/cfecanc-autorizado.xml -------------------------------------------------------------------------------- /tests/data/cancelarultimavenda/cfecanc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/cancelarultimavenda/cfecanc.xml -------------------------------------------------------------------------------- /tests/data/cancelarultimavenda/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/cancelarultimavenda/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/cancelarultimavenda/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/cancelarultimavenda/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/cancelarultimavenda/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/cancelarultimavenda/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/comunicarcertificadoicpbrasil/certificado.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/comunicarcertificadoicpbrasil/certificado.txt -------------------------------------------------------------------------------- /tests/data/comunicarcertificadoicpbrasil/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/comunicarcertificadoicpbrasil/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/comunicarcertificadoicpbrasil/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|05000|Certificado transmitido com sucesso|| -------------------------------------------------------------------------------- /tests/data/comunicarcertificadoicpbrasil/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/comunicarcertificadoicpbrasil/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/configurarinterfacederede/conf-rede-min.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/configurarinterfacederede/conf-rede-min.xml -------------------------------------------------------------------------------- /tests/data/configurarinterfacederede/conf-rede.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/configurarinterfacederede/conf-rede.xml -------------------------------------------------------------------------------- /tests/data/configurarinterfacederede/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/configurarinterfacederede/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/configurarinterfacederede/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|12000|Rede configurada com sucesso|| -------------------------------------------------------------------------------- /tests/data/configurarinterfacederede/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/configurarinterfacederede/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/consultarnumerosessao/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarnumerosessao/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/consultarnumerosessao/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarnumerosessao/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/consultarnumerosessao/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarnumerosessao/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/consultarstatusoperacional/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarstatusoperacional/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/consultarstatusoperacional/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarstatusoperacional/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/consultarstatusoperacional/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarstatusoperacional/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/consultarultimasessaofiscal/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarultimasessaofiscal/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/consultarultimasessaofiscal/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarultimasessaofiscal/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/consultarultimasessaofiscal/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/consultarultimasessaofiscal/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/desbloquearsat/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/desbloquearsat/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/desbloquearsat/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|17000|Equipamento SAT desbloqueado com sucesso|| -------------------------------------------------------------------------------- /tests/data/desbloquearsat/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/desbloquearsat/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/enviardadosvenda/cfe-autorizado.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/enviardadosvenda/cfe-autorizado.xml -------------------------------------------------------------------------------- /tests/data/enviardadosvenda/cfe.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/enviardadosvenda/cfe.xml -------------------------------------------------------------------------------- /tests/data/enviardadosvenda/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/enviardadosvenda/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/enviardadosvenda/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/enviardadosvenda/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/enviardadosvenda/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/enviardadosvenda/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/extrairlogs/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/extrairlogs/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/extrairlogs/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/extrairlogs/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/extrairlogs/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/extrairlogs/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/testefimafim/cfe-teste-assinado.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/testefimafim/cfe-teste-assinado.xml -------------------------------------------------------------------------------- /tests/data/testefimafim/cfe-teste.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/testefimafim/cfe-teste.xml -------------------------------------------------------------------------------- /tests/data/testefimafim/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/testefimafim/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/testefimafim/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/testefimafim/respostas-de-sucesso.txt -------------------------------------------------------------------------------- /tests/data/testefimafim/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/testefimafim/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/data/trocarcodigodeativacao/respostas-de-falha.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/trocarcodigodeativacao/respostas-de-falha.txt -------------------------------------------------------------------------------- /tests/data/trocarcodigodeativacao/respostas-de-sucesso.txt: -------------------------------------------------------------------------------- 1 | 123456|18000|Código de ativação alterado com sucesso|| -------------------------------------------------------------------------------- /tests/data/trocarcodigodeativacao/respostas-invalidas.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/data/trocarcodigodeativacao/respostas-invalidas.txt -------------------------------------------------------------------------------- /tests/entidades/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/__init__.py -------------------------------------------------------------------------------- /tests/entidades/test_cfecanc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_cfecanc.py -------------------------------------------------------------------------------- /tests/entidades/test_cfevenda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_cfevenda.py -------------------------------------------------------------------------------- /tests/entidades/test_cofins.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_cofins.py -------------------------------------------------------------------------------- /tests/entidades/test_descacrentr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_descacrentr.py -------------------------------------------------------------------------------- /tests/entidades/test_destinatario.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_destinatario.py -------------------------------------------------------------------------------- /tests/entidades/test_detalhamento.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_detalhamento.py -------------------------------------------------------------------------------- /tests/entidades/test_emitente.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_emitente.py -------------------------------------------------------------------------------- /tests/entidades/test_icms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_icms.py -------------------------------------------------------------------------------- /tests/entidades/test_imposto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_imposto.py -------------------------------------------------------------------------------- /tests/entidades/test_infadic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_infadic.py -------------------------------------------------------------------------------- /tests/entidades/test_issqn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_issqn.py -------------------------------------------------------------------------------- /tests/entidades/test_localentrega.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_localentrega.py -------------------------------------------------------------------------------- /tests/entidades/test_meiopagamento.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_meiopagamento.py -------------------------------------------------------------------------------- /tests/entidades/test_obsfiscodet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_obsfiscodet.py -------------------------------------------------------------------------------- /tests/entidades/test_pis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_pis.py -------------------------------------------------------------------------------- /tests/entidades/test_produtoservico.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/entidades/test_produtoservico.py -------------------------------------------------------------------------------- /tests/mockup/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/mockup/Makefile -------------------------------------------------------------------------------- /tests/mockup/mockupsat.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/mockup/mockupsat.c -------------------------------------------------------------------------------- /tests/mockup/mockupsat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/mockup/mockupsat.h -------------------------------------------------------------------------------- /tests/test_alertas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_alertas.py -------------------------------------------------------------------------------- /tests/test_associarassinatura.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_associarassinatura.py -------------------------------------------------------------------------------- /tests/test_ativarsat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_ativarsat.py -------------------------------------------------------------------------------- /tests/test_atualizarsoftwaresat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_atualizarsoftwaresat.py -------------------------------------------------------------------------------- /tests/test_bloquearsat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_bloquearsat.py -------------------------------------------------------------------------------- /tests/test_cancelarultimavenda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_cancelarultimavenda.py -------------------------------------------------------------------------------- /tests/test_comunicarcertificadoicpbrasil.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_comunicarcertificadoicpbrasil.py -------------------------------------------------------------------------------- /tests/test_configurarinterfacederede.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_configurarinterfacederede.py -------------------------------------------------------------------------------- /tests/test_consultarnumerosessao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_consultarnumerosessao.py -------------------------------------------------------------------------------- /tests/test_consultarsat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_consultarsat.py -------------------------------------------------------------------------------- /tests/test_consultarstatusoperacional.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_consultarstatusoperacional.py -------------------------------------------------------------------------------- /tests/test_consultarultimasessaofiscal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_consultarultimasessaofiscal.py -------------------------------------------------------------------------------- /tests/test_desbloquearsat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_desbloquearsat.py -------------------------------------------------------------------------------- /tests/test_enviardadosvenda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_enviardadosvenda.py -------------------------------------------------------------------------------- /tests/test_excecoes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_excecoes.py -------------------------------------------------------------------------------- /tests/test_extrairlogs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_extrairlogs.py -------------------------------------------------------------------------------- /tests/test_numeradorsessao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_numeradorsessao.py -------------------------------------------------------------------------------- /tests/test_rede.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_rede.py -------------------------------------------------------------------------------- /tests/test_resposta_padrao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_resposta_padrao.py -------------------------------------------------------------------------------- /tests/test_satcfe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_satcfe.py -------------------------------------------------------------------------------- /tests/test_testefimafim.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_testefimafim.py -------------------------------------------------------------------------------- /tests/test_trocarcodigodeativacao.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_trocarcodigodeativacao.py -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tests/test_util.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/base4sistemas/satcfe/HEAD/tox.ini --------------------------------------------------------------------------------