Greenbarfor Sage 100
Guides / Connect Sage 100 to other apps

Query Sage 100 from Excel with Power Query

Pull live Sage 100 customers, open invoices and stock into Excel with Power Query, no ODBC driver or DSN needed, and refresh with one click.

For: IT & report buildersUpdated 2026-12-042 min read

"Query Sage 100 from Excel" is one of the most common Sage searches, and the classic answer is the ODBC driver with Microsoft Query. That still works, but it ties every spreadsheet to a driver, a DSN and the right bitness on each person's PC. Power Query, built into Excel since 2016, can read the same data from a web address instead.

What you need

Option A: the From Web dialog (no code)

  1. Data → Get Data → From Other Sources → From Web.
  2. Choose Advanced.
  3. URL parts: https://api.greenbar.octor.top/v1/companies/ABC/customers?balance_gt=0&format=csv
  4. HTTP request header: name Authorization, value Bearer sk_test_demo.
  5. Click OK, then Load. Excel creates a table of every customer with an open balance.

To refresh, click Data → Refresh All. To refresh on open, right-click the query, choose Properties, and tick "Refresh data when opening the file".

Option B: paste a query (more control)

Data → Get Data → From Other Sources → Blank Query, then Advanced Editor:

text
let
    Source = Json.Document(Web.Contents("https://api.greenbar.octor.top",
        [RelativePath = "v1/companies/ABC/invoices/open",
         Query = [limit = "100"],
         Headers = [Authorization = "Bearer sk_test_demo"]])),
    Invoices = Table.FromRecords(Source[data]),
    Typed = Table.TransformColumnTypes(Invoices, {
        {"invoice_date", type date}, {"due_date", type date},
        {"balance", Currency.Type}, {"days_overdue", Int64.Type}}),
    Sorted = Table.Sort(Typed, {{"days_overdue", Order.Descending}})
in
    Sorted

Useful sheets to build

SheetEndpointWhat finance does with it
Open AR by customer/customers?balance_gt=0Credit review, pivot by salesperson
Overdue invoices/invoices/open?overdue_days_gt=30Collections call list
Aging summary/ar-agingWeekly AR report
Low stock/items?below_reorder=truePurchasing list
Open orders/sales-orders?status=openBacklog review

Raw Sage field names

Accountants who know Sage reports may prefer the original field names. Add fields=raw and columns come back as ARDivisionNo, CustomerNo, CustomerName, CurrentBalance, matching what they see in Sage and in Crystal Reports.

Compared with Microsoft Query and ODBC

Microsoft Query + ODBCPower Query + web source
Setup per PCDriver, DSN, matching bitnessNone
Works on a MacNoYes, in recent Excel for Mac builds
Works outside the office networkOnly with VPNYes
Write SQLYesNo, filter with URL parameters

Things to watch

Next: Power BI without the ODBC driver.

Try it against the sandboxOpen the playground →
curl "https://api.greenbar.octor.top/v1/companies/ABC/customers?balance_gt=0&format=csv" \
  -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