Skip to content

Engenere/BrazilFiscalReport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5ed1d7e · Feb 26, 2025
Feb 25, 2025
Feb 26, 2025
Feb 24, 2025
Feb 26, 2025
Dec 9, 2024
May 3, 2024
Mar 30, 2024
Feb 24, 2025
Mar 7, 2024
Nov 11, 2024
Nov 11, 2024

Repository files navigation

image image image image image beta PyPI Downloads

Brazil Fiscal Report

Python library for generating Brazilian auxiliary fiscal documents in PDF from XML documents.

Supported Documents 📄

  • DANFE - Documento Auxiliar da Nota Fiscal Eletrônica (NF-e)
  • DACCe - Documento Auxiliar da Carta de Correção Eletrônica (CC-e)
  • DACTE - Documento Auxiliar do Conhecimento de Transporte Eletrônico (CT-e)
  • DAMDFE - Documento Auxiliar do Manifesto Eletrônico de Documentos Fiscais (MDF-e)

Beta Stage Notice 🚧

This library is currently in the beta stage of development. While it has many of the intended features implemented, it is still undergoing testing and improvements. Users should note that during this phase, functionality may change and some instability may occur. We welcome feedback on any issues or suggestions for enhancements. Use in production environments should be approached with caution.

Check the documentation for more ✨✨✨

Dependencies 🛠️

  • FPDF2 - PDF creation library for Python
  • phonenumbers
  • python-barcode
  • qrcode (required for DACTE and DAMDFE)

To install 🔧

pip install brazilfiscalreport

Installing DACTE with Dependencies

If you specifically need the DACTE functionality, you can install it along with its required dependencies using:

pip install 'brazilfiscalreport[dacte]'

Installing DAMDFE with Dependencies

If you specifically need the DAMDFE functionality, you can install it along with its required dependencies using:

pip install 'brazilfiscalreport[damdfe]'

Installing CLI with Dependencies

If you specifically need the CLI functionality, you can install it along with its required dependencies using:

pip install 'brazilfiscalreport[cli]'

Credits 🙌

This is a fork of the nfe_utils project, originally created by Edson Bernardino.

Maintainer 🛠️

Engenere