Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniospneto authored Mar 8, 2024
1 parent 716b6fd commit c6eee7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Roadmap
## Usage examples


```
```python
from pdf_docs import Danfe, DaCCe

# DANFE
Expand All @@ -33,7 +33,7 @@ from pdf_docs import Danfe, DaCCe

xmls = [open( "xml_nfe.xml", "r", encoding="utf8").read()]
pdf = Danfe(xmls=xmls, image=None, cfg_layout='ICMS_ST', receipt_pos='top')
pdf.output('danfe.pdf', 'F')
pdf.output('danfe.pdf')

# DaCCe
emitente = {'nome': 'COMPANY ME-EPP',
Expand All @@ -47,7 +47,7 @@ emitente = {'nome': 'COMPANY ME-EPP',

xmls = [open( "xml_cce.xml", "r", encoding="utf8").read(),]
pdf_cce = DaCCe(xmls=xmls, emitente=emitente, image=None)
pdf_cce.output('cce.pdf', 'F')
pdf_cce.output('cce.pdf')


```
Expand Down

0 comments on commit c6eee7c

Please sign in to comment.