EDIFACT EDI Integration - EDI ORDERS, ORDRSP, DESADV, INVOIC (Customer and Supplier Side)
by Modvanta https://modvantaapps.tech/odoo-apps/edi-edifact/$ 68.79

EDIFACT EDI for Odoo 19 - Customer and Supplier Side
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.
Written and supported by Modvanta - modvantaapps@gmail.com
Odoo 19 Community and EnterpriseUN/EDIFACT D96A / D97AEANCOM style GLN profilesFTP, FTPS or local folderRaw file and reprocess30 automated tests
What it does
In plain language 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. Each trading partner has a profile: its GLN, the directory, the segments it wants and which messages are exchanged automatically. 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 Suppliers of supermarkets, DIY and fashion chains that receive EDI orders and must answer with EDI. Wholesalers and manufacturers that order from suppliers by EDI. Companies replacing an expensive EDI middleware step by Odoo itself. EDI providers and integrators who deliver EDIFACT files by FTP or folders. |
Key features
Every screenshot below was taken on Odoo 19 with this module installed.
FEATURE 1
All EDI messages in one place
Incoming and outgoing messages with type, number, partner, related Odoo document, file name, error and status. Filter errors or messages waiting to be sent, group by message or partner.
ORDERS, ORDRSP, DESADV, INVOIC in both directions
Reprocess several messages at once from the list

FEATURE 2
Raw EDIFACT kept with every message
The original interchange is stored with the message and as a file attachment, together with the UNB interchange reference, the UNH message reference, sender and recipient IDs and the test flag.
Download the file again at any time
The file is also attached to the sales order, receipt or bill it created

FEATURE 3
Customer side: ORDERS become sales orders
The buyer GLN gives the customer, NAD+DP gives the delivery address (store) by its GLN, LIN/PIA give the products by barcode or reference, DTM+2 the requested delivery date, and the order number goes into the customer reference.
Prices of the order or of the pricelist
Confirm the imported orders automatically if you want
Duplicate orders are refused

FEATURE 4
Errors you can fix and reprocess
An unknown product, an order already imported, a file addressed to another company or an unknown sender stops only that message, with a clear error. Fix the product or the profile and press Reprocess.
Invalid files are kept as error messages too
One bad message never blocks the rest of the file

FEATURE 5
Partner profiles
Per trading partner: EDI ID and qualifier, directory (D96A, D97A, D01B), syntax (UNOA, UNOB, UNOC, UNOW), association code such as EAN008, test indicator, decimal mark and the segments to send (PIA article numbers, IMD descriptions, NAD names and addresses, CUX currency).
Customer side: import ORDERS, send ORDRSP, DESADV and INVOIC automatically
Supplier side: send ORDERS, apply ORDRSP, DESADV and INVOIC
GLN check digit validated

FEATURE 6
FTP, FTPS or local folders
Inbox, outbox and archive folders on an FTP or FTPS server or on the Odoo server. Files are written under a temporary name and renamed, fetched files are archived or deleted, and a scheduled action exchanges every 15 minutes.
Test Connection and Send and Fetch Now buttons
File name pattern for the inbox

FEATURE 7
DESADV and INVOIC go out by themselves
Validating a delivery of an EDI customer sends a despatch advice with the packages (SSCC in GIN+BJ), quantities and order reference; posting the invoice sends an INVOIC with line amounts, VAT summary and totals. ORDRSP answers the order on confirmation with accepted or changed lines.
Send again from the delivery, invoice or order

FEATURE 8
Supplier side: ORDERS out, ORDRSP back
Confirming a purchase order of an EDI supplier sends ORDERS with your GLNs, the supplier article numbers and your references. The supplier ORDRSP updates quantities, prices and dates of the purchase lines; a rejection creates an activity.
EDI response state on the purchase order: accepted, changed by vendor, rejected

FEATURE 9
INVOIC in: vendor bills
The supplier invoice creates a draft vendor bill linked to the purchase order lines with the quantities and prices of the file. A total that differs from the bill is flagged in the chatter; credit notes (381) become vendor refunds.
Duplicate invoice numbers are refused

FEATURE 10
DESADV in: receipts prepared
The supplier despatch advice fills the quantities of the receipt, sets the expected date and notes the despatch advice number, the SSCCs of the packages and the tracking reference.
Lines that are not on the receipt are listed

How it works
| 1 | Install Install the module on Odoo 19. |
| 2 | Your GLN Set the EDI ID (GLN) of your company on the company contact. |
| 3 | File exchange EDI -> Configuration -> File Exchanges: the FTP / FTPS server or folders of your EDI provider, then Test Connection. |
| 4 | Partner profiles EDI -> Configuration -> Partner Profiles: one per customer or supplier, with its GLN and the messages to exchange. Give delivery addresses their GLN too. |
| 5 | Run The scheduled action sends and fetches the files. Follow everything in EDI -> Messages. |
Settings
| Partner EDI ID / Qualifier | GLN with qualifier 14, or any ID with ZZZ |
| Directory / Syntax | D96A, D97A, D01B / UNOA, UNOB, UNOC, UNOW |
| Association Code | e.g. EAN008 in UNH, or empty |
| Test Interchanges | UNB test indicator |
| Product Identification | GTIN in LIN, or article numbers in PIA only |
| Segments | PIA, IMD, NAD names, CUX, decimal mark, price decimals |
| Customer side | Import ORDERS, confirm, use order prices, send ORDRSP / DESADV / INVOIC |
| Supplier side | Send ORDERS, apply ORDRSP / DESADV, create bills from INVOIC |
| File Exchange | Local, FTP or FTPS; inbox, outbox, archive, file pattern, scheduled exchange |
FAQ
Do I need an EDI provider?
No, if your partner can drop and pick up EDIFACT files on an FTP or FTPS server (yours or theirs). Many retailers and suppliers use an EDI provider or VAN; the module then works with the FTP account or folders that provider gives you.
Is SFTP or AS2 supported?
No. The module uses FTP and FTPS from the Python standard library and local folders. SFTP needs the paramiko library and AS2 needs certificates and an HTTP endpoint; a provider or a folder synchronisation can bridge them.
Which EDIFACT versions?
The messages follow the UN/EDIFACT D96A layout used by EANCOM; the directory in UNH can be set to D96A, D97A or D01B per partner. Partner specific implementation guides may need adjustments of the segment options.
How are products matched?
By barcode (GTIN in LIN), then by the supplier article number of the vendor pricelist, then by internal reference.
Which other messages exist?
ORDCHG, RECADV, REMADV, PRICAT and INVRPT are not part of this module.
Compatibility and support
Odoo 19 Community and Enterprise. Depends on Sales, Purchase, Inventory and Invoicing. No external Python library needed.
Questions, a demo or a custom change: modvantaapps@gmail.com
AUTHOR Modvanta | INCLUDED ORDERS, ORDRSP, DESADV, INVOIC both ways, profiles, FTP / FTPS / folders, message log |
Buy Now - $69Hire Us for Odoo Work
Written and supported by Modvanta - modvantaapps@gmail.com
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) • Purchase (purchase) • Inventory (stock) |
| Lines of code | 2024 |
| Technical Name |
mdv_edi_edifact |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/edi-edifact/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module