factur-x icon indicating copy to clipboard operation
factur-x copied to clipboard

Ability to detach any xml file

Open RedHotUnicorn opened this issue 1 year ago • 1 comments

First of all your lib definitely helped me in my work.

But I faced with issue with names of inner xml.

You have specified the next names of inner xml to detach as default

FACTURX_FILENAME = 'factur-x.xml'
ZUGFERD_FILENAMES = ['zugferd-invoice.xml', 'ZUGFeRD-invoice.xml']
ORDERX_FILENAME = 'order-x.xml'
ALL_FILENAMES = [FACTURX_FILENAME] + ZUGFERD_FILENAMES + [ORDERX_FILENAME]

and also you have an ability to setup the custom names. But there is no ability just detach any xml that would be found in pdf. What if the name will be changed

For example I faced pdf-bill with xml inside without extention: ZUGFeRD-invoice

RedHotUnicorn avatar Sep 12 '23 09:09 RedHotUnicorn

Good debate: should we support invoices that don't comply with the standard ? Or should we put pressure on the issuer of the invoice so that he complies with the standard ? Did you report the problem to the issuer of the invoice ?

alexis-via avatar Jan 09 '24 14:01 alexis-via