The new tool facturx-webservice implements a REST webservice using Flask to generate a Factur-X PDF invoice via a simple POST request. Works on python3 only.
New argument 'attachments' for generate_facturx_from_file() which replaces argument additional_attachments:
- Possibility to set a filename for the attachment different from filename of the filepath
- Possibility to set creation dates for attachments
- Update script facturx-pdfgen to use the new attachments argument
Now fully PDF/A-3 compliant when the input PDF file is PDF/A compliant (tested with veraPDF). This implied copying /OutputIntents and /ID datas from source PDF to Factur-X PDF.
Fix support for additionnal attachments: they can now all be saved with Acrobat Reader
Improve XML extraction from PDF Factur-x file
Add support for additionnal attachments (via generate_facturx_from_file())
Add factur-x lib version in Creator metadata table
Add /PageMode = /UseAttachments, so that the attachments are displayed by default when opening Factur-X PDF invoice with Acrobat Reader
Improve and enrich PDF objects (ModDate, CheckSum, Size)
Better variable names in the code that generate PDF objects
Update Factur-X XSD to v1.0 final