atgp / factur-x

PHP library to manage your Factur-X / ZUGFeRD 2.0 PDF invoices files
MIT License
87 stars 22 forks source link

Add missing Size property in the embedded file #32

Open bodabodah opened 6 months ago

bodabodah commented 6 months ago

In Adobe Acrobat Reader, The displayed size of facture-x attachment is 0 byte. The current changes will fix it.

benito103e commented 6 months ago

Hello Arson, Thanks for your contribution. Can you describe the issue? And how did you encounter him? The "/Size" parameter seems optional, and its absence doesn't cause any PDF/A-3b compliance issues. Thanks in advance for your feedback.

bodabodah commented 6 months ago

Thank you for replying. I made a screenshoot : image

As you see. the size of the xml file displayed by "Adobe Acrobat Reader" is 0 byte. To fix it we have to add the /Size parameter