Generate ZUGFeRD customer invoices
Account Invoice ZUGFeRD
With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the ZUGFeRD standard at Comfort level. The ZUGFeRD standard is a standard based on CII (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD PDF invoice :
- no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual.
- customers equiped with a modern accouting software will be able to import the invoice automatically as supplier invoice by taking advantage of the embedded XML file,
- customers with an ancient accounting software will just open the PDF file with their PDF reader and manually encode the document as supplier invoice in their accounting software.
The PDF invoices generated by this module have been validated by the ZUGFeRD eInvoice validation portal and the validation system says that the invoices have 0 errors.
This module requires the Python library PyPDF2. To install it, run:
sudo pip install PyPDF2
You just need to do the configuration of the module base_zugferd (see the description of that module for more information).
On the form view of a customer invoice/refund, just click on the Print button as usual to get the ZUGFeRD-compliant PDF file.
Known issues / Roadmap
- Add a hook in the _run_wkhtmltopdf() of the report module to embed the XML file inside the PDF file just after its generation and before it is saved as attachment (and do the same for the report_aeroo module) and try to have the related pull request accepted in Odoo. The current inherit of the get_pdf() is not good because it is not called when selecting the invoice from the attachment. In the meantime, you should always use the Print Invoice button to have a ZUGFeRD compliant file.
- develop glue modules (or use hasattr() ?) to add to the XML file pieces of information that is carried out by fields defined in other modules such as sale or stock (customer order reference, incoterms, delivery address, etc…).
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
- Alexis de Lattre <email@example.com>
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size odoo8_addon_account_invoice_zugferd-184.108.40.206.0.99.dev13-py2-none-any.whl (36.5 kB)||File type Wheel||Python version py2||Upload date||Hashes View|
Hashes for odoo8_addon_account_invoice_zugferd-220.127.116.11.0.99.dev13-py2-none-any.whl