Facturation électronique (EDI)

L’EDI, ou échange de données informatisé, est la communication inter-entreprise de documents commerciaux, tels que les bons de commande et les factures, dans un format standard. L’envoi de documents selon une norme EDI garantit que l’appareil qui reçoit le message peut interpréter correctement l’information. Différents formats de fichiers EDI existent et sont disponibles en fonction du pays de votre société.

La fonctionnalité EDI permet d’automatiser l’administration entre entreprises et peut également être exigée par certains gouvernements à des fins de contrôle fiscal ou pour faciliter la gestion.

La facturation électronique de vos documents tels que les factures clients, les avoirs ou les factures fournisseurs est l’une des applications de l’EDI.

Odoo prend en charge notamment les formats suivants :

Format du nom

Applicabilité

Factur-X (CII)

Tous les clients

Peppol BIS Billing 3.0

Tous les clients

XRechnung (UBL)

Tous les clients

Fattura PA (IT)

Entreprises italiennes

CFDI (4.0)

Entreprises mexicaines

Peru UBL 2.1

Entreprises péruviennes

SII IVA Llevanza de libros registro (ES)

Entreprises espagnoles

UBL 2.1 (Columbia)

Entreprises colombiennes

Egyptian Tax Authority

Entreprises égyptiennes

E-Invoice (IN)

Entreprises indiennes

NLCIUS (Netherlands)

Entreprises néerlandaises

EHF 3.0

Entreprises norvégiennes

SG BIS Billing 3.0

Entreprises singapourienne

A-NZ BIS Billing 3.0

Tous les clients

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.

Pour plus d'infos

Localisations fiscales

Configuration

By default, the format available in the send window depends on your customer’s country.

You can define a specific e-invoicing format for each customer. To do so, go to Accounting ‣ Customers ‣ Customers, open the customer form, go to the Accounting tab and select the appropriate format.

Select an EDI format for a specific customer

Facturation électronique nationale

Depending on your company’s country (e.g., Italy, Spain, 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 Accounting ‣ Configuration ‣ Journals, open your sales journal, go to the Advanced Settings tab, and enable the formats you need for this journal.

Génération de la facture électronique

From a confirmed invoice, click Send & Print to open the send window. Check the e-invoicing option to generate and attach the e-invoice file.

The Peppol option is checked and an e-invoicing XML file is attached to the email.

Peppol

The Peppol network ensures the exchange of documents and information between enterprises and governmental authorities. It is primarily used for electronic invoicing, and its access points (connectors to the Peppol network) allow enterprises to exchange electronic documents.

Odoo is an access point and an SMP, enabling electronic invoicing transactions without the need to send invoices and bills by email or post.

If not done yet, install the Peppol module (account_peppol).

Important

  • Peppol registration is free and available in Odoo Community

  • You can send Customer Invoices and Credit Notes and receive Vendor Bills and Refunds via Peppol.

  • You can send in one of the following supported document formats: BIS Billing 3.0, XRechnung CIUS, NLCIUS.

  • The following countries are eligible for Peppol registration in Odoo:
    Andorra, Albania, Austria, Bosnia and Herzegovina, Belgium, Bulgaria, Switzerland, Cyprus, Czech Republic, Germany, Denmark, Estonia, Spain, Finland, France, United Kingdom, Greece, Croatia, Hungary, Ireland, Iceland, Italy, Liechtenstein, Lithuania, Luxembourg, Latvia, Monaco, Montenegro, North Macedonia, Malta, Netherlands, Norway, Poland, Portugal, Romania, Serbia, Sweden, Slovenia, Slovakia, San Marino, Turkey, Holy See (Vatican City State)

Inscription

Go to Accounting ‣ Configuration ‣ Settings. If you do not have the Peppol module installed, first tick the Enable PEPPOL checkbox and then manually save.

Peppol module installation

Fill in the following information:

  • Peppol EAS. This is the Peppol Electronic Address Scheme and usually depends on your company’s country. Odoo often prefills this with the most commonly used EAS code in your country. For example, the preferred EAS code for most companies in Belgium is 0208.

  • Peppol Endpoint. This is usually a Company Registry number or a VAT number.

  • Phone Number, including the country code (e.g., +32 in Belgium)

  • Primary contact email

Pour plus d'infos

If you are migrating from another access point, insert the Migration key from the previous provider.

Configuration for peppol

Finally, click Validate registration. If you want to explore or demo Peppol, you can choose to register in Demo mode. Otherwise, select Live.

Peppol demo mode selection

Note

When testing Peppol, the system parameter account_peppol.edi.mode can be changed to test. Then, a radio button appears with the option to register on the test server.

Peppol test mode parameter Peppol test mode selection

Now, you can request a verification code to be sent to you by clicking Verify phone number.

phone validation request verification

A text message containing a code is sent to the phone number provided to finalize the verification process.

phone validation

Once you enter the code and click Confirm, you can see that your registration is pending activation. From this point onwards, the default journal for receiving Vendor Bills can be set.

pending application

It should be automatically activated within a day.

Astuce

It is also possible to manually trigger the cron that checks the registration status by going to Settings ‣ Technical ‣ Scheduled Actions ‣ PEPPOL: update participant status.

Your application status should be updated soon after you are registered on the Peppol network.

active application

All invoices and vendor bills can now be sent directly using the Peppol network.

Contact verification

Before sending an invoice to a contact using the Peppol network, it is necessary to verify that they are also registered as a Peppol participant.

To do so, go to Accounting ‣ Customers ‣ Customers and open the customer’s form. Then go to Accounting tab ‣ Electronic Invoicing, select the correct format, and make sure their Peppol EAS code and the Endpoint are filled in. Then, click Verify. If the contact exists on the network, their Peppol endpoint validity is set to Valid.

verify contact registration

Important

While Odoo prefills both the EAS code and the Endpoint number based on the information available for a contact, it is better to confirm these details directly with the contact.

It is possible to verify the Peppol participant status of several customers at once. To do so, go to Accounting ‣ Customers ‣ Customers and switch to the list view. Select the customers you want to verify and then click Actions ‣ Verify Peppol.

Send invoices

Once ready to send an invoice via the Peppol network, simply click Send & Print on the invoice form. To queue multiple invoices, select them in the list view and click Actions ‣ Send & Print; they will be sent in a batch later on. Both BIS Billing 3.0 and Send via PEPPOL checkboxes need to be ticked.

Send peppol invoice

Posted invoices that can be sent via Peppol are marked as Peppol Ready. To display them, use the Peppol Ready filter or access the Accounting dashboard and click Peppol ready invoices on the corresponding sales journal.

Filter Peppol ready invoices

Once the invoices are sent via Peppol, the status is changed to Processing. The status is changed to Done after they have been successfully delivered to the contact’s Access Point.

Peppol message status

Astuce

By default, the Peppol status column is hidden on the Invoices list view. You can choose to have it displayed by selecting it from the optional columns, accessible from the top right corner of the Invoices list view.

A cron runs regularly to check the status of these invoices. It is possible to check the status before the cron runs by clicking Fetch Peppol invoice status in the corresponding sales journal on the Accounting dashboard.

Fetch invoice Peppol status

Receive vendor bills

Once a day, a cron checks whether any new documents have been sent to you via the Peppol network. These documents are imported, and the corresponding vendor bills are created automatically as drafts.

peppol receive bills

If you want to retrieve incoming Peppol documents before the cron runs, you can do so from the Accounting dashboard on the main Peppol purchase journal that you set up in the settings. Just click Fetch from Peppol.

Fetch bills from Peppol