You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to get the 'generate_facturx_from_file' to work. Beforehand I validated my XML file and it's fine. When running the below unfortuntately, no succcess:
Traceback (most recent call last):
File "C:\Users\Mark\Desktop\factur-x.py", line 15, in <module>
facturx_pdf_invoice = generate_facturx_from_file(regular_pdf_invoice, facturx_xml_file)
File "C:\Users\Mark\AppData\Local\Programs\Python\Python37-32\lib\site-packages\facturx \facturx.py", line 886, in generate_facturx_from_file
xml_root = etree.fromstring(xml_string)
File "src\lxml\etree.pyx", line 3234, in lxml.etree.fromstring
File "src\lxml\parser.pxi", line 1876, in lxml.etree._parseMemoryDocument
File "src\lxml\parser.pxi", line 1757, in lxml.etree._parseDoc
File "src\lxml\parser.pxi", line 1068, in lxml.etree._BaseParser._parseUnicodeDoc
File "src\lxml\parser.pxi", line 601, in lxml.etree._ParserContext._handleParseResultDoc
File "src\lxml\parser.pxi", line 711, in lxml.etree._handleParseResult
File "src\lxml\parser.pxi", line 640, in lxml.etree._raiseParseError
File "<string>", line 1
lxml.etree.XMLSyntaxError: Start tag expected, '<' not found, line 1, column 1
The files I use are attached (had to attach the xml as txt). TEST.pdf
hello everyone, I have the same mistake.
facturx-pdfgen tmp_splitpdfout / pdfout-GK24848-0021.pdf ZUGFeRD-invoice.xml zug.pdf
works
unfortunately it does not work from the script.
Hi,
I've been trying to get the 'generate_facturx_from_file' to work. Beforehand I validated my XML file and it's fine. When running the below unfortuntately, no succcess:
The error I get is the following:
The files I use are attached (had to attach the xml as txt).
TEST.pdf
ZUGFeRD-invoice.txt
The text was updated successfully, but these errors were encountered: