diff --git a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst index cef11979f..568df08fb 100644 --- a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst +++ b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing.rst @@ -20,64 +20,104 @@ Odoo supports, among others, the following formats. * - Format Name - Applicability - * - Factur-X (PDF/A-3) - - For French and German companies - * - Peppol BIS Billing 3.0 (UBL) - - For companies whose countries are part of the `EAS list - `_ - * - E-FFF - - For Belgian companies + * - Factur-X (CII) + - All customers + * - Peppol BIS Billing 3.0 + - All customers * - XRechnung (UBL) - - For German companies + - All customers * - Fattura PA (IT) - - For Italian companies + - Italian companies * - CFDI (4.0) - - For Mexican companies + - Mexican companies * - Peru UBL 2.1 - - For Peruvian companies + - Peruvian companies * - SII IVA Llevanza de libros registro (ES) - - For Spanish companies + - Spanish companies * - UBL 2.1 (Columbia) - - For Colombian companies + - Colombian companies * - Egyptian Tax Authority - - For Egyptian companies + - Egyptian companies * - E-Invoice (IN) - - For Indian companies + - Indian companies * - NLCIUS (Netherlands) - - For Dutch companies + - Dutch companies * - EHF 3.0 - - For Norwegian companies + - Norwegian companies * - SG BIS Billing 3.0 - - For Singaporean companies + - Singaporean companies * - A-NZ BIS Billing 3.0 - - For Australian/New Zealand companies + - All customers + +.. note:: + - The **Factur-X (CII)** format enables validation checks on the invoice and generates PDF/A-3 + compliant files. + - Every PDF generated by Odoo includes an integrated **Factur-X** XML file. .. seealso:: - :ref:`fiscal_localizations/packages` + :doc:`../../../fiscal_localizations` .. _e-invoicing/configuration: Configuration ============= -Go to :menuselection:`Accounting --> Configuration --> Journals --> Customer Invoices --> Advanced -Settings --> Electronic Invoicing` and enable the formats you need for this journal. +By default, the format available in the :ref:`send window ` depends on your +customer's country. -.. image:: electronic_invoicing/formats.png - :align: center - :alt: Select the EDI format you need +You can define a specific e-invoicing format for each customer. To do so, go to +:menuselection:`Accounting --> Customers --> Customers`, open the customer form, go to the +:guilabel:`Accounting` tab and select the appropriate format. -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. +.. image:: electronic_invoicing/customer-form.png + :alt: Select an EDI format for a specific customer -.. 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. - - Every PDF generated from Odoo contains a :guilabel:`Factur-X` XML file (for interoperability purpose). - For German and French companies, the option :guilabel:`Factur-X (PDF/A-3)` in addition enables - validation checks on the invoice and generates a PDF/A-3 compliant file, required by plaftorms like Chorus Pro. - - 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. +Peppol formats +-------------- + +Use the fields :guilabel:`Peppol e-address (EAS)` and :guilabel:`Peppol Endpoint` to identify the +recipient in the Peppol Network. + +.. seealso:: + `Peppol BIS Billing 3.0 - Electronic Address Scheme (EAS) code list + `_ + +.. example:: + .. list-table:: + :header-rows: 1 + + * - Partner's country + - Peppol e-address (EAS) + - Peppol Endpoint + * - Luxembourg + - 9938 - Luxemburg VAT number + - a valid Luxemburgish VAT number + * - Netherlands + - 0190 - Dutch Originator's Identification Number + - a valid OIN number + * - Belgium + - 9925 - Belgium VAT number + - a valid Belgian VAT number + +National electronic invoicing +----------------------------- + +Depending on your company's country (e.g., :doc:`Italy <../../../fiscal_localizations/italy>`, +:doc:`Spain <../../../fiscal_localizations/spain>`, :doc:`Mexico +<../../../fiscal_localizations/mexico>`, etc.), you may be required to issue e-invoicing documents in +a specific format for all your invoices. In this case, you can define a default e-invoicing format +for your sales journal. + +To do so, go to :menuselection:`Accounting --> Configuration --> Journals`, open your sales journal, +go to the :guilabel:`Advanced Settings` tab, and enable the formats you need for this journal. + +.. _e-invoicing/generation: + +E-invoices generation +===================== + +From a confirmed invoice, click :guilabel:`Send & Print` to open the send window. Check the +e-invoicing option to generate and attach the e-invoice file. + +.. image:: electronic_invoicing/send-window.png + :alt: The Peppol option is checked and an e-invoicing XML file is attached to the email. diff --git a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/customer-form.png b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/customer-form.png new file mode 100644 index 000000000..47cb5321f Binary files /dev/null and b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/customer-form.png differ 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 deleted file mode 100644 index 61c79d149..000000000 Binary files a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/formats.png and /dev/null differ diff --git a/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/send-window.png b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/send-window.png new file mode 100644 index 000000000..15186ebfc Binary files /dev/null and b/content/applications/finance/accounting/receivables/customer_invoices/electronic_invoicing/send-window.png differ