SWIFT MT101 MT103 Payment Files - Host to Host (H2H) Bank Payment File Export over SFTP
by Modvanta https://modvantaapps.tech/odoo-apps/swift-mt101/$ 64.80
Built and supported by Modvanta - modvantaapps@gmail.com
What it does
SWIFT payment files from your vendor payments, ready for your bank
Pay foreign suppliers by host-to-host banking without retyping anything. Confirm your vendor payments in Odoo as usual, then turn them into a SWIFT MT101 Request for Transfer file (many payments in one file) or into MT103 single customer credit transfers (one message per payment).
The module fills every SWIFT field from Odoo data: your funding account and address, the supplier bank account, BIC or clearing code, the payment memo and the charge bearer. Text is converted to the SWIFT character set and checked against the field lengths before the file is offered.
Files are uploaded to your bank server over SFTP, FTPS or FTP, or written to a folder your bank client watches. Bank replies (MT199 rejections and confirmations) come back into Odoo and flag each payment.
Who it is for
Built for companies that pay abroad every week
Importers and exporters Pay suppliers in EUR, USD or any currency from one bank journal. | Treasury teams Send one MT101 batch per payment run instead of keying wires in online banking. | Host-to-host banking Upload to the bank SFTP or FTPS server, or to a gateway folder. |
Key features
MT101, MT103, upload and bank replies in one module
SWIFT MT101 payment file from vendor payments
One file record per payment run: journal, execution date, charge bearer, maximum payments per file and the list of payments with their transaction reference. Generate, upload or download, mark as sent and mark as processed. The file is posted in the chatter.

The MT101 file itself
Block 1 and block 2 headers with your BIC and the bank BIC, sequence A with :20:, :28D:, the ordering customer (50H, 50G or 50F) and :30:, then one sequence B per payment with :21:, :32B:, the beneficiary bank (57A, 57C or 57D), the beneficiary (59, 59A or 59F), :70: remittance, :77B: and :71A:.

Create the file from the Payments list
Select payments in Vendors > Payments and use Actions > Create SWIFT Payment File. Choose MT101 or MT103, the execution date, the charge bearer and the split size. Payments already exported or from another journal are listed as skipped.

Bank settings per journal
A SWIFT Payments tab on each bank journal: sender BIC / BEI, bank BIC, header style, message separator, file name pattern, default charge bearer, max payments per file, one payment per MT101 message, instruction codes (23E), MT103 STP flag and UETR, ordering and beneficiary options, and the bank connection.

Bank connection with Check Connection
SFTP (with password or private key), FTPS, FTP or a local folder on the Odoo server. Upload folder, reply folder, archive folder and reply file pattern. Check Connection tells you at once whether the folder is reachable.

Export a single payment as MT103
An Export SWIFT MT103 button on the payment form creates the MT103 for that payment and, when the journal has a bank connection, uploads it. The payment shows its SWIFT status and a SWIFT Files button.

MT103 with UETR and STP flag
:23B:CRED, :32A: value date and amount, :50K: or :50F:, :57A:, :59:, :70:, :71A:. With BEN charges the module adds :33B: and :71F: as the network rules require. Block 3 carries the unique end-to-end reference {121:...} and, if you enable it, {119:STP}.

Bank rejections come back into Odoo
Import the MT199 reply file, or let the scheduled action fetch it from the bank reply folder. Rejected payments get the bank reason, a to-do activity and can be exported again; confirmed ones are marked as accepted, and the file closes when every payment has an answer.

Log details
Every connection test, generation, upload, reply fetch and import is logged with its status, file name and message, successful or failed.

How it works
Step by step
| 1 | Open your bank journal, tab SWIFT Payments: tick SWIFT Payment Files, enter your BIC / BEI and check the bank BIC. The SWIFT MT101 / MT103 payment method is added to the journal. |
| 2 | Optional: create a bank connection (SFTP, FTPS, FTP or folder) in Accounting configuration, click Check Connection and select it on the journal. |
| 3 | Give each supplier bank account its BIC (or clearing code) and mark it as trusted (Send Money), as Odoo requires for outgoing bank payments. |
| 4 | Confirm your vendor payments, select them and use Actions > Create SWIFT Payment File. Or press Export SWIFT MT103 on one payment. |
| 5 | Upload the file to the bank (or download it and upload it in online banking, then Mark as Sent). |
| 6 | Import the MT199 reply, or let the scheduled action fetch it. Rejected payments are flagged with the reason. |
Settings
What you can set
| Header style | Full FIN headers (logical terminal, priority), compact headers (BIC only) or text block only. |
| Message separator | New line, a $ line or nothing between messages in one file. |
| Max payments per file | Bigger payment runs are split over several files automatically. |
| One payment per MT101 message | For banks that accept only one sequence B per MT101. |
| Ordering customer | MT101: 50H, 50G or 50F. MT103: 50K or 50F. Optional 52A and instructing party 50L. |
| Beneficiary | 59, 59A or 59F; beneficiary bank by BIC (57A), clearing code (57C) or name (57D); intermediary bank 56A and regulatory reporting 77B per supplier bank account. |
| Charges and codes | OUR, SHA or BEN per journal, per file or per payment; up to four 23E instruction codes. |
| File name | Pattern with {type}, {ref}, {part} and {date}. |
FAQ
Questions buyers ask
Which SWIFT messages does it write?
MT101 Request for Transfer (one or many payments per message) and MT103 Single Customer Credit Transfer. It reads MT199 replies.
Do I need SWIFT membership?
No. Host-to-host files are sent to your own bank, which forwards the payments. Ask your bank for its file format guide and for your BIC or BEI; most settings above exist to match what a bank asks for.
How is the file sent to the bank?
By SFTP, FTPS or FTP to the bank server, or into a folder on the Odoo server watched by your bank software. SFTP needs the Python library paramiko on the server; FTPS, FTP and folders need nothing extra. You can also download the file and upload it yourself.
What about ISO 20022 pain.001?
This module writes SWIFT MT files. For SEPA and ISO 20022 pain.001 / pain.008 files use our separate ISO 20022 Payment Files module.
Can a rejected payment be sent again?
Yes. After the MT199 rejection is imported the payment is back in the to-export list; fix the bank details and add it to a new file.
Compatibility
Odoo 19
Odoo 19 Community and Enterprise. Depends only on Invoicing / Accounting. Works for users with the Invoicing rights. Translated into French, German and Spanish.
Send SWIFT MT101 and MT103 payment files from Odoo
One-time purchase, free updates for Odoo 19, support by email at modvantaapps@gmail.com.
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Invoicing (account) |
| Lines of code | 1889 |
| Technical Name |
mdv_swift_mt101 |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/swift-mt101/ |
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