Skip to main content

Generate Factur-X/ZUGFeRD customer invoices

Project description

License: AGPL-3

Account Invoice Factur-X

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 and will soon comply with the Factur-X standard (the new e-invoicing standard for France and Germany which will be released in Q2 2017). 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.

Installation

This module requires the Python library PyPDF2. To install it, run:

sudo pip install PyPDF2

Configuration

You just need to do the configuration of the module base_zugferd (see the description of that module for more information).

Usage

On the form view of a customer invoice/refund, just click on the Print button as usual to get the ZUGFeRD-compliant PDF file.

Try me on Runbot

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…).

Bug Tracker

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.

Credits

Contributors

Maintainer

Odoo Community Association

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo10_addon_account_invoice_factur_x-10.0.1.0.0.99.dev3-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo10_addon_account_invoice_factur_x-10.0.1.0.0.99.dev3-py2-none-any.whl
Algorithm Hash digest
SHA256 15ff2ddb2d3abff66b1a202875195bf02b6e487ff92932b8ec41cd734c92b9a8
MD5 dfc30be64e6d127edafd57818bc1f095
BLAKE2b-256 acd011812b313f2cc1ccf5944275ee2799132d59346c512237edb5fe2fb126ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page