OdooWiki OCA HUB

Ediversa - Invoice Export

edi_ediversa_oca_invoice_send folder_open OCA/edi-ediversa open_in_new
EDI License: AGPL-3

This module extends the base edi_ediversa_oca module to generate and send the invoices files to Ediversa.

auto_awesome What this module does

AI-generated from the code · Odoo 17.0

Automatically generates and sends customer invoices and credit notes to Ediversa in a fixed text format when they are posted, for customers marked to receive Ediversa invoices.

This module connects Odoo's invoicing to the Ediversa EDI platform. When a customer invoice or credit note is posted, Odoo checks whether the customer is flagged to receive Ediversa invoices and whether the company allows the Ediversa invoice connection. If so, it creates an exchange record and generates a text file containing the invoice data.

The generated file includes a header with invoice number, date, customer, commercial entity, company and delivery address details, plus the sales order and delivery reference when available. Each product line is exported with barcode, description, quantity, unit of measure, net price, unit price, taxes and subtotal. A summary section adds totals and a breakdown by tax.

Users can mark a customer with the 'Ediversa Send Invoice' option on the partner form, and configure each tax with an Ediversa tax type (VAT, IGIC, exempt, equivalence surcharge, alcohol taxes, green point, withholdings). The file is then sent to Ediversa and an external reference is stored; if the company does not accept the Ediversa invoice connection or no external reference is returned, an error is raised.

The module touches account.move, account.move.line, account.tax and res.partner, and adds an Ediversa invoice output exchange type.

Models and fields (5)
  • account.tax · extends an existing modelediversa_tax_type
  • res.partner · extends an existing modelediversa_send_invoice
  • ediversa.send.invoice · new model
  • ediversa.generate.invoice · new model
  • account.move.edi.ediversa.listener · new model

Text generated by AI (DeepSeek) from reading the Odoo 17.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 17.0

Confirmed on 2026-11-03 in branch 17.0 of OCA/edi-ediversa.

terminal Installation and usage

OCA documentation · Odoo 17.0

To configure this module, you need to go to Settings \> User & Companies \> Companies and edit a company. Introduce the following information:

  • Use Edi Ediversa. Activate this option to use the Ediversa services. Keep in mind that this module does nothing on its own, so it needs to be used along with other modules.
  • Edi Ediversa Test. Activate this option if you need to activate the test environment.
  • Edi Ediversa User. Ediversa account username. This information can be provided by ediversa.
  • Edi Ediversa Password. Ediversa account password. This information can be provided by ediversa.

It is required to activate the "Ediversa Send Invoices" option in those contacts whose invoices will be automatically sent to Ediversa when the invoice is validated.

Edit those taxes that might be part of the Ediversa invoices and select a value in the "Ediversa Tax Type" field.

The generation/delivery flow of the Ediversa invoices files is as follows:

  • When an invoice is validated, a job to generate the Ediversa invoice file is created.
  • The scheduled action "EDI exchange check output sync" sends the invoice file to Ediversa.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.