Search 1.9 billion lines of Odoo code on GitHub

account_invoice_factur-x

Author: Akretion,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: abihedia/edi-1
Dependencies: account, account_e-invoice_generate, account_payment_partner, base, base_vat, and base_zugferd
Languages: PO File (270, 22.7%), Python (826, 69.6%), XML (50, 4.2%), and reStructuredText (41, 3.5%)
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, 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, shine-it/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

<a class="reference external image-reference" 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.svg"> </a> <a name="account-invoice-factur-x"></a> <h2>Account Invoice Factur-X</h2> <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> <a name="installation"></a> <h3>Installation</h3> <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> <h3>Configuration</h3> <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> <h3>Usage</h3> <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 class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/226/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <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> <h3>Bug Tracker</h3> <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 feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <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>This module is maintained by the OCA.</p> <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>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>