[ADD] accounting: creation of electronic invoicing documentation

closes odoo/documentation#2568

Id: 2857860
X-original-commit: 73204e6789
Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>
This commit is contained in:
Donatienne Pirlot 2022-06-16 09:42:31 +00:00
parent 7ed49b1008
commit 241ee8a6ee
3 changed files with 93 additions and 0 deletions

View File

@ -15,3 +15,4 @@ Customer invoices
customer_invoices/credit_notes
customer_invoices/epc_qr_code
customer_invoices/snailmail
customer_invoices/electronic_invoicing

View File

@ -0,0 +1,92 @@
================================================================
Electronic invoicing (:abbr:`EDI (electronic data interchange)`)
================================================================
EDI, or electronic data interchange, is the inter-company communication of business documents, such
as purchase orders and invoices, in a standard format. Sending documents according to an EDI
standard ensures that the machine receiving the message can interpret the information correctly.
Various EDI file formats exist and are available depending on your company's country.
EDI feature enables automating the administration between companies and might also be required by
some governments for fiscal control or to facilitate the administration.
Electronic invoicing of your documents such as customer invoices, credit notes or vendor bills is
one of the application of EDI.
Odoo supports, among others, the following formats.
.. list-table::
:header-rows: 1
* - Format Name
- Applicability
* - Factur-X (CII)
- Default format on Odoo (enabled by default)
* - Peppol BIS Billing 3.0 (UBL)
- For companies whose countries are part of the `EAS list
<https://docs.peppol.eu/poacc/billing/3.0/codelist/eas/>`_
* - E-FFF
- For Belgian companies
* - XRechnung (UBL)
- For German companies
* - Fattura PA (IT)
- For Italian companies
* - CFDI (4.0)
- For Mexican companies
* - Peru UBL 2.1
- For Peruvian companies
* - SII IVA Llevanza de libros registro (ES)
- For Spanish companies
.. seealso::
- :doc:`../../fiscal_localizations/overview/fiscal_localization_packages`
Configuration
=============
Go to :menuselection:`Accounting --> Configuration --> Journals --> Customer Invoices --> Advanced
Settings --> Electronic Invoicing` and enable the formats you need for this journal.
.. image:: electronic_invoicing/formats.png
:align: center
:alt: Select the EDI format you need
Once an electronic invoicing format is enabled, XML documents are generated when clicking on
:guilabel:`Confirm` in documents such as invoices, credit notes, etc. These documents are either
visible in the attachment section, or embedded in the PDF.
.. note::
- For E-FFF, the xml file only appears after having generated the PDF (:guilabel:`Print` or
:guilabel:`Send & Print` button), since the PDF needs to be embedded inside the xml.
- By default, the :guilabel:`Factur-X` option is enabled. It means that an XML file is
automatically included in the PDF document that is sent.
- The formats available depend on the country registered in your company's :guilabel:`General
Information`.
- Odoo supports the **Peppol BIS Billing 3.0** format that can be used via existing access
points.
Add new formats to a database created before July 2022
------------------------------------------------------
If your database was created before July 2022 and you wish to use one of the formats available from
July 2022, you have to :ref:`install <general/install>` the module :guilabel:`Import/Export
electronic invoices with UBL/CII` (modules technical name: `account_edi_ubl_cii`) and your
country-specific module.
.. example::
If you want to use the Belgian format E-FFF in a database created prior to July 2022, you need to
:ref:`install <general/install>`:
.. list-table::
:header-rows: 1
* - Name
- Technical name
* - Belgium - E-Invoicing (UBL 2.0, e-fff)
- `l10n_be_edi`
* - Import/Export electronic invoices with UBL/CII
- `account_edi_ubl_cii`
.. note::
Once the new module is installed, UBL 2.0 and UBL 2.1 formats no longer appear in the journal
since UBL BIS Billing 3.0 is available and more widely supported.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB