Skip to Content

e-Health Transfer Orders in Odoo: From SFTP File to Confirmed Sale Order Without Retyping

Order files appear on an SFTP server. A few minutes later they are sale orders in Odoo, with the right customer, the right delivery address and the right cold chain handling.
September 22, 2026 by
HADRON FOR BUSINESS SP Z O O, Tomasz Leppich
| No comments yet

A quiet productivity killer runs in many pharmaceutical order departments: the order file. A customer or an ordering platform drops a perfectly structured XML file on an FTP server, then a person downloads it, opens it and retypes it into the ERP. Every day. With all the risk of typos that comes with it.

We built an Odoo module that removes the human bridge entirely. It is called e-Health Transfer Integration and it has been doing this work in production since 2020.

What the module does

The module connects Odoo to the secure file exchange points where your transfer orders land, and turns every file into a real sale order. Under the hood it:

  • Monitors one or more FTP or SFTP accounts on a set schedule, each with its own host, directory, file pattern and credentials.
  • Authenticates the modern way: with a password if needed, or with a private SSH key (RSA or Ed25519, with an optional key passphrase) if the partner requires it. Key based SFTP is now standard practice among serious logistics and healthcare partners.
  • Downloads every XML file, stores the original as an attachment in Odoo, and removes it from the server only after a successful import. Nothing gets lost, nothing gets imported twice.
  • Parses the order: number, date, buyer and delivery address (matched through a dedicated e-Health reference field on the partner record), notes and all order lines.
  • Matches products first by EAN code, then by product number, so a single stream can mix coding systems without anything breaking.
  • Creates a sale order with the customer reference, payment terms and delivery address, ready for the normal flow in Odoo.

Built for pharmaceutical logistics, not an online shop

Two details show it was built for pharma, not adapted from an e-commerce connector.

First, temperature. Products carry a storage temperature classification, and that classification decides the default shipping method and warehouse for each order line. Cold chain products are handled as cold chain from the second the order enters Odoo.

Second, honest error handling. If the buyer cannot be matched, the order is skipped and logged loudly, because guessing the customer in pharma is not an option. If a product cannot be matched, the order is still created and the problem lines are flagged, because one unknown item should not block nineteen correct ones. Every file gets a status: processed, partially processed or error, with the reasons written into the record's log.

What this replaces

Without an integration like this, taking in orders means downloading files, retyping lines, checking codes by hand and hoping nobody transposes a digit in a quantity. With it, the team opens Odoo in the morning and the orders are already there. What is left is handling the exceptions the module has already flagged.

FAQ

What kind of orders can it process?

XML transfer orders delivered as files over FTP or SFTP. We match the parsing logic (partners, product identification, quantities) to the format your partner sends.

How are products identified?

First by EAN code, then by product number. Both can appear in the same stream.

What happens when something in the file is wrong?

An unknown customer stops the order and goes into the logs. An unknown product flags the order for review but does not block the correct lines. Every imported file keeps the original attachment and a status trail in Odoo.

Is there support for SSH keys?

Yes. Each connection can use a password or a private key (RSA and Ed25519, with an optional key passphrase).

Which Odoo version does this run on?

Currently on Odoo 18. The module has been in production since 2020 and has been carried through successive Odoo upgrades.

Let's talk

If order files still travel to your ERP through human hands, that is an integration waiting to be built. We design, build and maintain connections like this for pharmaceutical supply chains on Odoo.

Tell us about your order stream

HADRON FOR BUSINESS SP Z O O, Tomasz Leppich September 22, 2026
Share this post
Tags
Archive
Sign in to leave a comment
IBOTP Integration for Odoo: Let Belgian Pharmacies Order Straight From Their Pharmacy Software
A pharmacy types an order in its own software. Seconds later it is a sale order in Odoo, with an availability answer already on its way back.