EDIFACT EDI Integration
EDIFACT EDI for Odoo 19 - Customer and Supplier Side
What it does
Exchange UN/EDIFACT ORDERS, ORDRSP, DESADV and INVOIC with your retail customers and your suppliers: incoming orders become sales orders, deliveries and invoices go out by themselves, purchase orders go out and the supplier answers, despatch advices and invoices come back into Odoo - through FTP, FTPS or a local folder.
EDI (electronic data interchange) replaces orders, delivery notes and invoices on paper or PDF by structured files that the systems of both companies read. EDIFACT is the UN standard used by retail and industry in Europe.
This module builds and reads EDIFACT interchanges (UNA, UNB, UNH ... UNT, UNZ) for the four messages of the order-to-cash and purchase-to-pay flows.
Files are written to and read from the FTP server or folder of your EDI provider by a scheduled action; every message is kept with its raw file, its status and the Odoo document it created.
Who it is for
- Manufacturers supplying retail chains by EDI. A retailer sends purchase orders as EDIFACT ORDERS files and expects ORDRSP, DESADV and INVOIC back. Orders arrive as sales orders, and the answers go out when you confirm the order, validate the delivery and post the invoice.
- Distributors buying from EDI-enabled suppliers. Confirming a purchase order sends it as ORDERS. The supplier's order response updates the PO, their despatch advice is applied to the receipt, and their INVOIC becomes a vendor bill.
- Companies whose EDI provider hands over an FTP inbox. Many VANs and EDI providers give you an FTP or FTPS account or a synchronised folder. The module fetches and sends files there every 15 minutes, and each message is kept in the log with its raw file.
- Teams fixing a partner's odd implementation guide. Each trading partner has its own profile with syntax level, directory version, decimal mark, price decimals and which segments are sent, so one partner's quirks don't affect the others.
Features
Setting it up
- Install the module. It needs Sales, Purchase, Inventory and Invoicing and adds an EDI app to the main menu.
- Open your company's contact and fill in EDI ID (GLN) with your 13-digit GLN, then do the same on each trading partner's contact.
- Go to EDI > Configuration > File Exchanges, create an exchange with FTP, FTPS or local folders, enter the host and login, and set the inbox and outbox folders.
- Press Test Connection on the exchange.
- Create a profile per trading partner under EDI > Configuration > Partner Profiles: pick the partner, the file exchange, the partner EDI ID, whether they are a customer or a supplier, and the version and segment options from their implementation guide.
- Set EDI Unit Code on your units of measure (PCE, KGM, LTR and so on) and make sure products carry their barcode or supplier article number.
- Tick Test Interchanges for the first exchanges with a new partner, press Send and Fetch Now, and check the result under EDI > Messages.
EDIFACT EDI Integration: questions
Does it support SFTP or AS2?
No. It uses FTP and FTPS from the Python standard library, or local folders on the Odoo server. SFTP would need the paramiko library and AS2 needs certificates and an HTTP endpoint, so use your provider or a folder sync to bridge them.
Which EDIFACT messages and versions are covered?
ORDERS, ORDRSP, DESADV and INVOIC, in both directions, laid out as in D96A as used by EANCOM. The directory in UNH can be set to D96A, D97A or D01B per partner. ORDCHG, RECADV, REMADV, PRICAT and INVRPT are not included.
How are products on an incoming order matched?
First by the GTIN barcode in LIN, then by the supplier article number from the vendor pricelist, then by internal reference. You can choose per partner whether to send GTINs in LIN or article numbers in PIA only.
What happens when a file can't be read?
The message stays in EDI > Messages with the error and the raw file, which you can download. After fixing the cause, for example a missing product or GLN, press Reprocess.
Do I need an EDI provider?
Not if your partner can drop and pick up files on an FTP or FTPS server. Otherwise use the FTP account or folders your provider gives you.
Does it need Enterprise or extra Python libraries?
No. It runs on Community and Enterprise and needs no external library. Exchanges and profiles belong to a company, so each company can trade with its own partners.
Related apps

Direct Print
Click Print - the paper comes out of the printer
Accounting & finance
Dynamic Financial Reports
Every financial report Odoo Community is missing, on screen, in PDF and in Excel
Accounting & finance
EU Intrastat Declaration
EU Intrastat Declaration for Odoo 19: Arrivals and Dispatches from Your Invoices
Accounting & finance
EU Margin VAT Scheme
Sell second-hand goods, used cars, works of art, collectors' items and antiques under the margin scheme. Odoo keeps the purchase price of every serial number or lot, computes the VAT on the margin only, prints an invoice with no VAT amount and the legal wording for Germany (Differenzbesteuerung, section 25a UStG), France (TVA sur marge, article 297 A CGI) or the EU directive, books the margin VAT to the right tax grids and gives you the margin VAT register for your return.
Accounting & finance