Commit Graph

7 Commits

Author SHA1 Message Date
Alexis de Lattre bddaf359f1 Release 1.8: new tool bin/facturx-webservice (uses Flask)
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
2020-01-16 00:35:48 +01:00
Alexis de Lattre 5080fea089 Add python 3.7 tag 2019-01-25 23:32:36 +01:00
Alexis de Lattre 9168806e34 Prepare 0.9 release
Add debug logs
PEP8 stuff
2019-01-25 21:12:57 +01:00
Alexis de Lattre a136ef46db Factur-x specs say /AFRelationship must be /Data (and not /Alternative)
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
2018-03-27 22:09:50 +02:00
Alexis de Lattre ad02c20c45 Fix value of ConformanceLevel in XMP 2017-11-10 00:04:12 +01:00
Alexis de Lattre f15c4cf8eb Split generate_facturx in 2 new methods: generate_facturx_from_file and generate_facturx_from_binary
Update version number to 0.2
2017-10-26 23:33:11 +02:00
Alexis de Lattre abadc914fa Initial check-in 2017-09-10 01:56:48 +02:00