From 81ff235598a5d238a2f2d2aaeabf07e0e73088e3 Mon Sep 17 00:00:00 2001 From: Donatienne Pirlot Date: Thu, 16 Jun 2022 09:42:31 +0000 Subject: [PATCH] [ADD] accounting: creation of electronic invoicing documentation closes odoo/documentation#2570 Id: 2857860 X-original-commit: 73204e6789b46e86787587788a925961073aa3f6 Signed-off-by: Victor Feyens (vfe) --- .../receivables/customer_invoices.rst | 1 + .../electronic_invoicing.rst | 92 ++++++++++++++++++ .../electronic_invoicing/formats.png | Bin 0 -> 3396 bytes 3 files changed, 93 insertions(+) create mode 100644 content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst create mode 100644 content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/formats.png diff --git a/content/applications/finance/accounting/receivables/customer_invoices.rst b/content/applications/finance/accounting/receivables/customer_invoices.rst index cd5daef47..afa9e2590 100644 --- a/content/applications/finance/accounting/receivables/customer_invoices.rst +++ b/content/applications/finance/accounting/receivables/customer_invoices.rst @@ -15,3 +15,4 @@ Customer invoices customer_invoices/credit_notes customer_invoices/epc_qr_code customer_invoices/snailmail + customer_invoices/electronic_invoicing diff --git a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst new file mode 100644 index 000000000..e0a8d0bd5 --- /dev/null +++ b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst @@ -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 + `_ + * - 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 ` the module :guilabel:`Import/Export +electronic invoices with UBL/CII` (module’s 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 `: + + .. 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. diff --git a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/formats.png b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/formats.png new file mode 100644 index 0000000000000000000000000000000000000000..1e7e190180771262e184a87d5d80a56ac24ff63c GIT binary patch literal 3396 zcmV-K4ZHG*P))__RNU&%gZtF)J;pVJdT0Lx#`)|Nr96{Qp#*;(W2+pl)5F zSui0te6ngYzxV%VrQcCggG(@H_13EY{QoE^F8|)CH-5+=C}76>{=kP`jnn`5v~K_F z%_b;BpWy%Mq+lUVm{B@1ER>mCD=E42|4>zlEId={{{R2ztXGA#B`rAr@2t|Le7(Q9 zUqCc{Iw|rQ|7^JS>g?i+W1o$;$?Z8j_}{!@R(mKmNtb$aqt*C)K0hTsgW$N2Au@YV zQgT~Uc4MvVK`<|JKr{2ceJV9=+@f>r!H?qj|Es;gY^~&Gi?E{V|2Ar;jage@p4fPp z#C^W@nVY6*b8Sy>bN%@1{JM3EXjrF*f7Pmq=j6Q2hDU^IU`0ni?c&V!|K*ThI$@H= zMlVo+P&R>BTrO0F;r{CV&YAn#v_^8EIW=m+`{Fr2gW~Y|uF&gNGf-HS(SFSTYmUCK zslDK(WKdpo$kN&W?$znZqTj!r>aA*fi+pxuUiSX=C`)@{fSCXH&&IN*{`}8RVTWl@ zSK{F9nQ}|(_5X^Z%J=HwyuaDMg;2J7Sk9ARUshkw^u>d5YUk9k|NP3gn~vJv;-k{l z+{C%r>iR)ukWg!pXIFOq=*6~?U^Zct8H$i$ud?{~|AmB}^SFxC{N4G|pJ+W!kYZzD zI$*}cy0anOaR2}b>PbXFRCwC$n+aS~M;^x~rbaP=0Hq+83#H+vA~&J}3Q~v&SV2MV zQ@IfkP(-QV0a~h9D~BM8c;8smiYIE-df!&9R;|{vwa0F^?RMvQA?NObMz^H%`|u(2 zX6F50^3DI4WL^NEqN1XrqN1XrqN1XrqN1Xr>b~5*)YjH^^n3Fy$xhCb!}2q;Bl(@< zL$tNOSl!4RSzXB!&(d=A`_DGC-W#M+?4su-B_&;uX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