akretion / factur-x

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

Maybe there is an error in the README.rst #11

Closed B2RJ closed 5 years ago

B2RJ commented 5 years ago

Hello,

It's just for information, in the Usage section of the README.rst file it's written to use from facturx import generate_facturx facturx_pdf_invoice = generate_facturx(regular_pdf_invoice, facturx_xml_file)

But, after testing, it seems we have to use from facturx import generate_facturx_from_file facturx_pdf_invoice = generate_facturx_from_file("MacroPDF.pdf", xml_root)

alexis-via commented 5 years ago

Thanks. Fixed in my next commit.