Skip to content

Adiciona lib extra para impressão de documentos fiscais #390

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

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

leogregianin
Copy link
Collaborator

@leogregianin leogregianin commented Feb 24, 2025

Adicionei o BrazilFiscalReport como dependência extra (não obrigatória) para impressão de documentos fiscais em PDF a partir do XML nativamente com python.

Documentação:

O uso é muito simples e a geração é rápida, exemplo:

from brazilfiscalreport.danfe import Danfe

xml_file_path = 'nfe.xml'

with open(xml_file_path, "r", encoding="utf8") as file:
    xml_content = file.read()

danfe = Danfe(xml=xml_content)
danfe.output('output_danfe.pdf')

@antoniospneto

@leogregianin leogregianin changed the title Retira link da documentação antiga Adiciona lib extra para impressão de documentos fiscais Feb 24, 2025
@leogregianin
Copy link
Collaborator Author

@leogregianin leogregianin merged commit 36ac5eb into TadaSoftware:main Feb 25, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants