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

[QUESTION] Additional attachments in PDF #153

Closed
wurst-hans opened this issue Oct 31, 2024 · 2 comments · Fixed by #158
Closed

[QUESTION] Additional attachments in PDF #153

wurst-hans opened this issue Oct 31, 2024 · 2 comments · Fixed by #158
Assignees
Labels
question Further information is requested

Comments

@wurst-hans
Copy link

I would like to thank you very much for your library, it is a really big help (I'm a German user). I have not yet been able to find any information here on whether I can also embed attachments such as timesheets (which I usually embed in the XRechnung) directly in ZUGFeRD. Unfortunately, I don't understand anything about PDF/A, but if I understand the ZUGFeRD specification correctly, you seem to be able to attach additional documents with AFRelationship/Supplement.
Hence my question: Does your library support adding and reading additional attachments from the PDF?

@wurst-hans wurst-hans added the question Further information is requested label Oct 31, 2024
@horstoeko
Copy link
Owner

Hi @wurst-hans,

thank you for your question.

I would like to thank you very much for your library, it is a really big help (I'm a German user)

Many thanks for the kind words

I have not yet been able to find any information here on whether I can also embed attachments such as timesheets (which I usually embed in the XRechnung) directly in ZUGFeRD. Unfortunately, I don't understand anything about PDF/A, but if I understand the ZUGFeRD specification correctly, you seem to be able to attach additional documents with AFRelationship/Supplement. Hence my question: Does your library support adding and reading additional attachments from the PDF?

There are currently no plans to include additional attachments in the ZUGFeRD PDF. However, it is certainly a good idea to include this in the future.

Kind regards

@horstoeko
Copy link
Owner

Hi @wurst-hans,

An addendum on my part: One idea would be to include the additional documents in the embedded XML. My library offers possibilities for this. The ZugferdDocumentBuilder, for example, provides a method addDocumentAdditionalReferencedDocument for this purpose. You can pass a file name with the file to be embedded to this method.

Repository owner locked as resolved and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants