Greenbarfor Sage 100
Guides / Integration options & the API

Sage 100 BOI vs ODBC vs REST API

A side-by-side comparison of the Sage 100 Business Object Interface, the ODBC driver and a hosted REST API, with the questions that decide which one you need.

For: DevelopersUpdated 2026-12-043 min read

Developers new to Sage 100 usually ask the same thing on the community forums: should I use BOI or ODBC? The honest reply from experienced consultants is "it depends on whether you need to write". This page lays out the differences so you can decide in a few minutes.

The comparison

BOIODBCHosted REST API
What it isCOM objects that run Sage business logicA SQL driver over Sage tablesHTTPS endpoints in front of a connector
Where your code runsOn a Windows machine with Sage installedAny Windows machine with the driver and a DSNAnywhere
Read dataYesYesYes
Write dataYes, validated like the Sage screensNo on Standard and AdvancedDepends on the provider
LanguageVBScript, VBA, .NET, any COM clientSQL from any ODBC clientAny HTTP client
Learning curveSteep: sessions, tasks, $ field namesLow if you know SQLLow
NetworkLocal to the Sage serverLocal network or VPNOutbound only from the customer
Licence impactA BOI session uses a Sage userNone beyond the driverUsually a connector seat

When BOI is the right choice

Use BOI when you must create or change Sage records and you want the same checks a user gets on screen: credit limits, tax calculation, pricing, required fields. Writing straight to the database, even on Premium where it is SQL Server, skips those rules and can leave totals out of balance.

A minimal BOI flow in VBScript:

vbscript
Set oScript = CreateObject("ProvideX.Script")
oScript.Init("C:\Sage\Sage 100\MAS90\Home")
Set oSS = oScript.NewObject("SY_Session")
oSS.nSetUser "integration", "secret"
oSS.nSetCompany "ABC"
oSS.nSetDate "A/R", "20261204"
oSS.nSetModule "A/R"
oSS.nSetProgram oSS.nLookupTask("AR_Customer_ui")
Set oCust = oScript.NewObject("AR_Customer_bus", oSS)
oCust.nSetKeyValue "ARDivisionNo$", "01"
oCust.nSetKeyValue "CustomerNo$", "NEWCO"
oCust.nSetKey
oCust.nSetValue "CustomerName$", "New Customer LLC"
If oCust.nWrite = 0 Then WScript.Echo oCust.sLastErrorMsg

When ODBC is the right choice

Use ODBC when you only read: reports, a Power BI model, an export to a warehouse. You get plain SQL against tables like AR_Customer, AR_OpenInvoice and CI_Item. Expect two limits: no writes on Standard and Advanced, and slow joins on large tables because the driver reads ProvideX files.

sql
SELECT ARDivisionNo, CustomerNo, CustomerName, CurrentBalance
FROM AR_Customer
WHERE CurrentBalance > 0

When a hosted REST API is the right choice

Use a hosted API when your code runs in the cloud and you have several Sage 100 customers. The cost of BOI and ODBC is not the first integration; it is the tenth, when each customer runs a different Sage version on a different server and every upgrade breaks something on a Friday. A REST layer moves that work into one place.

python
import requests
r = requests.get(
    "https://api.greenbar.octor.top/v1/companies/ABC/customers/01-NORTHFLD",
    headers={"Authorization": "Bearer sk_test_demo"},
)
print(r.json()["balance"])

Three questions that decide it

  1. Do you need to write to Sage? If no, ODBC or a read API. If yes, BOI or an API that wraps it.
  2. Where does your code run? On the customer's network: BOI or ODBC are fine. In the cloud: you need something that crosses the firewall.
  3. How many Sage customers will you support? One: build it yourself. Ten or more: the per-customer maintenance is what you are really choosing.

Read next: Does Sage 100 have a REST API? and the BOI guide.

Try it against the sandboxOpen the playground →
curl "https://api.greenbar.octor.top/v1/companies/ABC/customers/01-NORTHFLD?fields=raw" \
  -H "Authorization: Bearer sk_test_demo"

A REST API for Sage 100, self-serve

One HTTPS endpoint and a typed SDK instead of BOI scripts and ODBC DSNs on every customer's server. Read access is free during the beta.

Join the waitlist