Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Python library for generating Brazilian auxiliary fiscal documents in PDF from X
| **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 |
| **DAMFSE** | Documento Auxiliar da Nota Fiscal de Serviços Eletrônica | NFS-e |

## Installation

Expand Down Expand Up @@ -76,6 +77,7 @@ bfrep danfe /path/to/nfe.xml
bfrep dacte /path/to/cte.xml
bfrep damdfe /path/to/mdfe.xml
bfrep dacce /path/to/cce.xml
bfrep danfse /path/to/nfse.xml
```

See the [CLI documentation](https://engenere.github.io/BrazilFiscalReport/cli/) for configuration options.
Expand Down
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ nav:
- DACTE: dacte.md
- DAMDFE: damdfe.md
- DACCe: dacce.md
- DANFSE: danfse.md
- CLI: cli.md
- Changelog: changelog.md
- Contributing: contributing.md
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dynamic = ["version"]
description = "Python library for generating Brazilian auxiliary fiscal documents in PDF from XML documents."
authors = [{ name = "Engenere" }]
keywords = [
"nfe", "danfe", "xml", "pdf", "documento", "fiscal", "auxiliar", "converter", "generator", "cce", "dacce"
"nfe", "danfe", "xml", "pdf", "documento", "fiscal", "auxiliar", "converter", "generator", "cce", "dacce", "dandfse"
]
license = { file = "LICENSE" }
classifiers = [
Expand Down
3 changes: 3 additions & 0 deletions streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from brazilfiscalreport.dacte import Dacte
from brazilfiscalreport.damdfe import Damdfe
from brazilfiscalreport.danfe import Danfe
from brazilfiscalreport.danfse import Danfse

DOCUMENT_TYPES = {
"nfeProc": ("DANFE", Danfe),
Expand All @@ -15,6 +16,7 @@
"mdfeProc": ("DAMDFE", Damdfe),
"MDFe": ("DAMDFE", Damdfe),
"procEventoNFe": ("DACCe", DaCCe),
"NFSe": ("DANFSE", Danfse),
}

st.set_page_config(
Expand All @@ -29,6 +31,7 @@
":gray-background[**DACTE** · CT-e] "
":gray-background[**DAMDFE** · MDF-e] "
":gray-background[**DACCe** · CC-e]"
":gray-background[**DANFSE** · NFS-e]"
)

uploaded_file = st.file_uploader("Envie o arquivo XML", type=["xml"])
Expand Down
Loading