Query the Sage Accounting API using regular SQL

You're a developer. You're perfectly capable of connecting to the Sage Accounting API and pulling down data. But why waste your time building an API integration when your skills and time are better spent elsewhere?

API integrations are hard to build and maintain. But with SyncHub, you can query your data source using a language you know and love - SQL.

How SYNCHUB works

Get your Sage Accounting data into your favourite reporting tool in just two minutes and three easy steps.

1 2 3 Connect Sage Accounting to SyncHub

Securely connect your cloud software to SyncHub using their recommended best practice (e.g. OAuth2 or secure tokens).

1 2 3 We sync your data automatically

SyncHub incrementally syncs your data and stages it in a managed data warehouse (yours, or we'll provide one for free). We check for changes so you don't have to.

1 2 3 Build your customized reports

Query and share your data using our built-in Insights platform, integrate with your artificial intelligence platforms or use reporting tools like Excel, Tableau or Power BI.

No ODBC driver required

SyncHub runs in the cloud, 24×7. There are no ODBC drivers to install or maintain, and no local computer required to cache your results. Just securely connect SyncHub to your Sage Accounting account and you can be querying your data in just a couple of minutes.

Bring your own database, or we'll provide one for you

All our plans include your very own, dedicated SQL Azure database, letting you plug-n-play and immediately start downloading your data.

But if you have your own data warehouse already, compliance issues or just need more power, just bring-your-own-database. We support Redshift, Postgres, SQL Server/Azure, BigQuery and Snowflake.

Real-time data*

Make a change in Sage Accounting and query it via SQL within minutes. Our feed is so quick, you'll think you're querying Sage Accounting directly!

Your data is secure

Your Sage Accounting data is stored using best-practice security protocols. But if you're still concerned, no worries - just use our BYOD (Bring Your Own Database) option when setting up your account.

Frequently asked questions

Not directly, no. But SyncHub's ERD model, combined with the real-time* sync from Sage Accounting, means that it is essentially the same as querying directly.
No. Our solution is cloud-hosted, meaning no installs are required on your own computers. Furthermore, because it is cloud-hosted, SyncHub runs in the background 24-7, keeping your data up to date while you sleep.
If your SQL skills are a little rusty, we've got you covered too. Our AI Assistant lets you speak with your Sage Accounting data in natural language - no SQL or BI skills required! Read more about our AI here.
SyncHub can poll Sage Accounting as frequently as every five minutes, however this capability may be limited by the amount of data you have and/or the type of plan you have with Sage Accounting. The best way to find out is to simply grab a free trial of SyncHub, connect Sage Accounting, then see for yourself.
No. SyncHub is a read-only tool and cannot reflect changes back to your cloud applications.
We currently sync Address, Address region, Address type, Attachment, Bank account, Bank account type, Bank deposit, Bank opening balance, Bank reconciliation, Bank transfer, Chart of accounts, Chart of accounts template, Contact, Contact allocation, Contact opening balance, Contact payment, Contact person, Country, Currency, Journal, Ledger account, Ledger account opening balance, Ledger account type, Ledger entry, Other payment, Payment method, Product, Product sales price type, Product stock item, Purchase credit note, Purchase invoice, Sales credit note, Sales estimate, Sales invoice, Sales quote, Service, Service rate type, Stock movement, Tax rate, Transaction, Transaction type, Contact type, Contact allocation artefact, Contact payment allocated artefact, Contact person type, Journal line, Other payment line, Product sales price, Purchase credit note line, Purchase credit note payment allocation, Purchase invoice line, Purchase invoice payment allocation, Sales credit note line, Sales credit note payment allocation, Sales estimate profit line breakdown, Sales estimate line, Sales invoice line, Sales invoice payment allocation, Sales quote profit line breakdown, Sales quote line, Service sale rate and Tax rate percentage (see our Data Model for full details). If there's something else you need just ask.
Your Sage Accounting data is stored in its own dedicated data warehouse, hosted in our Microsoft Azure Sydney Data Center. If you'd like it stored somewhere else (even your own servers), just enquire about our BYOD (bring-your-own-database) option.
Absolutely. Every customer gets their very own isolated data warehouse. Database credentials are salt-encrypted...multi-factor authentication can be activated for your account...we take security very seriously. You can read more about our security best practices here.

Example queries

Check out these example queries for some inspiration

  • select trp.ToDate, trp.FromDate, tr.DisplayedAs, tr.UpdatedAt from [sageaccounting].TaxRatePercentage trp left join [sageaccounting].TaxRate tr on trp.TaxRateRemoteID = tr.RemoteID
  • select ssr.DisplayedAs, ssr.UpdatedAt, s.DisplayedAs, s.UpdatedAt from [sageaccounting].ServiceSaleRate ssr left join [sageaccounting].Service s on ssr.ServiceRemoteID = s.RemoteID
  • select sql.DisplayedAs, sql.TaxRateID, sq.DisplayedAs, sq.UpdatedAt from [sageaccounting].SalesQuoteLine sql left join [sageaccounting].SalesQuote sq on sql.SalesQuoteRemoteID = sq.RemoteID
  • select top 11 DisplayedAs, UpdatedAt, CreatedAt, CountryGroupID, AddressTypeID, ContactID from [sageaccounting].Address order by DisplayedAs
  • select top 11 DisplayedAs, Code, Name, ID, WhenModified, WhenCreated from [sageaccounting].AddressRegion order by DisplayedAs
  • select top 11 DisplayedAs, ID, WhenModified, WhenCreated, IsDeleted, WhenUpsertedIntoDataStore from [sageaccounting].AddressType order by DisplayedAs
* Realtime

SyncHub's engine polls for changes every 5 minutes. However, different APIs, and different endpoints within those APIs, may impose restrictions beyond our control - thereby reducing the fidelity of your real-time feed.