Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to detach any xml file #32

Open
RedHotUnicorn opened this issue Sep 12, 2023 · 1 comment
Open

Ability to detach any xml file #32

RedHotUnicorn opened this issue Sep 12, 2023 · 1 comment

Comments

@RedHotUnicorn
Copy link

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

@alexis-via
Copy link
Member

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants