akretion / factur-x

Python lib for Factur-X, the e-invoicing standard for France and Germany
Other
187 stars 57 forks source link

generate_from_binary : outputs a concatenation of original and result files #24

Open Nviard opened 2 years ago

Nviard commented 2 years ago

Why does generate_from_binary use the same file to read original pdf and write output ? This results in a concatenation of two files.

JonasLanghabel commented 2 years ago

The issue originates in generate_from_file, which is used by generate_from_binary.

Using generate_from_file with the output_pdf_file parameter works around the issue.