It's just for information, in the Usage section of the README.rst file it's written to use
from facturx import generate_facturxfacturx_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_filefacturx_pdf_invoice = generate_facturx_from_file("MacroPDF.pdf", xml_root)
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)