Search 1.9 billion lines of Odoo code on GitHub

account_invoice_factur-x

Author: Akretion, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0-mig-account_invoice_factur-x
Repository: shine-it/edi
Dependencies: account, account_e-invoice_generate, account_facturx, account_payment_partner, base, base_vat, and base_zugferd
Languages: HTML (367, 24.6%), PO File (174, 11.7%), Python (826, 55.4%), XML (58, 3.9%), and reStructuredText (65, 4.4%)
Other branches: 10.0
Other repositories: AizenL/edi, BT-aestebanez/edi, Billolha/edi, Bubbles-IT/edi, Callino/edi, Change2improve/edi, D4N/edi, Develoman/edi, ERPLibre/edi, EssentNovaTeam/edi, ForgeFlow/edi, Gabinete-Digital/edi, Ingeos/edi, MathBenTech/edi, NeatNerdPrime/edi, Noviat/edi, OCA-MUK/edi, OCA/edi, ORETEK/edi, PlanetaTIC/edi, SSISoftware/edi, SanteLibre/edi, SeuMarco/edi, SimoRubi/edi, SimoneVagile/edi, Stargue/edi, TDu/edi, Tecnativa/edi, VisiionSolucionesTecnologicas/edi, aaltinisik/edi, abihedia/edi-1, acsone/edi, adolfoeliazat/edi, akretion/edi, amendoncabh/edi, anhvu-sg/edi, anodino-dev/edi, antoinecln/edi, apachesep/edi, apetbiz/edi, aurestic/edi, bealdav/edi, bellyfat/edi, brain-tec/edi, bvkl/edi, camptocamp/edi, crece365/edi, cubicltd/odoo-OCA-edi, daramousk/edi, decodio-applications/edi, eguane/edi, elego/edi, etobella/edi, exosoftware/oca-edi, feketemihai/edi, flotho/edi, freighttrust/edi-1, gfcapalbo/edi, gurneyalex/edi, haroldtamo/edi, initOS/edi, invitu/edi, jason156/edi, joytao-zhu/edi, legalsylvain/edi, lideritjnma/edi, llamasfSpn/edi, maljac/edi, mjadily/edi, mohamed-helmy/edi, muguli22/edi, myceliandre/edi, njeudy/edi, onesteinbv/edi, open-net-sarl/edi, open2bizz/edi, pasgou/edi, pscloud/edi, rconjour/edi, redcor/edi, richar-osse/edi, rubdos/edi, sanube/edi, saxomanu/edi, sbejaoui/edi, sebalix/edi, simahawk/edi, smkerz/edi, ssisoftwaresolutions/edi, steingabelgaard/edi, sunflowerit/edi, tarteo/edi, tegin/edi, tirma-sa/edi, vrenaville/edi, westlyou/edi, yogesh-serpentcs/edi, yucer/edi, and yvaucher/edi

<h1 class="title">Account Invoice Factur-X</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/edi/tree/12.0/account_invoice_factur-x"><img alt="OCA/edi" src="https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/edi-12-0/edi-12-0-account_invoice_factur-x"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/226/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>With this module, the PDF customer invoices and refunds generated by the Qweb reporting engine of Odoo will comply with the <a class="reference external" href="http://fnfe-mpe.org/factur-x/">Factur-X</a> standard at <em>EN 16931</em> level. The Factur-X standard is the new e-invoicing standard for France and Germany released in Beta version in July 2017. In Germany, it is also known as the <a class="reference external" href="http://www.ferd-net.de/aktuelles/meldungen/verabschiedung-zugferd-2.0_profil-en16931.html/">ZUGFeRD 2.0</a> standard. This standard is based on <a class="reference external" href="http://tfig.unece.org/contents/cross-industry-invoice-cii.htm">CII</a> (Cross-Industry Invoice) for electronic invoicing. The great idea of the ZUGFeRD/Factur-X standard is to embed an XML file inside the PDF invoice to carry structured information about the invoice. So, with a ZUGFeRD/Factur-X PDF invoice:</p> <ul class="simple"> <li>no need to change your habbits and those of your customers: you can still send your PDF invoices by email as usual.</li> <li>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,</li> <li>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.</li> </ul> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#installation" id="id1">Installation</a></li> <li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li> <li><a class="reference internal" href="#usage" id="id3">Usage</a></li> <li><a class="reference internal" href="#known-issues-roadmap" id="id4">Known issues / Roadmap</a></li> <li><a class="reference internal" href="#bug-tracker" id="id5">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id6">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id7">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id8">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id9">Maintainers</a></li> </ul> </li> </ul> </div> <a name="installation"></a> <h2><a class="toc-backref" href="#id1">Installation</a></h2> <p>This module requires the Python library <em>factur-x</em> with <strong>version &gt;= 0.3</strong> developped by Akretion. Note that the factur-x library depends on PyPDF2 for the low-level PDF manipulation. To install it, run:</p> <pre class="code"> <code class="code">sudo pip install factur-x</code> </pre> <a name="configuration"></a> <h2><a class="toc-backref" href="#id2">Configuration</a></h2> <p>In the menu <em>Accounting &gt; Configuration &gt; Settings</em>, check these options:</p> <ul class="simple"> <li><em>XML Format embedded in PDF invoice</em>: if you want to generate Factur-X invoices, this option must be set to <em>Factur-X (CII)</em></li> <li>the <em>Factur-X Level</em>: unless you have a good reason, you should keep the default value <em>EN 16931 (Comfort)</em></li> <li><em>Factur-X Refund Type</em>: choose the type of the XML invoice for customer refunds.</li> </ul> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <p>On the form view of a customer invoice/refund, just click on the <em>Print</em> button as usual to get the Factur-X-compliant PDF file.</p> <a name="known-issues-roadmap"></a> <h2><a class="toc-backref" href="#id4">Known issues / Roadmap</a></h2> <ul class="simple"> <li>for Odoo v11, use the new hooks in the report code to embed the XML file inside the PDF file just after its generation and before it is saved as attachment.</li> <li>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...).</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id5">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/edi/issues">GitHub Issues</a>. 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 <a class="reference external" href="https://github.com/OCA/edi/issues/new?body=module:%20account_invoice_factur-x%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id6">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id7">Authors</a></h3> <ul class="simple"> <li>Akretion</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id8">Contributors</a></h3> <ul class="simple"> <li>Firstname Lastname &lt;<a class="reference external" href="mailto:email.address&#64;example.org">email.address&#64;example.org</a>&gt; (optional company website url)</li> <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li> <li>Shine IT &lt;<a class="reference external" href="mailto:contact&#64;openerp.cn">contact&#64;openerp.cn</a>&gt;</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id9">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>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.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/edi/tree/12.0/account_invoice_factur-x">OCA/edi</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>