Webservice (API) para emissão de Documentos Eletrônicos Fiscais (DFe)
- NFe
- NFCe
- CTe
- MDFe
- Python - Versão 3.7.10 (security)
- Django - Versão 3.2 LTS
- DjangoRestFramework
- Python-Decouple
- dj-database-url
- PyNFe - Atualizado para a versão 4.00 NF-e/NFC-e
(pip install git+https://github.com/msbrogli/PyNFe)
- Clone esse repositório.
- Crie um virtualenv com Python 3.
- Ative o virtualenv.
- Instale as dependências.
- Rode as migrações.
git clone https://github.com/nilton-medeiros/DFe.git
cd DFe
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python contrib/env_gen.py
python manage.py migrate
python manage.py createsuperuser --username="admin" --email=""