Boomi

Automating the Research Fund Collection

  • Chirag Kumar DeoChirag Kumar Deo
  • 26 Jul 2026
Tools & systems
  • Boomi
  • NetSuite

A Boomi integration that picks up CSV files from an SFTP server and keeps NetSuite purchase orders, bill payments and reversals in step with research funding.

Research organisations live with an unusual kind of money. Funds are committed, paid out, sometimes returned, and each of those events needs to be visible in the books as soon as possible — because budgets, grant reports and audits all depend on it. In this project the source of truth was a set of CSV files delivered to an SFTP server, and the destination was NetSuite. The job of the integration was to turn that file feed into the right NetSuite documents at the right time, without anyone re-keying a line.

The challenge

Research funding arrives, gets paid out and is sometimes returned, and each of those events has to be reflected in the ERP. When the information arrives as flat files, someone usually re-keys it into NetSuite, which delays the books and invites mistakes.

What makes this harder than a simple import is that one file feed describes a lifecycle, not just a list of records. The same purchase order can appear in several files over time — first when it is raised, later when the funds are received, and occasionally again when the money is returned. A naive import would create a new purchase order every time the row appeared. The integration had to recognise each order, decide what had changed, and post the matching accounting document: a new or updated order, a payment, or a reversal.

How it works

  1. Secure file pickup. The process connects to the SFTP server using SSH authentication and collects the CSV flat files.
  2. Create or update purchase orders. Each row creates a Purchase Order in NetSuite. If the same PO appears in a later file, the existing PO is updated instead of creating a duplicate.
  3. Pay when funds arrive. When a file marks a fund as received (the paid flag), the matching bill is paid in NetSuite as a Vendor Bill Payment.
  4. Reverse when funds are returned. If a fund is returned, the vendor payment is reversed by creating a NetSuite Reverse Journal Entry.

Design decisions

Create-or-update instead of create

The most important decision was to treat every row as “make NetSuite match this”, not “insert this”. If a purchase order already exists, it is updated; if not, it is created. That one choice makes the integration safe to re-run: a file processed twice, or a row repeated in a later file, never produces a duplicate purchase order. It is the same principle I describe in Get started with Boomi — making integrations idempotent removes a whole category of problems.

Let the data drive the accounting document

Rather than separate feeds for orders, payments and reversals, the integration reads the status in each row and posts the document that matches it. When the paid flag shows funds have arrived, the matching bill is paid with a Vendor Bill Payment. When funds are returned, the payment is undone with a Reverse Journal Entry — the accounting way of correcting a transaction, which keeps the original entry and its reversal visible for audit instead of editing history.

Secure transfer from the start

The files are collected over SFTP with SSH key authentication rather than a password. Keys can’t be guessed or phished, and the partner can revoke access for one client without affecting any other. The setup is explained step by step in Connect SFTP in Boomi with an SSH key and Generate an SSH key.

Highlights

  • Create-or-update logic prevents duplicate purchase orders.
  • The full lifecycle (order, payment, reversal) is driven by one file feed.
  • SSH-authenticated SFTP for secure transfer.

Things that matter in an integration like this

If you are planning something similar — a file feed that drives several kinds of financial document — these are the questions worth settling early:

  • What identifies a record across files? A stable reference (here, the purchase order) is what makes create-or-update possible.
  • Which column decides the action? Agree with the file’s owner exactly which values mean “new”, “paid” and “returned”, and what should happen with anything else.
  • What happens to a file after it is read? Archiving processed files keeps an audit trail and makes reprocessing easy — see Connect SFTP with password authentication for the options.
  • Who reads the errors? Finance teams fix data problems fastest when the message names the file, the row and the reason.

The result

Finance sees purchase orders, payments and reversals in NetSuite as soon as the files arrive, without manual entry.

At a glance

Built withBoomi
SystemsSFTP → NetSuite
ConnectionSSH-authenticated SFTP
DataCSV flat files
NetSuite recordsPurchase Orders, Vendor Bill Payments, Reverse Journal Entries

Related reading

Have funding, payments or other financial events arriving as files? Tell me about your setup.